Blue Yonder
Bombay Paints Interview Questions and Answers
Q1. Which list you will prefer using if you want to create an application that needs constant modification, ArrayList or LinkedList
LinkedList is preferred for constant modification due to faster insertion and deletion times.
LinkedList is preferred for constant modification because it has faster insertion and deletion times compared to ArrayList.
LinkedList allows for easy insertion and deletion of elements without the need to shift other elements, making it more efficient for constant modifications.
ArrayList is better for random access and iterating through elements, while LinkedList is better for frequen...read more
Q2. explain internal working of HashMap, what is abstract class
HashMap is a data structure that stores key-value pairs using hashing. An abstract class is a class that cannot be instantiated.
HashMap uses hashing to store key-value pairs for efficient retrieval.
Abstract classes cannot be instantiated and can have abstract methods that must be implemented by subclasses.
Example: HashMap
map = new HashMap<>();
Q3. Program to find the largest and smallest integer in a program
Program to find the largest and smallest integer in a program
Iterate through the array of integers to find the largest and smallest values
Initialize variables to store the largest and smallest values, update them as needed
Handle edge cases like empty array or array with only one element
Return the largest and smallest values found
Q4. Unit tesing Difference between Test and TestCase attribute
Test attribute is used to define a test method, while TestCase attribute is used to define a test case class.
Test attribute is used to mark a method as a test method in a test class.
TestCase attribute is used to mark a class as a test case class containing multiple test methods.
Test attribute is used in frameworks like NUnit, JUnit, etc.
TestCase attribute is used in frameworks like NUnit, JUnit, etc.
Q5. Make an class with other objects as immutable
Create a class with other objects as immutable
Use final keyword to make class immutable
Make all fields private and final
Do not provide setter methods, only getter methods
If class contains mutable objects, make sure to return a copy of them in getter methods
Q6. Layout optimisation in Xamarin forms
Layout optimisation in Xamarin forms involves improving performance and user experience by efficiently arranging UI elements.
Use ListView instead of StackLayout for long lists to improve performance.
Avoid nesting multiple layouts within each other to reduce complexity.
Utilize Grid layout for more complex UI designs.
Use RelativeLayout for positioning elements relative to each other.
Implement caching mechanisms for frequently used data to reduce loading times.
Q7. Explain about distributed system design
Distributed system design involves breaking down a system into smaller components that communicate and coordinate with each other over a network.
Decompose the system into smaller services that can run independently
Use messaging protocols like MQTT or AMQP for communication
Implement fault tolerance and scalability measures
Consider data consistency and synchronization across nodes
Examples: microservices architecture, Apache Kafka for message streaming
Interview Process at Bombay Paints
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month