Data Analyst

1500+ Data Analyst Interview Questions and Answers

Updated 6 Jul 2025
search-icon

Asked in Walmart

1w ago

Q. How do you obtain data within your organization?

Ans.

Data is collected from various sources including databases, APIs, and user input.

  • We have access to multiple databases where we can extract relevant data

  • We use APIs to gather data from external sources such as social media platforms

  • Users can input data through forms or surveys

  • We also collect data through web scraping techniques

Asked in PwC

5d ago

Q. Write a query to retrieve all customer names that start with the letter 'A'.

Ans.

Query to retrieve all customer names starting with A.

  • Use the SELECT statement to retrieve customer names.

  • Use the LIKE operator with the pattern 'A%' to match names starting with A.

  • Specify the table and column name where the customer names are stored.

  • Example: SELECT customer_name FROM customers WHERE customer_name LIKE 'A%';

Asked in Walmart

1w ago

Q. Write code to describe the database and columns from a particular table.

Ans.

Code to describe database and columns from a table

  • Use SQL SELECT statement to retrieve column names and data types

  • Use DESC command to get table structure

  • Use INFORMATION_SCHEMA.COLUMNS to get detailed information about columns

  • Use SHOW CREATE TABLE to get table creation statement

2d ago
Q. How would you cut a cylindrical cake into 8 equal pieces using just 3 straight cuts of a knife?
Ans.

To cut a cylindrical cake into 8 equal pieces with 3 straight cuts, make 2 cuts parallel to the base and 1 cut perpendicular to the base.

  • Make the first cut horizontally through the middle of the cake to create two equal halves.

  • Make the second cut vertically through the center of one of the halves to create two equal quarters.

  • Make the third cut horizontally through the middle of one of the quarters to create two equal eighths.

Are these interview questions helpful?
2w ago

Q. What is a Brownian motion? Properties of Brownian motion?

Ans.

Brownian motion is the random motion of particles in a fluid due to collisions with other particles.

  • Brownian motion was first observed by Robert Brown in 1827.

  • It is named after the botanist Robert Brown.

  • The motion is caused by the random movement of fluid molecules.

  • Brownian motion is a continuous-time stochastic process.

  • It is often used to model various phenomena in physics, finance, and biology.

  • Properties of Brownian motion include random walk, Gaussian distribution, and sel...read more

2w ago

Q. We offer 30% of your salary as variable pay after one year of employment, with the timing of payment at our discretion. Are you still interested in this position?

Ans.

I would consider the offer based on the overall compensation package and career growth opportunities.

  • I would need more information on the overall compensation package to make a decision.

  • I would also consider the potential career growth opportunities and learning experiences at the company.

  • It would be important to understand the criteria and timing for receiving the variable pay.

  • I would evaluate the offer based on my long-term career goals and personal financial situation.

Data Analyst Jobs

Robert Bosch Engineering and Business Solutions Private Limited logo
EHM_Data Analyst 2-6 years
Robert Bosch Engineering and Business Solutions Private Limited
4.1
Coimbatore
IBM India Pvt. Limited logo
Talent Development Data Analyst 3-8 years
IBM India Pvt. Limited
4.0
₹ 4 L/yr - ₹ 13 L/yr
(AmbitionBox estimate)
Bangalore / Bengaluru
JP Morgan Chase logo
Client Data Analyst Client Data Analyst 0-4 years
JP Morgan Chase
3.9
Hyderabad / Secunderabad
6d ago

Q. What is a Martingale? What are Markov Processes? Is Martingale a Markov Process? Are Markov Processes Martingales?

Ans.

A Martingale is a mathematical concept used in probability theory and statistics. Markov Processes are stochastic processes that satisfy the Markov property.

  • A Martingale is a sequence of random variables where the expected value of the next variable, given the current and past variables, is equal to the current variable.

  • Markov Processes are stochastic processes where the future state depends only on the current state and not on the past states.

  • A Martingale is not necessarily ...read more

Asked in Walmart

1w ago

Q. What is the difference between the HAVING and WHERE clauses?

Ans.

HAVING clause is used with GROUP BY to filter the results based on aggregate functions, while WHERE clause is used to filter individual rows.

  • HAVING clause is used after GROUP BY clause.

  • HAVING clause is used to filter the results based on aggregate functions like SUM, COUNT, AVG, etc.

  • WHERE clause is used before GROUP BY clause.

  • WHERE clause is used to filter individual rows based on conditions.

  • HAVING clause cannot be used without GROUP BY clause.

  • WHERE clause can be used without...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in eClerx

1w ago

Q. Can you add an extra row and pivot table in Excel? If yes, how?

Ans.

Yes, we can add extra row and pivot table in excel.

  • To add a row, select the row below where you want to add the new row and right-click, then select 'Insert'.

  • To create a pivot table, select the data range and go to 'Insert' tab, click on 'PivotTable' and follow the prompts.

  • To add a new pivot table to an existing one, select a cell in the existing pivot table and go to 'Analyze' tab, click on 'PivotTable' and follow the prompts.

Asked in eClerx

1w ago

Q. Given a list of dictionaries, find the dictionary with the highest count of keys.

Ans.

Find the dictionary with the highest count of keys in a list of dictionaries.

  • Iterate through the list of dictionaries and keep track of the dictionary with the highest count of keys.

  • Use a loop to count the keys in each dictionary and compare it with the current highest count.

  • Return the dictionary with the highest count of keys.

1w ago

Q. What are permutations and combinations, and how are they used in data science?

Ans.

Permutation and combination are mathematical concepts used to count the number of possible outcomes in a given scenario.

  • Permutation is the arrangement of objects in a specific order while combination is the selection of objects without considering the order.

  • Permutation formula: nPr = n!/(n-r)! where n is the total number of objects and r is the number of objects selected.

  • Combination formula: nCr = n!/r!(n-r)! where n is the total number of objects and r is the number of objec...read more

1w ago

Q. What is SQL, what are the types of joins and what is the main difference between union and union all ?

Ans.

SQL is a programming language used for managing relational databases. Joins combine data from multiple tables. Union combines results from multiple queries without duplicates, while Union All includes duplicates.

  • SQL is a programming language used for managing relational databases.

  • Types of joins include inner join, left join, right join, and full outer join.

  • Union combines results from multiple queries without duplicates.

  • Union All includes duplicates in the combined result set.

Asked in Walmart

3d ago

Q. Define Excel Functions Sum , Sum if , Count , CountA , Count Blanks

Ans.

Excel functions are pre-built formulas that perform calculations or manipulate data in a spreadsheet.

  • Sum: adds up a range of numbers

  • Sum if: adds up a range of numbers based on a specified condition

  • Count: counts the number of cells in a range that contain numbers

  • CountA: counts the number of cells in a range that are not empty

  • Count Blanks: counts the number of empty cells in a range

Asked in Myntra

1w ago

Q. Create a pivot table and sort the data in ascending order.

Ans.

Create a pivot table and sort the data in ascending order.

  • To create a pivot table, select the data range and go to the 'Insert' tab in Excel.

  • Choose 'PivotTable' and select the location for the pivot table.

  • Drag the desired fields to the 'Rows' and 'Values' areas.

  • To sort the data in ascending order, click on the drop-down arrow next to the field name in the pivot table and select 'Sort A to Z'.

Asked in PhonePe

2w ago

Q. Different types of Joins in SQL and what are the outputs when you join two tables with nulls.

Ans.

Different types of Joins in SQL and the outputs when joining two tables with nulls.

  • Types of joins in SQL include inner join, left join, right join, and full outer join.

  • When joining two tables with nulls, the output depends on the type of join used.

  • In an inner join, null values are excluded from the result.

  • In a left join, all rows from the left table and matching rows from the right table are included, with nulls for non-matching rows.

  • In a right join, all rows from the right t...read more

Asked in Walmart

1w ago

Q. What is the difference between a CSV file and an Excel file?

Ans.

CSV files are plain text files that store tabular data, while Excel files are binary files that can contain multiple sheets and complex formatting.

  • CSV files are simpler and more lightweight compared to Excel files.

  • CSV files can be easily opened and edited using a text editor, while Excel files require specific software like Microsoft Excel.

  • CSV files do not support formulas, macros, or formatting options like colors and fonts, while Excel files do.

  • CSV files have a smaller file...read more

Asked in Paytm

4d ago

Q. How can you fill information into all selected blank spaces in Google Sheets with just one click?

Ans.

Yes, we can use the Fill Down feature in Google Sheets to fill information in all selected blank spaces in just one click.

  • Select the cell with the information you want to fill

  • Hover over the bottom right corner of the cell until the cursor changes to a small blue square

  • Click and drag the blue square down to the last cell where you want the information to be filled

1w ago

Q. Explain why and when Analysis of Variance (ANOVA) is used.

Ans.

ANOVA is used to compare means across multiple groups to determine if at least one group differs significantly.

  • ANOVA is used when comparing three or more groups to see if their means are statistically different.

  • Example: Testing the effectiveness of three different diets on weight loss.

  • It helps in understanding the impact of categorical independent variables on a continuous dependent variable.

  • Example: Analyzing test scores of students from different teaching methods.

  • ANOVA can ...read more

1w ago
Q. In a marketing campaign, how would you decide which metrics to track?
Ans.

Metrics selection based on campaign objectives, target audience, and key performance indicators.

  • Identify campaign objectives and goals

  • Consider target audience and their behavior

  • Select key performance indicators (KPIs) relevant to the campaign

  • Track metrics such as conversion rate, click-through rate, ROI, customer acquisition cost

  • Analyze data to measure success and make data-driven decisions

Asked in Cognizant

1w ago

Q. Who would you query when you have TP discrepant data?

Ans.

I would query the relevant stakeholders involved in the data collection process.

  • Identify the stakeholders involved in the data collection process

  • Reach out to them to understand the data collection process and identify any potential issues

  • Collaborate with them to resolve the TP discrepant data

Asked in Morningstar

2w ago

Q. What is the effect of a stock split on the market capitalization of a company?

Ans.

A stock split increases the number of shares outstanding and decreases the price per share, but does not affect the market capitalisation.

  • Stock split does not affect the total value of the company

  • Market capitalisation remains the same after a stock split

  • Stock split increases the number of shares outstanding and decreases the price per share

  • For example, if a company has 1 million shares outstanding and the stock splits 2-for-1, the company will have 2 million shares outstandin...read more

Asked in Indegene

1w ago
Q. What questions were you asked regarding Machine Learning, specifically in exploratory data analysis, the basics of deep learning, and can you describe the puzzle that was presented?
Ans.

Discussed machine learning topics in exploratory data analysis and deep learning during interview.

  • Discussed the importance of exploratory data analysis in understanding the dataset before applying machine learning algorithms.

  • Explained the basics of deep learning, including neural networks, activation functions, and backpropagation.

  • Described a puzzle related to machine learning, such as predicting customer churn based on historical data.

Asked in EXL Service

1w ago

Q. Given a table with match details (countries in first two columns, winner in the third), write a query to get the number of matches played by each team and the number of matches won by each team.

Ans.

Query to get number of matches played and won by each team from a table of match details.

  • Use GROUP BY clause to group the data by team name.

  • Use COUNT() function to get the number of matches played by each team.

  • Use SUM() function with a condition to get the number of matches won by each team.

Q. Given a table with fields (id, name, salary, managerId), find the managers who have at least 5 reportees under them.

Ans.

Use SQL query to count number of reportees for each manager and filter out those with atleast 5 reportees.

  • Write a SQL query to count number of reportees for each manager using GROUP BY clause

  • Add HAVING clause to filter out managers with atleast 5 reportees

  • Example: SELECT managerId, COUNT(id) AS num_reportees FROM table_name GROUP BY managerId HAVING num_reportees >= 5

2w ago

Q. What is an Aadhar card?

Ans.

Aadhaar card is a unique identification card issued by the Indian government to residents of India.

  • Aadhaar card is a 12-digit unique identification number issued by the Unique Identification Authority of India (UIDAI).

  • It serves as proof of identity and address for Indian residents.

  • Aadhaar card contains biometric and demographic information of the cardholder, including fingerprints and iris scans.

  • It is used for various purposes such as opening bank accounts, getting a SIM card...read more

Asked in S&P Global

1w ago

Q. What is the financial market, in your opinion?

Ans.

Financial market is a platform where buyers and sellers trade financial assets such as stocks, bonds, currencies, and commodities.

  • Financial market facilitates the exchange of financial assets between buyers and sellers

  • It includes stock markets, bond markets, currency markets, and commodity markets

  • Financial market plays a crucial role in the economy by allocating capital to businesses and governments

  • Examples of financial markets include NYSE, NASDAQ, London Stock Exchange, and...read more

Asked in Walmart

2w ago

Q. How much data have you handled so far?

Ans.

I have handled large amounts of data in my previous roles.

  • I have experience handling terabytes of data in my previous role as a data analyst at XYZ company.

  • I have worked with data from various sources such as databases, spreadsheets, and APIs.

  • I have also used tools like SQL, Python, and Excel to manipulate and analyze data.

  • I am comfortable working with both structured and unstructured data.

  • I have experience cleaning and transforming data to make it usable for analysis.

Asked in Cointab

1d ago

Q. Explain a reconciliation assignment that you completed in the first step.

Ans.

Reconciliation assignment involves comparing and matching data from different sources.

  • Identify sources of data to be reconciled

  • Compare data from different sources

  • Match data based on common identifiers

  • Resolve discrepancies and errors

  • Ensure accuracy and completeness of reconciled data

Asked in First Solar

1d ago

Q. how to do you detect outliers in the data and how do you treat them

Ans.

Outliers can be detected using statistical methods and treated by either removing them or replacing them with a more appropriate value.

  • Use box plots, scatter plots, or histograms to visually identify outliers

  • Calculate the z-score or interquartile range (IQR) to identify outliers statistically

  • Remove outliers if they are due to data entry errors or measurement errors

  • Replace outliers with a more appropriate value if they are valid data points but extreme

  • Consider the impact of ou...read more

1w ago

Q. what is the difference between a list and a tuple and what is list comprehension?

Ans.

A list is mutable and can be modified, while a tuple is immutable and cannot be changed. List comprehension is a concise way to create lists.

  • List: Mutable, can be modified. Tuple: Immutable, cannot be changed.

  • List: Defined with square brackets []. Tuple: Defined with parentheses ().

  • List comprehension: Concise way to create lists by iterating over an iterable and applying an expression.

  • Example of list comprehension: squares = [x**2 for x in range(10)]

Previous
1
2
3
4
5
6
7
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Data 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