Sample questions
Question 1Easy
In an A/B test, the randomisation unit is usually:
- The user
- The country
- The developer
- The server
Answer: A. The user
Explanation
Randomising by user keeps each person's experience consistent across visits.
Step-by-step solution
- Assigning by user gives each person a consistent experience.
- It avoids one person seeing both versions.
- Analysis is also usually per user.
Why the other options are wrong
- B. Countries are too few and too different for fair randomisation.
- C. Developers are not experiment subjects.
- D. Servers are infrastructure, not units of analysis.
Tip: Randomise by user unless there is a reason not to.
Question 2Easy
Conversion rate is calculated as:
- Clicks times impressions
- Visitors divided by conversions
- Conversions divided by visitors
- Revenue minus cost
Answer: C. Conversions divided by visitors
Explanation
For example, 50 purchases from 1,000 visitors is a 5% conversion rate.
Step-by-step solution
- Conversion rate = conversions / visitors.
- Example: 30 sign-ups from 1,000 visitors gives 30/1000 = 3%.
- So it is conversions divided by visitors.
Why the other options are wrong
- A. Multiplying clicks by impressions has no meaning as a rate.
- B. This is the inverse of the rate.
- D. Revenue minus cost is profit.
Tip: Rate = successes / opportunities, then x 100 for a percentage.
Question 3Easy
- Failing to detect a real effect
- Having too many users
- Detecting an effect that is not real
- Using the wrong metric
Answer: A. Failing to detect a real effect
Explanation
Its probability is beta; power = 1 - beta.
Step-by-step solution
- Type II: failing to reject a false null hypothesis.
- A real effect exists but the test misses it.
- Its probability is beta; power = 1 - beta.
Why the other options are wrong
- B. More users reduce Type II errors.
- C. Detecting an effect that is not real is Type I.
- D. Metric choice is a design issue.
Tip: Underpowered tests produce Type II errors.
Question 4Easy
- Two databases for speed
- Two employees' salaries
- Two versions to see which performs better
- Two charts' colours only
Answer: C. Two versions to see which performs better
Explanation
Users are split randomly between versions and a metric is compared.
Step-by-step solution
- Users are split randomly into two groups.
- Group A sees the current version, group B sees a changed version.
- A chosen metric (for example conversion rate) shows which version performs better.
Why the other options are wrong
- A. Database benchmarking is not what A/B testing means.
- B. Comparing salaries is not an experiment on versions.
- D. Colour can be the change tested, but the test compares performance, not colours only.
Tip: Change one thing at a time and fix the success metric before starting.
Question 5Medium
A p-value of 0.03 in an A/B test means:
- 97% of users preferred the variant
- Such a result is rare (3%) if there is no real difference
- There is a 3% chance the variant is better
- The variant is 3% better
Answer: B. Such a result is rare (3%) if there is no real difference
Explanation
The p-value is computed assuming the null hypothesis is true; it is not the probability that the null is true.
Step-by-step solution
- The p-value assumes no real difference (the null hypothesis).
- It is the chance of seeing a result at least this extreme under that assumption.
- 0.03 means such data would be rare (3%) if there were no difference.
Why the other options are wrong
- A. p-values say nothing about user preference percentages.
- C. It is not the probability that the variant is better.
- D. It does not measure effect size.
Tip: p-value = P(data this extreme | no effect).
Question 6Medium
Statistical power is the probability of:
- The control winning
- Having equal group sizes
- Getting a p-value above 0.05
- Detecting a real effect of a given size
Answer: D. Detecting a real effect of a given size
Explanation
Power rises with sample size, effect size and alpha; 80% is a common target.
Step-by-step solution
- Power = P(reject null | real effect of a given size).
- Power = 1 - beta.
- A common target is 80%.
Why the other options are wrong
- A. Power is not about which version wins.
- B. Equal groups help power but are not its definition.
- C. That would be failing to detect.
Tip: Plan for 80% power before starting.
Question 7Medium
Which is the null hypothesis in a typical A/B test?
- A is better than B
- Both versions fail
- A and B perform the same
- B is better than A
Answer: C. A and B perform the same
Explanation
The test looks for evidence against "no difference".
Step-by-step solution
- The null hypothesis states no difference.
- H0: A and B perform the same.
- The test checks whether the data give enough evidence to reject it.
Why the other options are wrong
- A. That is a directional alternative hypothesis.
- B. Failure of both is not a hypothesis being tested.
- D. That is the alternative hypothesis.
Tip: Null = no difference.
Question 8Medium
Why are users randomly assigned to A and B groups?
- To reduce server cost
- To make the groups comparable
- So engineers can pick their friends
- To make the test finish faster
Answer: B. To make the groups comparable
Explanation
Randomisation balances known and unknown confounders across groups.
Step-by-step solution
- Random assignment spreads user traits evenly across groups.
- Groups differ only by version.
- So outcome differences can be attributed to the change.
Why the other options are wrong
- A. Randomisation is about fairness, not cost.
- C. Picking users introduces bias.
- D. Randomisation does not shorten the test.
Tip: Randomise to compare like with like.
Question 9Hard
A test planned a 50/50 split but recorded 10,000 users in A and 9,000 in B. This most likely indicates:
- A Type II error
- A sample ratio mismatch
- A significant conversion lift
- Perfect randomisation
Answer: B. A sample ratio mismatch
Explanation
Such an imbalance is very unlikely by chance; the test's results may be biased until the cause is found.
Step-by-step solution
- Expected about 9,500 each for 19,000 users.
- 10,000 versus 9,000 is far from 50/50 at this size.
- This is a sample ratio mismatch (SRM), signalling a bug in assignment or logging.
Why the other options are wrong
- A. Type II errors concern missed effects.
- C. Group sizes are not conversion results.
- D. Randomisation would give close to equal sizes.
Tip: Unequal group sizes? Check for SRM first.
Question 10Hard
Control converts 200 of 5,000 and the variant 250 of 5,000. Using a pooled two-proportion z-test, the z statistic is approximately:
- 4.82
- 1.00
- 2.41
- 0.24
Answer: C. 2.41
Explanation
Pooled p = 0.045;
SE = sqrt(0.045 x 0.955 x (1/5000 + 1/5000)) = 0.00415;
z = 0.01 / 0.00415 = 2.41.
Step-by-step solution
- Pooled p = (200 + 250) / 10000 = 0.045.
- SE = sqrt(0.045 x 0.955 x (1/5000 + 1/5000)) = 0.00415.
- z = (0.05 - 0.04) / 0.00415 = 2.41.
Why the other options are wrong
- A. 4.82 is double the correct value.
- B. 1.00 is the difference in percentage points, not z.
- D. 0.24 misplaces the decimal.
Tip: |z| > 1.96: significant at 5%.
Practise all 19 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →