Analyst

2000+ Analyst Interview Questions and Answers

Updated 9 Jul 2025
search-icon
2w ago

Q. How can you create a uniform distribution from 1 to 200 using an unbiased coin?

Ans.

To create a uniform distribution from 1 to 200 using an unbiased coin, we can use the rejection sampling method.

  • Divide the range into equal parts based on the number of outcomes of the coin toss.

  • Toss the coin and select the corresponding part of the range.

  • If the selected number is outside the desired range, reject it and repeat the process.

  • Repeat until a number within the desired range is obtained.

  • Example: If the coin has 2 outcomes, divide the range into 2 parts of 100 each....read more

Asked in Deloitte

2w ago

Q. If two VMs are running on different hosts, how do they communicate?

Ans.

VMs communicate through network protocols and virtual switches.

  • VMs use network protocols like TCP/IP to communicate.

  • Virtual switches connect VMs to the physical network.

  • Hosts can also use virtual network adapters to communicate with VMs.

  • Firewalls and security policies can restrict VM communication.

  • Examples of virtual switches include VMware vSwitch and Hyper-V Virtual Switch.

Asked in Deloitte

2w ago

Q. If you have created a server and a website is not working, what steps would you take to troubleshoot the issue?

Ans.

I would check the server logs and troubleshoot the issue.

  • Check if the website is properly configured on the server

  • Check if there are any errors in the server logs

  • Check if there are any issues with the website's code or database

  • Restart the server or relevant services if necessary

Asked in eClerx

2w ago

Q. What is kyc, reconciliation, investment banking and derivatives in deep?

Ans.

KYC, reconciliation, investment banking, and derivatives are all important concepts in finance.

  • KYC stands for Know Your Customer and refers to the process of verifying the identity of clients.

  • Reconciliation is the process of comparing two sets of records to ensure they are in agreement.

  • Investment banking involves helping companies raise capital by underwriting and issuing securities.

  • Derivatives are financial instruments that derive their value from an underlying asset or inde...read more

Are these interview questions helpful?

Asked in Accenture

1w ago

Q. What is React state and props, what is Redux flow, how can we update state in a component, css flexbox, css position property

Ans.

React state and props, Redux flow, updating state in component, css flexbox and position property

  • React state is an object that determines how a component renders and behaves

  • Props are read-only data passed from parent to child components

  • Redux is a state management library for React

  • Updating state in a component can be done using setState() method

  • CSS flexbox is a layout model that allows flexible and responsive design

  • CSS position property is used to position an element relative ...read more

2d ago

Q. Write a Java program to implement pattern matching.

Ans.

Java code for pattern matching using regular expressions to find specific patterns in strings.

  • Use the Pattern and Matcher classes from java.util.regex package.

  • Example: Pattern.compile("\d+") to match one or more digits.

  • Matcher.find() method to search for the pattern in the input string.

  • Example: matcher.find() returns true if the pattern is found.

Analyst Jobs

SANOFI HEALTHCARE INDIA PRIVATE LIMITED logo
Sr. Analyst - Customer Facing CRM Country Support 5-10 years
SANOFI HEALTHCARE INDIA PRIVATE LIMITED
4.1
Hyderabad / Secunderabad
Lowes Services India Private limited logo
Analyst_Consumer/Customer Insights 1-3 years
Lowes Services India Private limited
4.1
₹ 3 L/yr - ₹ 20 L/yr
(AmbitionBox estimate)
Bangalore / Bengaluru
AECOM India Private Limited logo
Analyst - Cash Application 3-8 years
AECOM India Private Limited
4.2
Bangalore / Bengaluru
2w ago

Q. Three ants are at the vertices of a triangle. They each randomly move to another vertex. What is the probability that the ants do not collide?

Ans.

The probability of three ants not colliding while moving on the vertices of a triangle.

  • The ants will not collide if they all move in the same direction (clockwise or counterclockwise) or if they move in a way that they always maintain a constant distance from each other.

  • The probability of ants not colliding can be calculated by considering all possible ways they can move without colliding and dividing it by the total number of possible movements.

  • For example, if the ants alway...read more

Asked in MathLogic

2d ago

Q. What are the evaluation metrics for the classification ML model?

Ans.

Evaluation metrics for classification ML model

  • Accuracy: measures the overall correctness of the model

  • Precision: measures the proportion of true positive predictions among all positive predictions

  • Recall: measures the proportion of true positive predictions among all actual positives

  • F1 Score: harmonic mean of precision and recall

  • Confusion Matrix: provides a summary of correct and incorrect predictions

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
2d ago

Q. Given a sorted array, find two elements (i, j) such that i + j = x in O(n) time.

Ans.

Find two elements in a sorted array that add up to a given sum in linear time.

  • Use two pointers, one at the beginning and one at the end of the array.

  • If the sum of the two pointers is greater than the target, move the right pointer to the left.

  • If the sum of the two pointers is less than the target, move the left pointer to the right.

  • Repeat until the sum is found or the pointers meet.

  • Example: Given [1, 2, 3, 4, 5] and target 7, return (2, 5).

2w ago

Q. How do you calculate the price of a call option?

Ans.

The price of a call option is calculated using the Black-Scholes model which takes into account the underlying asset price, strike price, time to expiration, risk-free interest rate, and volatility.

  • Determine the current price of the underlying asset

  • Determine the strike price of the option

  • Determine the time to expiration of the option

  • Determine the risk-free interest rate

  • Determine the volatility of the underlying asset

  • Plug these values into the Black-Scholes model to calculate ...read more

2w ago

Q. How do you find a local minima of an array in O(log n) in a functional program?

Ans.

Find local minima of an array in o(log n) in functional programming.

  • Use binary search to find the local minima.

  • Check if the mid element is a local minima, if not, move towards the lower side.

  • If the mid element is greater than its left element, move towards the left side, else move towards the right side.

  • Repeat until a local minima is found.

  • Example: [5, 3, 2, 4, 6, 8, 9] -> local minima is 2.

Asked in JioStar

1w ago

Q. How would you analyze user consumption data and make predictions about future patterns?

Ans.

I would analyze user consumption data by identifying trends, patterns, and correlations to make predictions about future behavior.

  • Collect and organize user consumption data from various sources

  • Use statistical analysis and data visualization techniques to identify trends and patterns

  • Apply predictive modeling and machine learning algorithms to make future predictions

  • Regularly update and refine the predictive models based on new data

  • Consider external factors that may impact user...read more

5d ago

Q. What is the difference between a 201 and 200 status code, and why would a developer use 201 if 200 seems to do the same job?

Ans.

201 and 200 status codes are similar but have different meanings.

  • 200 means the request was successful and the server returned the requested data

  • 201 means the request was successful and the server created a new resource

  • Developers use 201 when a new resource is created, such as a new user account or a new post on a blog

  • Using the correct status code helps with proper error handling and debugging

2w ago

Q. Estimate your quantitative score. If you add your quantitative score to the average finance score, would that be the highest overall score?

Ans.

Answering a question about estimating quant score and overall score in finance.

  • I estimate my quant score to be X based on my preparation and practice.

  • Adding my quant score to the avg finance score may or may not result in the highest overall score, as it depends on the scores of other candidates.

  • However, I am confident in my abilities and believe that I can perform well in both areas.

  • I am open to discussing my preparation strategies and study habits further if needed.

Q. How do insurance companies work?

Ans.

Insurance companies work by providing financial protection to individuals or organizations against potential risks or losses.

  • Insurance companies collect premiums from policyholders in exchange for coverage.

  • They assess risks and determine the appropriate premiums to charge based on factors such as age, health, and occupation.

  • Insurance companies invest the collected premiums to generate income and ensure they have sufficient funds to pay out claims.

  • When a policyholder experienc...read more

2w ago

Q. How many ways can a king move from one corner of a chessboard to the diagonally opposite corner, only moving towards the destination and not diagonally?

Ans.

The king can move only towards the corner and not diagonally. How many ways can a king go from one end of the chessboard to the diagonally opposite square?

  • The king can only move towards the corner, so there are limited options for each move

  • The total number of moves required to reach the opposite corner is 14

  • Using combinatorics, the total number of ways the king can reach the opposite corner is 3432

Asked in Google

1w ago

Q. How would you increase newspaper sales in your locality?

Ans.

To increase newspaper sales in the locality, I would focus on improving content, distribution, and marketing strategies.

  • Conduct market research to understand readers' preferences and interests

  • Create engaging and informative content that caters to the local audience

  • Offer attractive subscription packages and discounts to encourage regular readership

  • Partner with local businesses and events to increase visibility and distribution

  • Invest in targeted advertising and social media cam...read more

Asked in eClerx

2w ago

Q. What are the different types of derivatives?

Ans.

Derivatives are financial instruments whose value is derived from an underlying asset or benchmark.

  • Futures contracts

  • Options contracts

  • Swaps

  • Forwards contracts

  • Credit derivatives

  • Interest rate derivatives

  • Currency derivatives

  • Commodity derivatives

Asked in Deloitte

1w ago

Q. What is 3rd normal form?

Ans.

3rd normal form is a database normalization technique where every non-key attribute is dependent on the primary key.

  • In 3NF, there should be no transitive dependencies between non-key attributes.

  • It reduces data redundancy and improves data integrity.

  • Example: A table with columns for customer ID, order ID, and product ID. The product name should not be stored in this table as it is dependent on the product ID, not the customer or order ID.

  • Another example: A table with columns f...read more

Q. What is India's GDP and its growth rate ?

Ans.

India's GDP is $2.7 trillion with a growth rate of 4.2%.

  • India's GDP is one of the largest in the world.

  • As of 2020, India's GDP was $2.7 trillion.

  • The growth rate of India's GDP in 2020 was 4.2%.

  • India's GDP growth rate has been fluctuating over the years.

  • The COVID-19 pandemic had a significant impact on India's GDP growth.

2w ago

Q. What is inner join, outer join, left outer join?

Ans.

