PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Databricks

Test coin fairness from 560 tails in 1000 flips

Last updated: Mar 29, 2026

Quick Overview

This problem evaluates hypothesis testing for proportions—formulating null and alternative hypotheses, applying the binomial-to-normal approximation, and interpreting p-values; it belongs to Statistics & Math for Data Scientist roles and is pitched at an introductory/undergraduate applied statistics level.

  • hard
  • Databricks
  • Statistics & Math
  • Data Scientist

Test coin fairness from 560 tails in 1000 flips

Company: Databricks

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Technical Screen

You flip a coin n = 1000 times and observe 560 tails. At significance level α = 0.05, test whether the coin is fair. - State the null and alternative hypotheses. - Show the test statistic and its distribution/approximation. - Compute (or approximate) the p-value. - State your conclusion. Assume an i.i.d. Bernoulli model for tails with probability p.

Quick Answer: This problem evaluates hypothesis testing for proportions—formulating null and alternative hypotheses, applying the binomial-to-normal approximation, and interpreting p-values; it belongs to Statistics & Math for Data Scientist roles and is pitched at an introductory/undergraduate applied statistics level.

Related Interview Questions

  • Explain Linear Regression Assumptions - Databricks (hard)
  • Relate coefficients under linear feature transformation - Databricks (easy)
  • Test if coin is fair from 560 tails - Databricks (easy)
  • Relate coefficients under linear feature transformation - Databricks (hard)
  • Diagnose and fix multicollinearity in income regression - Databricks (hard)
Databricks logo
Databricks
Dec 12, 2025, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
5
0

You flip a coin n = 1000 times and observe 560 tails.

At significance level α = 0.05, test whether the coin is fair.

  • State the null and alternative hypotheses.
  • Show the test statistic and its distribution/approximation.
  • Compute (or approximate) the p-value.
  • State your conclusion.

Assume an i.i.d. Bernoulli model for tails with probability p.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Databricks•More Data Scientist•Databricks Data Scientist•Databricks Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.