Data Analyst
200+ Data Analyst Interview Questions and Answers for Freshers
Q1. Suppose there is a room in the office and X people enter room throughout the day, Y people leave throughout the day [continuously people are entering the room, some are staying there, and rest are going out] .....
read moreCode to calculate number of people in a room at EOD given X enter and Y leave throughout the day.
Create a variable to keep track of the current number of people in the room
Increment the variable by X every time someone enters the room
Decrement the variable by Y every time someone leaves the room
Return the final value of the variable at the end of the day
Example: If 10 people enter and 5 leave, there will be 5 people in the room at EOD
Ninja has recently joined the FBI. Ninja got some secret information ‘SECRET_INFORMATION’ which he wants to share with his team. But he can not send this information directly bec...read more
You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.
Note:
a) Duplicate elements may be present. b) If no...read more
You are given an array Arr consisting of N integers. You need to find the equilibrium index of the array.
An index is considered as an equilibrium index if the sum of elements of the array to t...read more
You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more
You are given a matrix ‘MAT’. Print the transpose of the matrix. The transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, transpose of a matrix...read more
Share interview questions and help millions of jobseekers 🌟
Q7. How to find the minimum number from a given set of numbers ?
To find the minimum number from a set of numbers, compare each number with the others and select the smallest.
Compare each number with the others in the set
Select the smallest number as the minimum
Some questions were guesstimates, for example- how much paint would you require to paint a wall of 10*10*10m.
Data Analyst Jobs
How many Pizza's are sold in one day in Pune?
A business case study was asked.
What all factors are required for a good advertisement and by what factors will you analyze whether the advertisement is doing well or not.
Factors for a good advertisement and how to analyze its performance
Factors for a good advertisement include target audience, compelling message, creativity, and effective placement
To analyze advertisement performance, factors like reach, engagement, conversion rates, and return on investment (ROI) are considered
Metrics such as click-through rates, conversion rates, and sales data can be used to evaluate the success of an advertisement
The questions basically consisted of HR questions and Guesstimates. like give an example about the time you showed your leadership skills, give an example of the time when you have taken a risk...read more
We were given 2 SQL queries to write in 30 mins.The problems were based on joins.We were given two tables, Employees and Department and were asked to fetch data as instructed.The level of the prob...read more
The interview question was about writing SQL queries to fetch data from two tables using joins.
The question was based on joins in SQL.
Two tables, Employees and Department, were given.
The task was to fetch data as instructed.
The difficulty level of the problems was moderate.
Designing a Tableau Dashboard for the given problem statement. The problem statement had data for some countries, we had to design dashboard as mentioned in the problem.
Designing a Tableau Dashboard for a problem statement involving data for multiple countries.
Identify the key metrics and dimensions to be displayed on the dashboard
Create visualizations such as charts, graphs, and maps to represent the data
Organize the dashboard layout in a user-friendly manner
Apply filters and interactive features to allow users to explore the data
Consider the target audience and their specific needs when designing the dashboard
Q14. 1) What Is IPO 2) Sides Of Balance Sheet 3) What Is Depreciation 4) Financial Statements
Questions related to finance and accounting
IPO stands for Initial Public Offering, which is the first time a company's stock is offered to the public
Balance sheet has two sides - assets and liabilities & equity
Depreciation is the decrease in value of an asset over time due to wear and tear or obsolescence
Financial statements include income statement, balance sheet, and cash flow statement
Writing SQL queries. Discussion on Machine Learning concepts
Questions from Tableau Assignment
What is difference between delete and truncate?
Q16. What is SQL, what are the types of joins and what is the main difference between union and union all ?
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.
SQL join to your database query
What is polymorphism
There are 6 people A, B, C, D, E, F sitting around a round table, we have to accurately guess the positions of all of them.
Q19. Can we add extra row and pivot table in excel? If yes than how?
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.
We were given 2 SQL queries to write in 30 mins.The problems were based on joins.We were given two tables, Employees and Department and were asked to fetch data as instructed.The level of the probl...read more
Q21. What is aadhar card (because i am in aadhhar process)
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
The market hare for ABC company is declining, how would you suggest to increase their market share, what tactics the company can use.
A business case study was asked.
What all factors are required for a good advertisement and by what factors will you analyze whether the advertisement is doing well or not.
Q24. What is row number, rank, dense rank? explain partition by, indexing joins, query optimization techniques
Explanation of row number, rank, dense rank, partition by, indexing joins, and query optimization techniques.
Row number is a function that assigns a unique number to each row in a result set.
Rank is a function that assigns a rank to each row based on the values in a specified column.
Dense rank is a function that assigns a rank to each row based on the values in a specified column, but with no gaps in the ranking.
Partition by is a clause that divides a result set into partitio...read more
Q25. Filters Transfer data from 1 sheet to other Join , inner, outer, self, left right Along with the syntax Colene function in SQL Show top value show values between a date range Sumifs countifs
Answering questions related to data filtering, transferring, joining, and SQL functions for a Data Analyst role.
To transfer data from one sheet to another, you can use functions like VLOOKUP or INDEX/MATCH in Excel.
Different types of joins in SQL include INNER JOIN, OUTER JOIN, LEFT JOIN, RIGHT JOIN, and SELF JOIN.
Syntax for INNER JOIN: SELECT columns FROM table1 INNER JOIN table2 ON table1.column = table2.column;
Syntax for SUMIFS in Excel: =SUMIFS(sum_range, criteria_range1,...read more
Q26. Excel :- Difference between vlookup and Index(Match)
VLOOKUP searches for a value in the first column of a table and returns a corresponding value in the same row. INDEX/MATCH uses two functions to look up a value based on its position in a table.
VLOOKUP only searches for values in the first column of a table, while INDEX/MATCH can search for values in any column.
INDEX/MATCH is more flexible and efficient for large datasets.
VLOOKUP is easier to use for simple lookups with small datasets.
INDEX/MATCH can handle errors more effect...read more
Q27. what is the difference between a list and a tuple and what is list comprehension?
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)]
Q28. What do you know about R1RCM and the role you applied for?
R1RCM is a healthcare revenue cycle management company. The role is for a data analyst position.
R1RCM specializes in providing revenue cycle management services to healthcare providers.
The company uses advanced technology and analytics to optimize revenue cycle performance.
As a data analyst, the role involves analyzing and interpreting healthcare data to identify trends and insights.
The data analyst will work closely with other teams to develop strategies for improving revenu...read more
Q29. Brexit vote and how it would effect the indian economy?
The Brexit vote could have both positive and negative effects on the Indian economy.
Positive effects: Increased trade opportunities with the UK, potential for attracting foreign investments from companies relocating from the UK.
Negative effects: Uncertainty in global markets leading to volatility in exchange rates, potential decline in exports to the UK.
Example: Indian IT companies may face challenges due to stricter immigration policies in the UK.
Example: Indian textile expo...read more
Q30. extract the details of all employees whose salary is more than 5000000 and write a query.
Query to extract details of employees with salary more than 5000000.
Use SELECT statement to retrieve employee details
Add WHERE clause to filter employees with salary greater than 5000000
Example: SELECT * FROM employees WHERE salary > 5000000
Q31. How many cups of tea is consumed in Delhi for a week?
It is impossible to accurately determine the number of cups of tea consumed in Delhi for a week without proper data.
There is no official data available on the exact number of cups of tea consumed in Delhi for a week.
The number of cups of tea consumed in Delhi for a week varies depending on various factors such as weather, season, and individual preferences.
It is estimated that Delhi consumes a significant amount of tea due to its cultural and historical significance.
Factors s...read more
Q32. Can regression be used to solve Classification Problems?
No, regression is used for predicting continuous values, while classification is used for predicting categorical values.
Regression predicts continuous values, while classification predicts categorical values
Regression models include linear regression, polynomial regression, etc.
Classification models include logistic regression, decision trees, etc.
Q33. Write a sql query to find out different routes for a airline. Table has two columns which are destination and source
Use a SQL query to find different routes for an airline based on source and destination columns in a table.
Use a SELECT statement to retrieve the distinct combinations of source and destination.
Use the DISTINCT keyword to ensure only unique routes are returned.
Order the results by source and destination for easier analysis.
I was asked questions from Machine Learning and specifically from exploratory data analysis and then basics of deep learning and finally a puzzle was asked.
The interview included questions on machine learning, exploratory data analysis, basics of deep learning, and a puzzle.
Questions on machine learning
Questions on exploratory data analysis
Questions on basics of deep learning
A puzzle was asked
Q35. a men fell in 50m well he climbs 4m up and slips 3 m down in a day.how many days would it take him to come out of the well?
It would take the man 47 days to come out of the well.
The man climbs 1m (4m up - 3m down) each day.
He needs to climb a total of 50m to come out of the well.
Therefore, it would take him 47 days to climb the remaining 46m (50m - 4m).
Q36. Dcount function ABS function Excel remove minus sign from integer using a formula.
Dcount function counts the number of unique values in a dataset. ABS function returns the absolute value of a number. To remove minus sign from an integer in Excel, use a formula like =ABS(A1).
Dcount function counts unique values in a dataset
ABS function returns absolute value of a number
To remove minus sign from an integer in Excel, use formula like =ABS(A1)
Q37. How to track 1 million records being generated online every 5 minutes
Use a distributed system with real-time processing to track 1 million records generated every 5 minutes.
Implement a distributed system like Apache Kafka or Apache Spark to handle the large volume of data.
Use real-time processing to ensure that the data is analyzed and tracked as soon as it is generated.
Consider using cloud-based solutions like AWS or Google Cloud Platform for scalability and cost-effectiveness.
Implement data validation and error handling to ensure data accura...read more
Q38. How can increase our income in mushroom cultivation?
Increasing income in mushroom cultivation can be achieved through various strategies.
Diversify mushroom varieties to cater to different market demands
Improve cultivation techniques to increase yield and reduce costs
Develop value-added products like mushroom powders or extracts
Establish direct sales channels to eliminate middlemen and increase profit margins
Explore export opportunities to reach international markets
Invest in marketing and branding to create awareness and attra...read more
Q39. What can made lower person to standard person in mushroom cultivation?
Lack of proper knowledge, poor cultivation practices, and inadequate environmental conditions can lower person to standard person in mushroom cultivation.
Lack of knowledge about different mushroom species and their specific cultivation requirements
Poor cultivation practices such as improper substrate preparation, inadequate sterilization, or incorrect temperature and humidity control
Inadequate environmental conditions like insufficient light, improper ventilation, or contamin...read more
Q40. How to calculate requirement of Banana is a city like Mumbai
The requirement of bananas in a city like Mumbai can be calculated based on population, consumption habits, and availability.
Calculate the population of Mumbai
Estimate the average consumption of bananas per person
Consider factors like tourism and events that may increase demand
Take into account the availability of bananas from local markets and imports
Q41. How to know , difference between a good or bad retailer
A good retailer focuses on customer satisfaction, product quality, and efficient operations.
Good retailers prioritize customer satisfaction by providing excellent customer service and addressing customer needs.
Good retailers offer high-quality products that meet customer expectations.
Good retailers have efficient operations, including inventory management, supply chain logistics, and streamlined processes.
Bad retailers may have poor customer service, low-quality products, and...read more
Q42. What are the skills need for data analyst?
Skills needed for data analyst include strong analytical skills, proficiency in data analysis tools, programming knowledge, and communication skills.
Strong analytical skills to interpret complex data sets
Proficiency in data analysis tools such as Excel, SQL, Python, R, etc.
Programming knowledge to manipulate and analyze data effectively
Communication skills to present findings and insights to stakeholders
Q43. create a list and print all the even numbers and all odd numbers.
Create a list of even and odd numbers and print them separately.
Create an empty list to store even numbers
Create another empty list to store odd numbers
Iterate through a range of numbers and append them to the respective lists based on their parity
Print the lists of even and odd numbers separately
Q44. If I give 1000000 then what would be the first thing you’ll do?
I would clarify if the number is in dollars, units, or any other currency.
Ask for clarification on the unit of the number (e.g. dollars, units, etc.)
Understand the context in which the number is being provided
Determine the purpose or reason for providing the number
Q45. what type of language is python?
Python is a high-level programming language known for its simplicity and readability.
Python is an interpreted language, meaning it does not need to be compiled before running.
It supports multiple programming paradigms, including object-oriented, imperative, and functional programming.
Python has a large standard library and a thriving community, making it versatile and widely used.
Example: Python is used for web development (Django, Flask), data analysis (Pandas, NumPy), and a...read more
Q46. What could be the possible reasons for delay in delivery?
Possible reasons for delay in delivery
Logistical issues such as traffic or weather
Inadequate inventory management
Production delays
Customs clearance delays
Incorrect address or contact information
Technical issues with delivery vehicles or equipment
Q47. Pull dataset from SQL to Power BI and perform the visualization
Use Power BI to connect to SQL database, import dataset, and create visualizations
Connect Power BI to SQL database
Import dataset from SQL into Power BI
Create visualizations using the imported data
Q48. How do you prioritize your tasks in a data project?
I prioritize tasks in a data project by assessing deadlines, importance, dependencies, and impact on overall project goals.
Identify deadlines for each task and prioritize based on urgency
Consider the importance of each task in relation to project goals
Take into account dependencies between tasks and prioritize accordingly
Assess the potential impact of completing each task on the overall project success
Q49. write a query to retrive all the employee names who have joined in last 30 days
Query to retrieve employee names who joined in last 30 days
Use the current date and subtract 30 days to get the date 30 days ago
Join the employee table with the date joined column to filter employees who joined in the last 30 days
Q50. What methods are used to identify the peak and trough of a signal?
Various methods such as visual inspection, mathematical algorithms, and statistical techniques are used to identify the peak and trough of a signal.
Visual inspection of the signal waveform to identify the highest point as the peak and the lowest point as the trough.
Mathematical algorithms like finding the derivative of the signal and locating the points where it equals zero to identify peaks and troughs.
Statistical techniques such as moving average or peak detection algorithm...read more
Interview Questions of Similar Designations
Top Interview Questions for Data Analyst Related Skills
Interview experiences of popular companies
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
Reviews
Interviews
Salaries
Users/Month