Inner join, outer join, and left outer join are types of SQL joins used to combine data from multiple tables.

  • Inner join returns only the matching rows from both tables

  • Outer join returns all rows from both tables, with null values for non-matching rows

  • Left outer join returns all rows from the left table and matching rows from the right table

  • Example: Inner join - SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id

  • Example: Outer join - SELECT * FROM table1 FULL OUTER...read more

Asked in ElectrifAi

2d ago

Q. What is the probability of a car passing on the highway in a given time period, given the probability of a car passing in one hour?

Ans.

Understanding car passing probabilities over time helps in traffic analysis and planning.

  • Probability can be calculated using the formula: P = (number of successful outcomes) / (total outcomes).

  • If a car passes every 10 minutes on average, in one hour (60 minutes), you expect 6 cars.

  • For a subset time, adjust the expected number of cars based on the time interval.

  • Example: In 15 minutes, if 6 cars pass in 60 minutes, expect 1.5 cars in 15 minutes.

Asked in Better.com

5d ago

Q. What is Fannie Mae? What is Freddie Mac? Explain and Difference between the two.

Ans.

Fannie Mae and Freddie Mac are government-sponsored enterprises that provide liquidity to the mortgage market.

  • Fannie Mae and Freddie Mac buy mortgages from lenders and package them into securities that are sold to investors.

  • Fannie Mae was created in 1938 and Freddie Mac in 1970.

  • Fannie Mae is a nickname for the Federal National Mortgage Association and Freddie Mac is a nickname for the Federal Home Loan Mortgage Corporation.

  • Fannie Mae and Freddie Mac were placed into conservat...read more

1w ago

Q. Estimate the number of packed drinking water bottles sold in Delhi.

Ans.

The estimated number of packed drinking water bottles sold in Delhi is difficult to determine without proper data analysis.

  • The number of packed drinking water bottles sold in Delhi can vary depending on various factors such as season, population, and demand.

  • One way to estimate the number of packed drinking water bottles sold in Delhi is to analyze the sales data of major water bottle brands in the city.

  • Another way to estimate the number of packed drinking water bottles sold i...read more

6d ago

Q. Tell us what you know about NT.

Ans.

NT can refer to several things, including Windows NT, neural networks, and the neurotransmitter serotonin.

  • NT stands for New Technology and was the name of Microsoft's operating system before Windows 2000.

  • NT can also refer to neural networks, which are a type of artificial intelligence that mimic the structure and function of the human brain.

  • In biology, NT often refers to neurotransmitters, which are chemicals that transmit signals between neurons in the brain and nervous syst...read more

4d ago

Q. Can you implement circular queues using stacks?

Ans.

Yes, we can implement circular queues using two stacks.

  • We can use two stacks to implement a circular queue.

  • One stack will be used for enqueue operation and the other for dequeue operation.

  • When the enqueue stack is full, we can transfer all elements to the dequeue stack and vice versa.

  • This way, we can maintain the circular nature of the queue.

  • Example: https://www.geeksforgeeks.org/queue-using-stacks/

Asked in ICICI Bank

1w ago

Q. How does a bank earn money?

Ans.

Banks earn money through various sources such as interest on loans, fees, investments, and trading.

  • Interest on loans

  • Fees (e.g. account maintenance fees, ATM fees, overdraft fees)

  • Investments (e.g. stocks, bonds, mutual funds)

  • Trading (e.g. foreign exchange, commodities)

  • Credit card interest and fees

Asked in ElectrifAi

1w ago

Q. There is a number lock on a bag with numbers from 1 to 8. The lock opens if any 2 of 3 numbers are correct. What is the minimum number of steps to open the bag?

Ans.

To open the number lock on the bag, you need to try combinations of three numbers, ensuring that at least two of them are correct.

  • Start by trying the combinations of the first two numbers with each of the remaining six numbers.

  • If none of these combinations work, move on to the next pair of numbers and repeat the process.

  • Continue this pattern until you find a combination that opens the lock.

Asked in UBS

2w ago

Q. What is the expected number of coin tosses required to get 3 consecutive heads?

Ans.

The expected number of coin tosses to get 3 consecutive heads is 14.

  • The probability of getting a head in a single coin toss is 1/2.

  • The probability of getting 3 consecutive heads is (1/2)^3 = 1/8.

  • The expected number of tosses to get 3 consecutive heads is the reciprocal of the probability, which is 8.

  • However, the first two tosses can be tails, so we need to add 2 more tosses, making the total expected number of tosses 14.

2d ago

Q. Why Deutsche Bank over Goldman Sachs or World Quant?

Ans.

Deutsche Bank offers a unique combination of global reach, diverse expertise, and innovative technology.

  • Deutsche Bank has a strong global presence with operations in over 60 countries.

  • The bank has a diverse range of expertise across various sectors including investment banking, corporate banking, and asset management.

  • Deutsche Bank is committed to innovation and has invested heavily in technology to improve its services and operations.

  • Goldman Sachs and World Quant may have the...read more

Previous
6
7
8
9
10
11
12
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
HCLTech Logo
3.5
 • 4.1k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Analyst Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits