Bristol-Myers Squibb
20+ Bank of America Interview Questions and Answers
Q1. What are the different types of joins in database management? Can a primary key column contain null values? Can a unique key column contain null values? How many null values can be present in a unique key colum...
read moreDifferent types of joins in database management, null values in primary and unique key columns, and right join in SQL.
Types of joins: inner join, outer join (left, right, full), cross join, self join
Primary key column cannot contain null values
Unique key column can contain null values, but only one null value is allowed
Right join in SQL: returns all rows from the right table and the matched rows from the left table
Q2. How would you approach the situation if the supplier shared a competitive price classified as H1, while comparing it to the L1 and L2 suppliers, in order to persuade your manager?
I would conduct a thorough analysis of the supplier's offer and present a detailed comparison with the L1 and L2 suppliers to persuade my manager.
Conduct a detailed cost analysis of the H1 supplier's offer, including all relevant factors such as quality, delivery time, and terms of payment.
Prepare a comprehensive comparison chart showcasing the strengths and weaknesses of the H1 supplier in relation to the L1 and L2 suppliers.
Highlight any potential cost savings or added valu...read more
Q3. How do you solicit multiple quotes, and what criteria do you use to evaluate which supplier is the best fit?
Soliciting multiple quotes involves reaching out to various suppliers and evaluating them based on criteria like price, quality, lead time, and reliability.
Reach out to a variety of suppliers to request quotes for the same product or service.
Consider criteria such as price, quality, lead time, reliability, and supplier reputation.
Evaluate the quotes based on the criteria and choose the supplier that best fits the needs of the project or organization.
Negotiate with the selecte...read more
Q4. How would you persuade your manager to proceed with a specified supplier when suppliers are sharing their proposals?
I would highlight the benefits and advantages of the specified supplier's proposal compared to others.
Emphasize the unique value proposition of the specified supplier's proposal
Highlight any cost savings or efficiencies that can be gained by choosing this supplier
Provide evidence of the supplier's track record of delivering high-quality products or services
Address any concerns or objections raised by the manager and offer solutions or alternatives
Q5. What visualization would you create to display continuous sales data from January 2021 to December 2024?
A line chart showing continuous sales data from January 2021 to December 2024.
Use a line chart to display the trend of sales over time
Include a time axis with months from January 2021 to December 2024
Label the axes clearly and provide a legend if necessary
Q6. Can you provide an example of integrating R with JavaScript?
Yes, R can be integrated with JavaScript using the 'shiny' package to create interactive web applications.
Use the 'shiny' package in R to create interactive web applications
Use the 'htmlwidgets' package to embed interactive R visualizations in web pages
Utilize the 'r2d3' package to create D3 visualizations in R and embed them in web applications
Q7. Which modules do you use in R to import Javascript?
The 'V8' package in R is used to import and execute JavaScript code.
Use the 'V8' package in R to import and execute JavaScript code.
Install the 'V8' package using install.packages('V8').
Load the 'V8' package using library(V8).
Use the v8() function to create a new V8 context and execute JavaScript code.
Q8. What is the sales comparison between last year and the current year, including any relevant filters?
Sales comparison between last year and current year with relevant filters
Calculate total sales for last year and current year
Apply any relevant filters such as product category or region
Compare sales figures to identify trends or changes
Visualize the comparison using charts or graphs for better understanding
Q9. Write DAX to calculate a three-month running total, such as averaging the values from November, December, and January? Then write the same in excel.
Calculate a three-month running total using DAX and Excel
In DAX, use the CALCULATE function with a FILTER for the three-month period
In Excel, use a combination of SUM and OFFSET functions to calculate the running total
For example, in DAX: CALCULATE(SUM([Value]), FILTER(ALL('Date'[Month]), 'Date'[Month] >= 'November' && 'Date'[Month] <= 'January'))
For Excel: =SUM(OFFSET($A$2, MAX(ROW($A$2:$A$10)-2, 1), 0, 3, 1))
Q10. Brain teasers: after how many steps would a man fall into a pit who moves 2 step forward and 1 step backwards
The man will fall into the pit after 3 steps.
The man moves 2 steps forward and 1 step backward in each cycle.
After the first cycle, the man will be 1 step ahead.
After the second cycle, the man will be 2 steps ahead and fall into the pit on the third cycle.
Q11. concat 3 columns and handle when null: select concat(a, b, c) from table
Concatenate 3 columns and handle null values in SQL query
Use CONCAT_WS function to concatenate columns and handle null values
Provide a separator as the first argument in CONCAT_WS function
Use IFNULL function to replace null values with a specified value
Q12. What metrics you used to test the models deployed
I use metrics such as accuracy, precision, recall, F1 score, ROC-AUC, and confusion matrix to test the models deployed.
Accuracy: measures the overall correctness of the model
Precision: measures the proportion of true positive predictions among all positive predictions
Recall: measures the proportion of true positive predictions among all actual positives
F1 score: balances precision and recall
ROC-AUC: measures the area under the receiver operating characteristic curve
Confusion ...read more
Q13. Comparsion last year sales for budget with the forecast and Sales comparison between Budget and forecast. And create a visualization.
Compare last year sales for budget with the forecast and visualize the sales comparison between budget and forecast.
Calculate the difference between last year sales, budget, and forecast.
Create a bar chart showing the comparison of last year sales, budget, and forecast.
Highlight any significant deviations between budget and forecast.
Provide a narrative explaining the reasons for any discrepancies.
Q14. How well versed are you with JavaScript?
I have a basic understanding of JavaScript and can work with it to some extent.
Familiar with basic JavaScript syntax and concepts
Able to manipulate DOM elements using JavaScript
Have experience working with JavaScript libraries like jQuery
Q15. Can u synthesis this target molecule in different route.
Yes, the target molecule can be synthesized using different routes.
One possible route is through a series of chemical reactions starting from readily available starting materials.
Another route could involve using a different catalyst or reagent to achieve the desired transformation.
Alternatively, a multi-step synthesis approach can be employed to access the target molecule.
Different protecting groups or functional group transformations can also be explored to arrive at the ta...read more
Q16. Case 1 What is the region or country with the highest sales. Create a visualization.
The region with the highest sales is North America.
Check sales data for each region or country
Look for the region or country with the highest total sales
Create a bar chart or pie chart to visualize the data
Q17. SQL 1. Third highest salary of an employee. 2. Cumulative sales.
To find the third highest salary of an employee and calculate cumulative sales using SQL.
To find the third highest salary of an employee, you can use the following SQL query: SELECT DISTINCT Salary FROM Employees ORDER BY Salary DESC LIMIT 2, 1
To calculate cumulative sales, you can use the following SQL query: SELECT SUM(Sales) FROM SalesData
Q18. How to rename a column in pyspark
To rename a column in PySpark, use the 'withColumnRenamed' method.
Use the 'withColumnRenamed' method on the DataFrame
Specify the current column name and the new column name as arguments
Assign the result to a new DataFrame to store the renamed column
Q19. Difference between multiprocessing and multithreading
Multiprocessing involves executing multiple processes simultaneously, while multithreading involves executing multiple threads within a single process.
Multiprocessing utilizes multiple CPUs or cores to execute multiple processes concurrently.
Multithreading involves creating multiple threads within a single process to execute tasks concurrently.
Processes in multiprocessing have separate memory spaces, while threads in multithreading share the same memory space.
Multiprocessing ...read more
Q20. Find distinct without distinct keyword in SQL
Use GROUP BY to find distinct values in SQL without using the DISTINCT keyword.
Use GROUP BY clause with all columns in the SELECT statement
This will group the rows with the same values together, effectively giving distinct values
Q21. Make an application using react
Create a React application for a specific purpose or functionality.
Use create-react-app to set up a new React project
Design components using JSX syntax
Manage state and props to pass data between components
Utilize React Router for navigation between different pages
Fetch data from an API using Axios or Fetch for dynamic content
Q22. How Javascript works
JavaScript is a scripting language that allows for dynamic content and interactivity on websites.
JavaScript is a client-side scripting language used for web development.
It can be embedded directly into HTML pages.
JavaScript code is executed by the browser on the client side.
It can manipulate the DOM, handle events, and interact with server-side scripts.
Commonly used frameworks/libraries include React, Angular, and Vue.
Top HR Questions asked in Bank of America
Interview Process at Bank of America
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month