Add office photos
Bank of America logo
Employer?
Claim Account for FREE

Bank of America

4.2
based on 3k Reviews
Video summary
Filter interviews by
Software Engineer
Fresher
Clear (1)

Bank of America Software Engineer Interview Questions and Answers

Updated 28 Nov 2024

Q1. Write a program that converts the alternate letters of a sentence into uppercase, whitespace excluded

Ans.

Program to convert alternate letters of a sentence to uppercase, excluding whitespace

  • Iterate through each character of the sentence

  • Check if the character is a letter and if its index is odd

  • Convert the letter to uppercase if conditions are met

Add your answer
right arrow

Q2. Write a program to print the top five students in a classroom, including edge cases

Ans.

Program to print top five students in a classroom, handling edge cases

  • Create a list of students with their grades

  • Sort the list in descending order based on grades

  • Print the top five students, handling cases where there are less than five students or ties in grades

Add your answer
right arrow
Bank of America Software Engineer Interview Questions and Answers for Freshers
illustration image

Q3. Explain your approach to solving balanced parenthesis program

Ans.

I approach solving balanced parenthesis program by using a stack data structure.

  • Use a stack to keep track of opening parentheses

  • Iterate through the input string and push opening parentheses onto the stack

  • When a closing parenthesis is encountered, pop from the stack and check if it matches the closing parenthesis

  • If stack is empty at the end and all parentheses are matched, the string is balanced

Add your answer
right arrow

Q4. Different ways to create a table in python

Ans.

Different ways to create a table in Python include using pandas, sqlite3, and SQLAlchemy libraries.

  • Using pandas library to create a table from a dictionary or list of lists

  • Using sqlite3 library to create a table in a SQLite database

  • Using SQLAlchemy library to create a table in a SQL database

Add your answer
right arrow
Discover Bank of America interview dos and don'ts from real experiences

Q5. Program to check if the given string is palindrome

Ans.

A program to check if a given string is a palindrome.

  • Create a function that takes a string as input.

  • Reverse the string and compare it with the original string.

  • If they are the same, then the string is a palindrome.

  • Example: 'racecar' is a palindrome.

  • Example: 'hello' is not a palindrome.

Add your answer
right arrow

Q6. Program to return Fibonacci series

Ans.

A program to return Fibonacci series using recursion or iteration

  • Use recursion to generate Fibonacci series

  • Use iteration to generate Fibonacci series

  • Handle edge cases like negative input or input of 0 or 1

  • Example: Fibonacci series up to 10 - 0, 1, 1, 2, 3, 5, 8, 13, 21, 34

Add your answer
right arrow

Q7. difference between sql and nosql

Ans.

SQL is a relational database management system, while NoSQL is a non-relational database management system.

  • SQL databases are table-based, with a predefined schema, while NoSQL databases are document-based, key-value pairs, graph databases, or wide-column stores.

  • SQL databases are good for complex queries and transactions, while NoSQL databases are better for large amounts of data and scalability.

  • Examples of SQL databases include MySQL, Oracle, and PostgreSQL, while examples of...read more

Add your answer
right arrow

Q8. custom policies in Mule

Ans.

Custom policies in Mule allow for creating reusable components to apply specific logic to API requests and responses.

  • Custom policies can be created using Java or XML in Anypoint Studio.

  • They can be applied to API endpoints to enforce security, logging, or transformation logic.

  • Examples include rate limiting policies, custom authentication, and data encryption policies.

Add your answer
right arrow

Q9. Dataweave program

Ans.

Dataweave is a powerful language used in MuleSoft for data transformation.

  • Dataweave is used in MuleSoft for transforming data from one format to another.

  • It uses a simple and powerful syntax for data manipulation.

  • Dataweave can handle complex data structures and transformations easily.

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Bank of America Software Engineer

based on 15 interviews
3 Interview rounds
Technical Round - 1
Technical Round - 2
Technical Round - 3
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Qualcomm Logo
3.8
 • 45 Interview Questions
Apexon Logo
3.3
 • 10 Interview Questions
View all
Recently Viewed
INTERVIEWS
Bank of America
5.6k top interview questions
INTERVIEWS
RineX
No Interviews
INTERVIEWS
Agumentik Software
No Interviews
INTERVIEWS
Bank of America
No Interviews
INTERVIEWS
Bank of America
No Interviews
INTERVIEWS
Agumentik Software
No Interviews
INTERVIEWS
Quantiphi Analytics Solutions Private Limited
No Interviews
INTERVIEWS
Sanmar Group
No Interviews
INTERVIEWS
Deloitte
No Interviews
INTERVIEWS
Simplilearn
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter