Data Science Interview Practice

Practice 60 original data science interview questions covering statistics, probability, Python, pandas, SQL, machine learning, metrics, and A/B testing, with answers and explanations.

Level: Data Science Interview Difficulty: intermediate 60 questions 60 min
Choose a practice mode, answer each data science interview question, then review the explanation. Wrong answers are saved locally for review.
Day streak: 0 days Saved only on this device
Progress 0 / 60
Question 1

What is a p-value?

Select an answer
Question 2

Which distribution is symmetric and bell-shaped?

Select an answer
Question 3

What does standard deviation measure?

Select an answer
Question 4

Which test compares the means of two independent groups?

Select an answer
Question 5

What does correlation measure?

Select an answer
Question 6

Which correlation value indicates no linear relationship?

Select an answer
Question 7

What is a confidence interval?

Select an answer
Question 8

Which measure of central tendency is most robust to outliers?

Select an answer
Question 9

What does P(A|B) represent?

Select an answer
Question 10

What is Bayes theorem used for?

Select an answer
Question 11

Which distribution models the count of events in a fixed interval?

Select an answer
Question 12

What is a type I error?

Select an answer
Question 13

Which pandas function reads a CSV file?

Select an answer
Question 14

Which method returns the first rows of a DataFrame?

Select an answer
Question 15

Which pandas method removes rows with missing values?

Select an answer
Question 16

Which pandas method fills missing values with a chosen value?

Select an answer
Question 17

Which pandas operation groups rows and applies an aggregation?

Select an answer
Question 18

Which method combines two DataFrames by columns?

Select an answer
Question 19

What does .value_counts() do?

Select an answer
Question 20

Which method applies a function to each element in a Series?

Select an answer
Question 21

What is a pandas DataFrame?

Select an answer
Question 22

Which pandas method computes summary statistics?

Select an answer
Question 23

Which Python library provides multidimensional arrays?

Select an answer
Question 24

Which Python library is commonly used for plotting?

Select an answer
Question 25

Which SQL clause filters rows?

Select an answer
Question 26

Which SQL clause groups rows?

Select an answer
Question 27

Which SQL clause filters groups after aggregation?

Select an answer
Question 28

Which join returns all rows from the left table and matching rows from the right?

Select an answer
Question 29

Which SQL function counts rows?

Select an answer
Question 30

Which SQL function computes the average?

Select an answer
Question 31

Which keyword removes duplicate values from a query result?

Select an answer
Question 32

Which SQL clause sorts results?

Select an answer
Question 33

Which SQL keyword limits the number of returned rows in many dialects?

Select an answer
Question 34

Which SQL operator matches string patterns?

Select an answer
Question 35

What is a primary key?

Select an answer
Question 36

Which join returns only rows with matches in both tables?

Select an answer
Question 37

What is supervised learning?

Select an answer
Question 38

Which task predicts categorical labels?

Select an answer
Question 39

Which task predicts continuous values?

Select an answer
Question 40

Which algorithm is commonly used for binary classification?

Select an answer
Question 41

What is overfitting?

Select an answer
Question 42

Which technique helps reduce overfitting in decision trees?

Select an answer
Question 43

What is cross-validation?

Select an answer
Question 44

What is precision?

Select an answer
Question 45

What is recall?

Select an answer
Question 46

What is the F1 score?

Select an answer
Question 47

Which metric is often preferred for imbalanced classification?

Select an answer
Question 48

What is feature engineering?

Select an answer
Question 49

Which algorithm is commonly used for clustering?

Select an answer
Question 50

What is A/B testing?

Select an answer
Question 51

What is a metric?

Select an answer
Question 52

What is a conversion rate?

Select an answer
Question 53

What is retention?

Select an answer
Question 54

What is churn?

Select an answer
Question 55

What is cohort analysis?

Select an answer
Question 56

What is a null hypothesis?

Select an answer
Question 57

Which of the following are Python data analysis libraries? Select all that apply.

Select an answer
Question 58

Which of the following are SQL aggregate functions? Select all that apply.

Select an answer
Question 59

A p-value below 0.05 always proves the alternative hypothesis.

Select an answer
Question 60

Match each machine learning metric to its definition.