JPMorgan Chase & Co.
30+ Dattakrupa Plastics Interview Questions and Answers
Q1. A rat has 3000 gm of rice, he has to travel a distance of 3000m, he eats 1gm rice/m, his maximum carrying capcity is 1000 gm,how should he travel the distance to reach with maximum rice left
A rat with 3000gm rice, 3000m distance, 1gm rice/m, 1000gm capacity. How to reach with max rice left?
The rat should carry maximum rice possible in the beginning
The rat should eat rice only when necessary
The rat should carry rice in intervals to avoid exhaustion
The rat should calculate the amount of rice needed for the journey
The rat should prioritize reaching the destination over carrying excess rice
Q2. How will you perform pre-fix and post-fix operation for the given string expression?
Pre-fix and post-fix operations can be performed on a string expression using appropriate operators.
Pre-fix operation involves placing the operator before the operand in the expression.
Post-fix operation involves placing the operator after the operand in the expression.
Examples of pre-fix operators include ++, --, !, and ~.
Examples of post-fix operators include ++ and --.
Q3. A new software has 3 functions SelectSum(), log() and exp(). You have a table of 1000 data points, how will you find product of all points using only the above mentioned functions
To find the product of all data points using SelectSum(), log(), and exp() functions.
Use the log() function to convert the product into a sum of logarithms
Apply the SelectSum() function to calculate the sum of logarithms
Finally, use the exp() function to convert the sum back into the product
Q4. Write an algorithm to select the number between min and maximum from a number series and that number shouldn't be a multiple of 10
Algorithm to select a non-multiple of 10 from a number series between min and max
Loop through the number series from min to max
Check if the current number is a multiple of 10
If not, select the number and exit the loop
If all numbers are multiples of 10, return an error message
Q5. How will you find loop in the circular linked list?
Loop in a circular linked list can be found using Floyd's cycle-finding algorithm.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move slow pointer by one node and fast pointer by two nodes in each iteration.
If there is a loop, both pointers will eventually meet at some point.
If there is no loop, fast pointer will reach the end of the linked list.
Time complexity of this algorithm is O(n) and space complexity is O(1).
Q6. What are the different types of risks associated with a bond?
Different types of risks associated with a bond
Interest rate risk - changes in interest rates affect bond prices
Credit risk - risk of default by the issuer
Inflation risk - risk of loss of purchasing power due to inflation
Liquidity risk - risk of not being able to sell the bond when needed
Call risk - risk of the issuer calling back the bond before maturity
Reinvestment risk - risk of not being able to reinvest the coupon payments at the same rate
Currency risk - risk of changes ...read more
Q7. Write the algorithm for reversing the string
The algorithm reverses a given string.
Iterate through the string from the last character to the first character.
Append each character to a new string or an array in reverse order.
Return the reversed string or array.
Q8. How do you handle custom exceptions in your current project ?
I handle custom exceptions by creating my own exception classes and throwing them when necessary.
I create custom exception classes that extend the built-in Exception class
I throw these exceptions when specific errors occur in my code
I catch these exceptions in a try-catch block and handle them appropriately
I include helpful error messages in my custom exceptions to aid in debugging
Q9. Explain endpoints in your microservice. What request they send and why?
Endpoints in microservices are responsible for handling incoming requests and sending responses.
Endpoints are the entry points for a microservice
They handle incoming requests and send responses
Endpoints can be HTTP endpoints, message queue endpoints, or event-driven endpoints
Examples of endpoints include RESTful APIs, SOAP APIs, and GraphQL APIs
Q10. what is 'Big data'? Why is it called 'Big'
Big data refers to large and complex data sets that cannot be processed using traditional data processing methods.
Big data is characterized by its volume, velocity, and variety
It is used in various industries such as healthcare, finance, and retail
Examples of big data include social media data, sensor data, and transactional data
It is called 'big' because it involves processing massive amounts of data
Big data requires specialized tools and technologies for processing and anal...read more
Q11. Any coding done in curriculum, explain the most complex one
Yes, I have coded in curriculum. The most complex one was a project on building a web application using React and Node.js.
Built a full-stack web application using React and Node.js
Implemented user authentication and authorization using JSON Web Tokens (JWT)
Used MongoDB as the database and Mongoose as the ODM
Implemented real-time updates using Socket.IO
Deployed the application on Heroku
Handled errors and implemented logging using Winston
Q12. Will duration be greater for a fixed rate bond or a floating rate bond?
Duration will be greater for a fixed rate bond.
Fixed rate bonds have a longer duration than floating rate bonds.
Duration is the measure of a bond's sensitivity to interest rate changes.
Fixed rate bonds have a fixed interest rate, so their duration is longer as they are more sensitive to interest rate changes.
Q13. What caused the 2008 financial crisis?
The 2008 financial crisis was caused by a combination of factors including subprime mortgages, risky investments, and lack of regulation.
Subprime mortgages were given to borrowers who were not creditworthy and could not afford to repay the loans.
These mortgages were then bundled together and sold as securities to investors, who were not aware of the high risk involved.
Investment banks also made risky investments and used excessive leverage, which led to their collapse.
The lac...read more
Q14. Is data quality more important or is timeliness?
Both data quality and timeliness are important, but it depends on the specific use case.
Data quality is crucial for decision-making and analysis, as inaccurate data can lead to incorrect conclusions.
Timeliness is important for real-time decision-making and time-sensitive operations.
In some cases, data quality may be more important, such as in medical research where accuracy is critical.
In other cases, timeliness may be more important, such as in financial trading where split-...read more
Q15. Where transactional can be used in microservices ?
Transactional can be used in microservices to ensure data consistency and integrity.
Transactional mechanisms can be used to ensure that all microservices involved in a transaction either commit or rollback together.
Transactional boundaries can be defined to ensure that all data changes within a transaction are atomic and consistent.
Transactional messaging can be used to ensure that messages are delivered exactly once and in the correct order.
Examples of transactional systems ...read more
Q16. How would you mitigate credit risk?
Mitigate credit risk by diversifying portfolio, setting credit limits, and monitoring creditworthiness.
Diversify portfolio to spread risk across different industries and companies.
Set credit limits based on the borrower's creditworthiness and ability to repay.
Monitor creditworthiness of borrowers regularly to identify potential risks and take necessary actions.
Use credit insurance or guarantees to protect against default.
Establish clear policies and procedures for credit risk...read more
Q17. Why jpmc, why finance, opinion on regulations in banking
I am interested in JPMC because of its reputation and opportunities. Finance is a dynamic field that challenges me. Regulations are necessary for stability and trust in banking.
JPMC has a strong reputation in the industry and offers a wide range of opportunities for growth and development.
Finance is a dynamic field that requires constant learning and adaptation to new trends and technologies.
Regulations are necessary to ensure stability and trust in the banking industry, and ...read more
Q18. How do you price a bond?
To price a bond, calculate the present value of its future cash flows.
Determine the bond's face value, coupon rate, and maturity date.
Calculate the bond's yield to maturity.
Use the yield to maturity to discount the bond's future cash flows.
Add up the present values of the cash flows to get the bond's price.
Consider any additional factors that may affect the bond's price, such as credit risk or call provisions.
Q19. How do you price an option?
Option pricing involves calculating the value of an option based on various factors.
The current price of the underlying asset is a key factor in option pricing.
Volatility of the underlying asset also plays a significant role.
Time to expiration, interest rates, and strike price are other important factors.
Various models such as Black-Scholes and binomial models are used to price options.
Option pricing can be complex and requires a thorough understanding of financial markets.
Q20. What requirements you gather before making a Dashboard .
Before making a Dashboard, requirements such as data sources, key performance indicators, user roles, and visualization preferences should be gathered.
Identify the data sources that will be used to populate the dashboard (e.g. databases, APIs, spreadsheets).
Determine the key performance indicators (KPIs) that the dashboard will track and display.
Understand the different user roles that will be accessing the dashboard and their specific needs.
Gather information on the preferre...read more
Q21. What are parameters in tableau
Parameters in Tableau are dynamic inputs that allow users to change values in a visualization.
Parameters can be used to filter data, change calculations, and control the appearance of a visualization.
They can be created by right-clicking on a field or by using the 'Create Parameter' option in the 'Analysis' menu.
Examples of parameters include allowing users to select a date range, adjusting the size of a chart, or changing the color palette.
Parameters can also be used in calc...read more
Q22. What are lod in tableau
LOD stands for Level of Detail. It is a technique in Tableau that allows users to compute values at a different level than the view.
LOD expressions can be used to aggregate data at a higher level than the view, or to compute values at a lower level than the view.
There are three types of LOD expressions: FIXED, INCLUDE, and EXCLUDE.
FIXED LOD expressions compute values using a specified set of dimensions, regardless of the dimensions in the view.
INCLUDE LOD expressions compute ...read more
Q23. What is your understanding on Threshold
Threshold is the point at which a change in quantity, quality, or state occurs.
Threshold is the minimum level of something that is required for a particular action, result, or condition.
It can also refer to the maximum level of something before a different action, result, or condition occurs.
For example, in marketing, a sales threshold may need to be reached before a discount is applied.
In medicine, a pain threshold is the point at which a stimulus is perceived as painful.
Q24. do you have knowledge on c
Yes, I have knowledge on C programming language.
I have experience in writing programs in C language.
I am familiar with the syntax and semantics of C language.
I have worked on projects that involved C language such as developing embedded systems.
I have knowledge of data types, control structures, functions, pointers, arrays, and structures in C language.
Q25. How to make class immutable?
To make a class immutable, we need to ensure that its state cannot be modified after creation.
Make all fields private and final
Do not provide any setters
If mutable objects are used, return copies instead of references
Ensure that any methods that modify state return a new instance instead of modifying the existing one
Q26. Approaches I have taken to optimize a query.
I have optimized queries by using indexes, reducing the number of joins, and optimizing subqueries.
Used indexes to speed up data retrieval
Reduced the number of joins to minimize the query execution time
Optimized subqueries by using temporary tables or rewriting them as joins
Used query profiling tools to identify and fix performance bottlenecks
Q27. What is duration?
Duration is the length of time something takes to complete.
Duration can be measured in seconds, minutes, hours, days, etc.
It is often used to describe the length of a movie, song, or event.
In project management, duration refers to the amount of time a task or project will take to complete.
Duration can also refer to the length of time a medical treatment or medication should be taken.
It is important to consider duration when planning and scheduling tasks or events.
Q28. What are hyper in tableau
Hyper is a data engine used by Tableau to process large amounts of data quickly.
Hyper is an in-memory data engine that can process billions of rows of data.
It allows for faster data analysis and visualization.
Hyper can handle complex queries and calculations.
Tableau uses Hyper as its default data engine since version 10.5.
Hyper can also be used as a standalone database.
Hyper supports various data sources including CSV, Excel, and databases like MySQL and Oracle.
Q29. Difference between Threads and Processes.
Threads are lightweight processes that share memory and resources, while processes are independent and have their own memory and resources.
Threads are a part of a process and share the same memory space.
Processes are independent and have their own memory space.
Threads are faster to create and switch between than processes.
Processes are more secure and stable than threads.
Examples of processes include web browsers and text editors, while examples of threads include background ...read more
Q30. Design parking lot system
Design a parking lot system
Determine the size and capacity of the parking lot
Decide on the type of parking system (e.g. self-parking, valet)
Implement a ticketing system for entry and exit
Install security cameras and lighting for safety
Consider implementing a reservation system for high-demand periods
Q31. what are type of emissions
Types of emissions include greenhouse gases, air pollutants, and particulate matter.
Greenhouse gases: carbon dioxide, methane, nitrous oxide
Air pollutants: sulfur dioxide, nitrogen oxides, volatile organic compounds
Particulate matter: dust, soot, smoke
Q32. API versioning in spring boot
API versioning in Spring Boot allows multiple versions of the same API to coexist.
Use URI versioning by including the version in the URI path (e.g. /v1/resource)
Use request parameter versioning by passing the version as a parameter (e.g. /resource?version=1)
Use header versioning by including the version in the request header (e.g. 'Accept: application/vnd.company.v1+json')
Q33. Explain all financial products
Financial products are instruments that help individuals and businesses manage their money, invest, save, and protect against risks.
Financial products include savings accounts, checking accounts, credit cards, loans, mortgages, insurance policies, stocks, bonds, and mutual funds.
They can be categorized into banking products, investment products, and insurance products.
Examples of financial products include a 401(k) retirement account, a home equity line of credit, a life insu...read more
Q34. Explain system structures
System structures refer to the organization and layout of components within a system.
System structures define how different components interact and communicate with each other
Examples include client-server architecture, peer-to-peer networks, and hierarchical structures
System structures can impact performance, scalability, and security of a system
Q35. Design your own string class
Custom string class with various functionalities like concatenation, substring, length calculation, etc.
Implement basic string operations like concatenation, substring, length calculation
Include methods for searching, replacing, and comparing strings
Consider memory management and efficiency in operations
Q36. Haspmap versus hashtable
Hashtable and HashMap are both data structures in Java used to store key-value pairs, but HashMap allows null values and keys, while Hashtable does not.
Hashtable is synchronized, while HashMap is not.
HashMap allows null values and keys, while Hashtable does not.
HashMap is generally preferred over Hashtable for non-thread-safe applications.
Example: HashMap
map = new HashMap<>(); Example: Hashtable
table = new Hashtable<>();
Q37. Discuss about var.
Var is a keyword in programming languages used to declare variables.
Var is short for variable.
It is used to declare a variable and assign a value to it.
The data type of the variable is inferred from the assigned value.
Example: var x = 5; // x is now a variable of type integer with value 5
Q38. Design twitter app
Design a user-friendly Twitter app with customizable timelines and easy navigation.
Include a clean and intuitive user interface
Allow users to customize their timelines by following/unfollowing accounts
Implement easy navigation through tabs for Home, Notifications, Messages, etc.
Include features like trending topics, search functionality, and direct messaging
More about working at JPMorgan Chase & Co.
Top HR Questions asked in Dattakrupa Plastics
Interview Process at Dattakrupa Plastics
Top Associate Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month