Add office photos
Engaged Employer

ivy

3.6
based on 761 Reviews
Video summary
Filter interviews by

20+ BankBazaar Interview Questions and Answers

Updated 15 Oct 2024
Popular Designations

Q1. 1. Javascript code to find the frequency of characters in a sentence. 2. Difference between dynamic and static intialization.

Ans.

Javascript code to find frequency of characters in a sentence and difference between dynamic and static initialization.

  • To find frequency of characters in a sentence, create an object and iterate over each character in the sentence. Increment the count of each character in the object.

  • Dynamic initialization refers to initializing a variable at runtime, while static initialization refers to initializing a variable at compile time.

  • Example of dynamic initialization: int x = new in...read more

View 1 answer

Q2. how do. you optimise a complex api what stratgies would you recommend

Ans.

To optimize a complex API, consider reducing unnecessary data transfer, caching frequently accessed data, using efficient data structures, and implementing proper error handling.

  • Identify and remove unnecessary data transfer to reduce latency

  • Implement caching mechanisms for frequently accessed data to improve performance

  • Use efficient data structures and algorithms to optimize processing speed

  • Implement proper error handling to ensure robustness and reliability

  • Consider implement...read more

Add your answer

Q3. 1. Difference between .equals() and == function. 2. Fibonacci series 3. MultiThreading

Ans.

Questions on Java basics - .equals() vs ==, Fibonacci series, and MultiThreading.

  • The .equals() function compares the values of two objects, while == compares their memory addresses.

  • Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

  • MultiThreading is a technique where multiple threads of execution run concurrently within a single program.

  • Examples: 5 == 5 is true, but new String('hello') == new String('hello') is false.

  • Fibonacci ser...read more

Add your answer

Q4. To print second highest number in a integer list in java

Ans.

To print second highest number in a list of integers in Java

  • Sort the list in descending order

  • Print the second element in the sorted list

Add your answer
Discover BankBazaar interview dos and don'ts from real experiences

Q5. 2nd largest number from array

Ans.

Find the second largest number from an array of strings.

  • Convert the array of strings to an array of numbers.

  • Sort the array in descending order.

  • Return the second element of the sorted array.

View 2 more answers

Q6. What is the difference between == and === ?

Ans.

The difference between == and === is that == checks for equality after type conversion, while === checks for equality without type conversion.

  • == is a loose equality comparison operator that performs type coercion before comparing two values.

  • === is a strict equality comparison operator that does not perform type coercion before comparing two values.

  • Example: 5 == '5' will return true because the values are equal after type coercion, but 5 === '5' will return false because they ...read more

Add your answer
Are these interview questions helpful?

Q7. App life cycle with the explanation on App delegate method.

Ans.

App life cycle involves various stages like launch, background, inactive, active, and termination. App delegate methods manage these stages.

  • App delegate methods are used to respond to important events in the app's life cycle, such as app launch, backgrounding, foregrounding, and termination.

  • Some of the key methods in the app delegate include application(_:didFinishLaunchingWithOptions:), applicationDidEnterBackground(_ :), applicationDidBecomeActive(_ :), and applicationWillT...read more

Add your answer

Q8. 1.what are oops?

Ans.

OOPs (Object-Oriented Programming) is a programming paradigm that uses objects to represent and manipulate data.

  • OOPs is based on the concept of classes and objects.

  • It allows for encapsulation, inheritance, and polymorphism.

  • Objects have properties (attributes) and behaviors (methods).

  • Example: In a banking system, a class 'Account' can have objects representing individual bank accounts.

View 1 answer
Share interview questions and help millions of jobseekers 🌟

Q9. What are exception in java

Ans.

Exceptions are events that occur during the execution of a program that disrupts the normal flow of instructions.

  • Exceptions are objects that are thrown at runtime when an abnormal condition occurs

  • They can be caught and handled using try-catch blocks

  • Java has a hierarchy of exception classes, with the base class being Throwable

  • Checked exceptions must be handled or declared in the method signature

  • Unchecked exceptions do not need to be handled or declared

Add your answer

Q10. add string until length is greater than 1

Ans.

