Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before Jul 2022. There were 6 interview rounds.
Simple aptitude test ............
3 question leetcode medium .......
Top trending discussions
posted on 10 May 2015
Multi tasking, multi processing, and multi programming are different approaches to managing tasks in an operating system.
Multi tasking allows multiple tasks to run concurrently on a single processor.
Multi processing involves multiple processors running tasks simultaneously.
Multi programming allows multiple programs to be loaded into memory and executed concurrently.
Examples of multi tasking operating systems include Wi...
Memory allocation refers to the process of assigning memory to programs during runtime.
Stack allocation is done automatically and is limited in size.
Heap allocation is done manually and is larger in size.
Stack memory is used for local variables and function calls.
Heap memory is used for dynamic memory allocation.
Memory leaks can occur if heap memory is not properly managed.
Use a shared variable and synchronization mechanisms to ensure natural order printing of numbers.
Create two threads, one for printing even numbers and the other for printing odd numbers.
Use a shared variable to keep track of the current number to be printed.
Implement synchronization mechanisms like locks or semaphores to ensure only one thread can access the shared variable at a time.
Each thread should check if it is i...
Printing a matrix in spiral order
Start from the first element and print it
Move in a spiral order towards the center of the matrix
Repeat until all elements are printed
Thread class and Runnable Interface are used for multithreading in Java.
Thread class is a predefined class in Java that provides methods to create and control threads.
Runnable interface is used to define a task that can be executed by a thread.
Thread class implements Runnable interface.
Thread class provides more control over threads than Runnable interface.
Example: Thread t = new Thread(new MyRunnable()); t.start();
Exa...
Linked List is a dynamic data structure while ArrayList is a static data structure.
Linked List is best for frequent insertion and deletion operations.
ArrayList is best for frequent access operations.
Linked List uses more memory than ArrayList.
ArrayList is faster than Linked List for accessing elements.
Use Linked List when you need to frequently add or remove elements from the list.
Use ArrayList when you need to frequen
I am not interested in a career in investment banking.
I am more interested in a career in software development
I enjoy problem-solving and creating innovative solutions through coding
Investment banking does not align with my passion and skill set
I have chosen to apply to J.P. Morgan because of their reputation, global presence, and opportunities for growth.
J.P. Morgan has a strong reputation in the financial industry.
They have a global presence with offices in multiple countries.
The company offers various opportunities for career growth and development.
J.P. Morgan is known for its innovative technology solutions in the financial sector.
I am impressed by their ...
Yes, I have made a mistake in my previous project.
I underestimated the complexity of a task and ended up missing the deadline.
I failed to properly test a feature, resulting in a bug that affected user experience.
I accidentally deleted an important file without having a backup.
I misunderstood a requirement and implemented a feature incorrectly.
Multithreading is the ability of a program to perform multiple tasks concurrently.
Multithreading allows for better utilization of CPU resources
It can improve program performance and responsiveness
Examples include running multiple downloads simultaneously or updating a GUI while performing a background task
Synchronization is important to prevent race conditions and ensure thread safety
Multithreading in Java allows concurrent execution of multiple threads.
Java provides built-in support for multithreading through the java.lang.Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
The start() method is used to start a new thread, which calls the run() method.
Synchronization mechanisms like synchronized blocks and locks can be used to control access to ...
No, Java does not support multiple inheritance. However, interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes.
This is because multiple inheritance can lead to ambiguity and conflicts.
However, a class can implement multiple interfaces in Java.
An interface can extend multiple interfaces, allowing for inheritance of multiple interfaces.
This is known as interface inheritan
DO-WHILE loop executes the code block at least once, while WHILE loop executes only if the condition is true.
DO-WHILE loop checks the condition at the end of the loop
WHILE loop checks the condition at the beginning of the loop
DO-WHILE loop executes the code block at least once
WHILE loop may not execute the code block at all if the condition is false
I would rate myself as an 8 on a scale of 1-10.
I have a strong understanding of software development principles and practices.
I have experience working with multiple programming languages and frameworks.
I am skilled in problem-solving and debugging.
I have successfully delivered complex software projects in the past.
I continuously strive to learn and improve my skills.
Display data of two tables by joining them using a common column.
Use SQL JOIN statement to combine data from two tables based on a common column.
Choose the appropriate type of JOIN based on the relationship between the tables.
Specify the columns to be displayed in the SELECT statement.
Use aliases to differentiate between columns with the same name in both tables.
Apply any necessary filters or sorting to the result set.
Multithreading is the ability of a program to perform multiple tasks concurrently.
Multithreading allows for better utilization of CPU resources
It can improve program performance and responsiveness
Examples include running multiple downloads simultaneously or updating a GUI while performing a background task
Synchronization is important to prevent race conditions and ensure thread safety
Java supports multithreading through the java.lang.Thread class and java.util.concurrent package.
Java threads are created by extending the Thread class or implementing the Runnable interface.
Threads can be started using the start() method.
Synchronization can be achieved using synchronized keyword or locks.
Java provides several classes and interfaces to support concurrent programming such as Executor, ExecutorService, F...
Java does not support multiple inheritance, but interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes, but it can implement multiple interfaces.
Interfaces can inherit from multiple interfaces using the 'extends' keyword.
For example, interface C can extend interfaces A and B: 'interface C extends A, B {}'
Do-While loop executes the code block once before checking the condition, while loop checks the condition first.
Do-While loop is used when the code block needs to be executed at least once.
While loop is used when the code block may not need to be executed at all.
Do-While loop is less efficient than While loop as it always executes the code block at least once.
Example of Do-While loop: do { //code block } while (conditi...
Join the tables on a common column and display the combined data.
Identify the common column in both tables
Use JOIN statement to combine the tables
Select the columns to display
Apply any necessary filters or sorting
Display the data in a table or list format
Primary key uniquely identifies a record in a table, while unique key ensures uniqueness of a column.
Primary key cannot have null values, while unique key can have one null value.
A table can have only one primary key, but multiple unique keys.
Primary key is used as a foreign key in other tables, while unique key is not.
Example: Employee ID can be a primary key, while email address can be a unique key.
I have a strong background in software development, excellent problem-solving skills, and a passion for learning new technologies.
Extensive experience in programming languages such as Java, Python, and C++
Proven track record of delivering high-quality software solutions on time and within budget
Strong analytical and problem-solving skills, with the ability to quickly adapt to new technologies and frameworks
Excellent co...
My hobbies include coding, reading, and playing video games. My strengths are problem-solving, attention to detail, and teamwork. My weaknesses are impatience and a tendency to overthink.
Hobbies: Coding, reading, playing video games
Strengths: Problem-solving, attention to detail, teamwork
Weaknesses: Impatience, tendency to overthink
I am a software developer with experience in Java and Python.
Graduated with a degree in Computer Science
Worked on multiple projects using Java and Python
Familiar with Agile methodology
Strong problem-solving skills
Constantly learning and improving
Multithreading is the ability of a CPU to execute multiple threads concurrently.
Multithreading improves performance by utilizing idle CPU time.
Threads share the same memory space, allowing for efficient communication.
Examples include web servers handling multiple requests and video games rendering graphics while processing user input.
The question is asking about how a specific implementation is done in Java.
Explain the implementation details of the specific feature or functionality in Java
Provide code examples if applicable
Discuss any relevant libraries or frameworks used in the implementation
While loop executes only if the condition is true, do-while loop executes at least once before checking the condition.
While loop checks the condition first, then executes the code block
Do-while loop executes the code block first, then checks the condition
While loop may not execute at all if the condition is false initially
Do-while loop always executes at least once before checking the condition
No, Java does not support multiple inheritance. However, interfaces can inherit multiple interfaces.
Java does not allow a class to inherit from multiple classes, which is known as multiple inheritance.
However, a class can implement multiple interfaces, which is known as multiple interface inheritance.
By implementing multiple interfaces, a class can inherit the abstract methods defined in those interfaces.
For example, c...
To display data of two tables, we can use JOIN operation in SQL.
Identify the common column(s) between the two tables.
Use JOIN operation to combine the data from both tables based on the common column(s).
Choose the appropriate type of JOIN operation (INNER, LEFT, RIGHT, FULL) based on the requirement.
Use SELECT statement to display the required columns from the combined table.
Example: SELECT t1.column1, t2.column2 FROM ...
Primary key uniquely identifies a record in a table, while unique key ensures uniqueness of a column.
Primary key is a column or set of columns that uniquely identifies each record in a table
Primary key cannot have null values
A table can have only one primary key
Unique key ensures that a column or set of columns have unique values
Unique key can have null values
A table can have multiple unique keys
I would rate myself as an 8 on a scale of 1-10.
I have a strong understanding of software development principles and practices.
I have experience working with multiple programming languages and frameworks.
I am skilled in problem-solving and debugging.
I have successfully delivered complex software projects in the past.
I continuously strive to learn and improve my skills.
The importance of version control in software development
Version control is a system that tracks changes to files over time
It allows multiple developers to work on a project simultaneously
Helps in managing codebase, tracking bugs, and rolling back changes
Examples of version control systems include Git, SVN, and Mercurial
Java program to sort 10 numbers
Use Arrays.sort() method to sort the array of numbers
Declare an array of size 10 and initialize it with the given numbers
Print the sorted array using a loop
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A parent class Animal can have child classes like Dog, Cat, and Bird, each with their own unique implementation of the method 'makeSound'.
Polymorphism makes code more flexible and reusable.
C is a low-level language while Java is a high-level language with automatic memory management.
C is compiled while Java is interpreted
C has pointers while Java does not
Java has built-in garbage collection while C does not
Java is platform-independent while C is not
Java has a larger standard library than C
C is commonly used for system programming while Java is used for web and mobile applications
based on 3 interviews
Interview experience
based on 12 reviews
Rating in categories
Senior Software Engineer
515
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
284
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate Software Engineer
103
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Software Engineer
102
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Business Analyst
93
salaries
| ₹0 L/yr - ₹0 L/yr |
Fiserv
FIS
Global Payments
First Data Corporation