i
JPMorgan Chase & Co.
Filter interviews by
Clear (1)
I was interviewed in Nov 2022.
Round duration - 60 Minutes
Round difficulty - Medium
This round had questions mainly from Java 8 and its important features followed by some questions from Spring Boot.
Java 8 streams are a sequence of elements that can be processed in parallel or sequentially.
Streams provide a functional programming approach to process collections in Java.
They allow for concise and expressive code.
Streams can be used to filter, map, reduce, and perform other operations on data.
Example: List
T...
A Java 8 program to iterate a Stream using the forEach method.
Create a Stream object from a collection or array
Use the forEach method to perform an action on each element of the Stream
The action can be a lambda expression or a method reference
Spring Boot is a framework that simplifies the development of Java applications by providing default configurations and dependencies.
Spring Boot eliminates the need for manual configuration by providing sensible defaults.
It uses an embedded server, such as Tomcat or Jetty, to run the application.
Spring Boot automatically configures the application based on the dependencies added to the project.
It promotes convention ov...
Dependency Injection is a design pattern where the dependencies of a class are provided externally rather than being created within the class itself.
Dependency Injection helps in achieving loose coupling between classes.
It allows for easier testing and maintenance of code.
In Spring Boot, dependencies are injected using annotations like @Autowired.
Example: In a Spring Boot application, if a class requires a database con...
The @RestController annotation in Spring Boot is used to mark a class as a RESTful controller.
It combines the @Controller and @ResponseBody annotations.
It eliminates the need for annotating each method with @ResponseBody.
It automatically serializes the return value of the methods into JSON/XML response.
It is commonly used to build RESTful web services in Spring Boot.
Different methods of session management in Servlet
Cookies
URL Rewriting
Hidden Form Fields
Session Tracking API
HTTP Session
Round duration - 60 Minutes
Round difficulty - Medium
This was a preety much mixed round ranging questions from Java , MVC to DBMS , Web Security and API Design. More emphasis was given on the fundamentals of the subject rather than the advanced topics.
CORS in MVC is Cross-Origin Resource Sharing, a mechanism that allows restricted resources on a web page to be requested from another domain.
CORS is a security feature implemented in web browsers to prevent cross-origin requests by default.
It works by adding specific HTTP headers to the server's response, indicating which origins are allowed to access the resources.
In MVC, CORS can be configured using the 'EnableCors' ...
MVC components include Model, View, and Controller. Model represents data and business logic, View displays the data, and Controller handles user input and updates the Model and View.
Model: Represents data and business logic
View: Displays the data to the user
Controller: Handles user input and updates the Model and View
Clustered index determines the physical order of data in a table, while non-clustered index has a separate structure.
Clustered index determines the physical order of data in a table
Non-clustered index has a separate structure that includes a copy of the indexed columns and a pointer to the actual data
A table can have only one clustered index, but multiple non-clustered indexes
Clustered index is faster for retrieving la...
SQL injection is a web security vulnerability that allows an attacker to manipulate a database query to execute unauthorized actions.
SQL injection occurs when user-supplied data is not properly validated or sanitized before being used in an SQL query.
Attackers can exploit this vulnerability to bypass authentication, retrieve sensitive data, modify or delete data, or even execute arbitrary commands.
To prevent SQL inject...
Web services offer advantages such as interoperability, scalability, reusability, and platform independence.
Interoperability: Web services allow different applications to communicate and share data regardless of the programming languages or platforms they are built on.
Scalability: Web services can handle a large number of requests and can be easily scaled up or down to meet changing demands.
Reusability: Web services pr...
Round duration - 45 Minutes
Round difficulty - Medium
This round started with some questions from Frontend Web Development primarily from HTML and CSS followed by some questions from DevOps and Git. The interviewer was quite satisfied by my answers and overall this round went preety well.
Optimize website assets loading by minimizing file sizes, leveraging caching, and using asynchronous loading.
Minimize file sizes by compressing images, minifying CSS and JavaScript files
Leverage caching by setting appropriate cache headers and using a content delivery network (CDN)
Use asynchronous loading techniques such as lazy loading, deferred loading, and async/defer attributes
Combine and bundle multiple files to r...
New tags in Media Elements in HTML5 include <audio> and <video>.
<audio> tag for audio content
<video> tag for video content
Attributes like controls, autoplay, loop, etc. can be used with these tags
Docker is a containerization platform that allows developers to package applications with their dependencies for easy deployment and scalability.
Docker enables developers to create lightweight, isolated containers that can run on any operating system.
It simplifies the deployment process by ensuring that the application and its dependencies are bundled together, eliminating compatibility issues.
Docker allows for easy sc...
Git pull combines git fetch and git merge, while git fetch only downloads new data from a remote repository.
Git pull is used to update the local branch with the latest changes from the remote repository.
Git fetch only downloads new data from the remote repository, but does not integrate it into the local branch.
Git pull is a combination of git fetch and git merge commands.
Git fetch is useful to see what changes have be...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed in May 2022. There was 1 interview round.
I applied via Campus Placement
ATM transaction involves multiple background processes including authentication, authorization, and communication with bank servers.
Customer inserts card and enters PIN
ATM authenticates the card and PIN
ATM requests authorization from bank server
Bank server verifies account balance and approves or denies transaction
ATM dispenses cash or completes other requested transaction
ATM updates account balance and sends transacti
Cut cake into 8 pieces using knife 3 times only.
First, cut the cake horizontally into two equal halves.
Then, cut the cake vertically into four equal pieces.
Finally, cut the cake horizontally again into eight equal pieces.
Make sure to use the knife efficiently to minimize the number of cuts.
Practice visualization before making the cuts to avoid mistakes.
The one bird was already dead.
The bird was already dead before the shot was fired.
The bird was injured and unable to fly away with the rest of the birds.
The bird was a decoy bird used for hunting purposes.
The bird was a trained bird used for falconry.
Developed a web-based attendance management system and a mobile app for event management.
Created a database schema and implemented CRUD operations using PHP and MySQL.
Designed the user interface using HTML, CSS, and JavaScript.
Integrated Google Maps API for location tracking in the mobile app.
Implemented push notifications using Firebase Cloud Messaging.
Collaborated with a team of four to complete the projects within t
I applied via Campus Placement
posted on 13 Mar 2015
Code for rand7 using rand5 function
Use rand5 twice to generate a number in [1,25] with equal probability
If the number is greater than 21, discard and try again
Otherwise, return (number mod 7) + 1
LRU cache is implemented using a doubly linked list and a hash map.
Create a doubly linked list to keep track of the order of elements in the cache.
Create a hash map to store the key-value pairs of the cache.
When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.
When an element is accessed, move it to the front of the linked list to...
Function to randomly select pivot element in Quick Sort
Generate a random index within the range of the array
Return the element at the randomly generated index as the pivot
posted on 2 Dec 2015
I was interviewed in Dec 2016.
based on 4 reviews
Rating in categories
Associate
10.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
2.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Morgan Stanley
Goldman Sachs
TCS
Bank of America