P
prepair.app
Start interview →
EnglishУкраїнськаРусскийDeutsch
📊

Junior Data ScientistData scientist interview questions

Junior · no experience / under 1 year

Data science interviews test three things at once: whether you actually understand statistics rather than reciting definitions, whether you can pull and shape data yourself with SQL and pandas, and whether you can turn a model into a decision someone will act on. Below are the questions asked most often, each with a model answer. Junior: core theory, definitions, and simple practical cases.

Try it — no account needed
Preparing your question…

Topics to prepare

Statistics and probability fundamentals
Hypothesis testing, p-values, confidence intervals
SQL and data manipulation with pandas
Regression, classification, feature engineering
A/B testing and experiment design
Causal inference and communicating results

6 Junior-level questions with answers

1

What is the difference between population and sample statistics, and why does it change your formulas?

Answer

A population statistic describes everyone you care about; a sample statistic estimates it from a subset, and that estimation adds uncertainty a population parameter doesn't have. It shows up concretely in variance: dividing by n-1 instead of n for sample variance (Bessel's correction) corrects a bias that would otherwise systematically underestimate the true population variance.

2

What is the difference between correlation and causation, in plain terms?

Answer

Correlation means two variables move together; causation means one produces a change in the other. Ice cream sales and drowning deaths correlate because both rise in summer heat — neither causes the other. Treating a correlation as causal without a controlled comparison or a plausible mechanism is the single most common analytical mistake junior analysts make.

3

How would you join two tables in SQL, and what is the difference between INNER and LEFT JOIN?

Answer

INNER JOIN keeps only rows that match on the join key in both tables; LEFT JOIN keeps every row from the left table and fills in NULLs where there is no match on the right. Picking INNER JOIN by default when you actually want LEFT JOIN silently drops rows — customers with no orders disappear entirely instead of showing up with a zero, which quietly biases any aggregate built on top.

4

What does a normal distribution tell you, and what breaks that assumption in real data?

Answer

A normal distribution is symmetric around its mean, with about 68% of values within one standard deviation and 95% within two — it underlies most classical statistical tests. Real business data is often not normal: revenue and session duration are right-skewed with a long tail, and counts of rare events follow a Poisson shape instead, which is why you check the distribution before assuming a t-test is valid.

5

What is the difference between `pandas` `.loc` and `.iloc`?

Answer

.loc selects by label — the actual index or column name — while .iloc selects by integer position regardless of what the labels are. They diverge painfully after filtering or sorting a DataFrame, because the positional order no longer matches the original index; using .iloc[0] there gives you the first row of the current view, not "index 0."

6

What is p-hacking, and how do you avoid doing it by accident?

Answer

P-hacking is running many analyses — different metrics, different cuts of the data, different time windows — until one crosses p < 0.05, then reporting only that one as if it were the single test you planned. It happens by accident when you check a dashboard daily and stop the moment a metric looks significant. The fix is pre-registering what you'll measure and when you'll look before the data comes in, not after.

🦎

Reading answers is not enough

In a real interview you speak under pressure. Cam asks these same questions, scores every answer, and shows exactly what to fix.

Practice a Junior Data Scientist interview →
Free · 3 interviews per month

Other levels — Data Scientist

Middle Data ScientistSenior Data ScientistAll Data Scientist questions

Other specializations

🔍Junior Manual QA🤖Junior QA AutomationJunior Java Backend🐍Junior Python Backend🐘Junior PHP Backend🦫Junior Go Backend🟢Junior Node.js Backend💎Junior Ruby on Rails🟣Junior .NET Backend Developer🔷Junior C++