Concatenate strings in array until total length is greater than 1

  • Iterate through array and concatenate strings until length is greater than 1

  • Use a loop to keep adding strings until total length exceeds 1

  • Check total length after each concatenation to ensure it is greater than 1

Add your answer

Q11. Oops concepts , in practical example

Ans.

Oops concepts are fundamental principles in object-oriented programming that help in organizing and designing code efficiently.

  • Encapsulation: Wrapping data and methods into a single unit (class). Example: Class Car with properties like make, model, and methods like start(), stop().

  • Inheritance: Reusing code from existing classes to create new classes. Example: Class SUV inheriting from class Car.

  • Polymorphism: Ability of objects to take on multiple forms. Example: Overloading a...read more

Add your answer

Q12. how to connect to db

Ans.

To connect to a database, you need to use a database connection string with the appropriate credentials.

  • Use a database connection string with the necessary information such as server address, database name, username, and password.

  • Choose the appropriate database driver for the type of database you are connecting to (e.g. MySQL, PostgreSQL, MongoDB).

  • Establish a connection using a programming language-specific database library or framework (e.g. JDBC for Java, psycopg2 for Pytho...read more

Add your answer

Q13. String Reverse reserving white spaces.

Ans.

Reverse a string while preserving white spaces

  • Iterate through the string from end to start

  • Keep track of white spaces and insert them in the reversed string

  • Example: 'hello world' -> 'dlrow olleh'

Add your answer

Q14. Comparator vs comparable

Ans.

Comparator and Comparable are interfaces used for sorting objects in Java.

  • Comparable interface is used to define the natural ordering of objects.

  • Comparator interface is used to define custom ordering of objects.

  • Comparable interface has compareTo() method while Comparator interface has compare() method.

  • Comparable interface is implemented by the class whose objects need to be sorted while Comparator interface is implemented by a separate class.

  • Example: String class implements C...read more

Add your answer

Q15. URL Session using completions.

Ans.

URL Session using completions is a way to handle network requests in iOS development.

  • URL Session is a class in iOS used for making network requests.

  • Completions are closures that are called when a network request completes.

  • Using completions allows for handling the response data or errors after a network request.

  • Example: URLSession.shared.dataTask(with: url) { (data, response, error) in }

Add your answer

Q16. view life cycle

Ans.

View life cycle refers to the process of creating, updating, and destroying views in an Android application.

  • View life cycle includes methods like onCreate, onStart, onResume, onPause, onStop, and onDestroy.

  • These methods are called at different stages of a view's life cycle, allowing developers to perform actions like initializing UI components, saving instance state, and releasing resources.

  • For example, onCreate is called when a view is first created, onStart is called when t...read more

Add your answer

Q17. basic conepts of oops

Ans.

Object-oriented programming concepts focus on classes, objects, inheritance, encapsulation, and polymorphism.

  • Classes: Blueprint for creating objects with attributes and methods.

  • Objects: Instances of classes that contain data and behavior.

  • Inheritance: Ability for a class to inherit attributes and methods from another class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Polymorphism: Ability for objects of different classes to respond to th...read more

Add your answer

Q18. acid properties

Ans.

ACID properties are a set of properties that guarantee reliable database transactions.

  • Atomicity: All operations in a transaction are completed successfully or none at all.

  • Consistency: Database remains in a consistent state before and after the transaction.

  • Isolation: Transactions are isolated from each other until they are completed.

  • Durability: Once a transaction is committed, changes are permanent and cannot be lost.

  • Example: Transfer of funds between two bank accounts must be...read more

Add your answer

Q19. Preferred location

Ans.

I am open to opportunities in various locations, with a preference for cities with a strong tech industry.

  • Open to various locations

  • Preference for cities with strong tech industry

Add your answer

Q20. Sorting of arrav

Ans.

Sorting an array of strings in alphabetical order.

  • Use a sorting algorithm like quicksort or mergesort.

  • Compare strings using built-in functions like strcmp in C++ or compareTo in Java.

  • Consider using a custom comparator function for sorting in languages like JavaScript.

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

Interview Process at BankBazaar

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

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 121 Interview Questions
4.1
 • 46 Interview Questions
4.1
 • 15 Interview Questions
3.0
 • 14 Interview Questions
4.1
 • 11 Interview Questions
4.2
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 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