HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Statistics & Data Science
  2. /Statistics Basics
  3. /Random Variables and Distributions

Random Variables and Distributions

Statistics & Data Science · High School (9–10) · 3 courses, 30 worked problems, 74 practice questions

A random variable gives a number to each outcome of an experiment, such as the number of heads in four tosses of a coin. Its probability distribution lists each value with its probability, and the probabilities add up to 111. The expected value E(X)=∑x P(x)E(X) = \sum x\,P(x)E(X)=∑xP(x) is the long-run mean. The binomial distribution counts successes in a fixed number of independent trials. The normal distribution is a symmetric bell-shaped curve that fits many measurements, such as heights. We use zzz-scores and tables to find probabilities from it.

With practice you will be able to

  • Find the expected value and variance of a random variable
  • Find binomial probabilities for a fixed number of trials
  • Find normal probabilities with zzz-scores

On the syllabus of

  • ISC
  • AP
  • IB
  • A-Level
  • IGCSE

Lessons

  • Random Variables and Expected ValueCan an expected value be a number that never happens? How many cups does a café customer order?High School (9–10)
  • Counting Successes: The Binomial ModelHow many of 12 seeds should you expect to come up? Is 62 heads in 100 tosses suspicious?High School (9–10)
  • The Normal Distribution and Its AreasWhy do help desk waiting times break the bell curve? When does a count look normal?High School (9–10)

Practice questions

Choose an answer, then check it. Each one shows a full explanation.

The masses of eggs from a farm are modelled by a Normal distribution with mean 58 g and standard deviation 4 g. An egg is graded Medium if its mass is between 53 g and 63 g. What is the probability that an egg chosen at random from the Medium eggs has a mass above 60 g?

Each seed in a packet of 25 seeds germinates with probability 0.85, independently of the others. Let XXX be the number of seeds that germinate. What is the probability that XXX lies within one standard deviation of its mean, that is, from μ−σ\mu-\sigmaμ−σ to μ+σ\mu+\sigmaμ+σ inclusive?

The mass of each chocolate in a box is Normal with mean 20 g and standard deviation 1.5 g, independently. A box holds 5 chocolates. A box is accepted only if every chocolate has a mass of more than 18 g. What is the probability that a box is accepted?

A spinner shows the scores 1, 2, 3, 4 and 5. The probability of each score is proportional to the score, so P(X=3)P(X=3)P(X=3) is three times P(X=1)P(X=1)P(X=1). A player is paid £(4X−3)(4X-3)(4X−3). What is the standard deviation of the payment?

The masses of seeds from one plant are modelled by a Normal distribution. The 15th percentile of the masses is 4.1 mg and the 90th percentile is 7.3 mg. Which pair gives the mean and the standard deviation of this model?

In a workshop, cutting a panel takes a time that is Normal with mean 14 minutes and standard deviation 2.5 minutes. Finishing a different panel takes an independent time that is Normal with mean 20 minutes and standard deviation 3.0 minutes. What is the probability that cutting one panel takes longer than 0.6 times the time to finish the other?

An archer hits the target with probability 0.7 on each of 8 independent shots. Given that she hits the target at least 5 times, what is the probability that she hits it exactly 6 times?

In a game, each attempt wins with probability 0.15, independently of the others. A player has lost on each of the first 4 attempts. What is the probability that the first win comes on or before the 9th attempt?

At a fair, a player pays £3 to spin a wheel. The prize is £0 with probability 0.55, £2 with probability 0.25, £8 with probability 0.15 and £20 with probability 0.05. The net gain of a spin is the prize minus £3. A player spins the wheel 100 times, independently. Use a Normal approximation to estimate the probability that the player's total net gain is positive.

Which of these is a discrete random variable?

All 74 practice questions on Random Variables and Distributions →

Worked problems

Each one has a hint, the key idea and a full worked solution.

  • A made-up survey asks 50 households how many cars they own…Easy
  • A fair die is rolled twice. Let X be the number of sixes in the two rolls…Medium
  • A random variable X takes the values 1, 2, 3 and 4, and P(X = x) = c(5 - x) for some constant c…Medium
  • At a made-up café, each customer orders 1, 2 or 3 cups of tea with probabilities 0.6, 0.3 and 0.1…Easy
  • A made-up computer shop studies its laptops…Medium
  • A made-up firm has two vans. Van A sends back 0, 1 or 2 parcels a day with probabilities 0.6, 0.3…Medium
  • A random variable X takes the values 0, 1, 2 and 3…Hard
  • A random variable X takes the values 1, 2 and 3 with probabilities 0.3, 0.4 and 0.3…Easy
  • Two made-up machines fill 500 g bags of rice…Medium
  • A random variable X is 1 with probability p and 5 with probability 1 - p…Hard
  • Here are four counts. A made-up gardener plants 12 seeds, each growing with probability 0.7, and…Easy
  • A trial is repeated 6 times, and each trial succeeds with probability 0.4…Medium

All 30 worked problems on Random Variables and Distributions →

Python labs

  • Checking a probability table
  • Simulating a random variable
  • Binomial probabilities from counting
  • A binomial experiment by simulation
  • Normal areas from math.erf
  • Does the data look normal?

Related topics

  • Statistics Basics
  • Data and Sampling
  • Tables and Graphs
  • Averages: Mean, Median and Mode
  • Spread of Data
  • Probability and Chance
  • Study Design and Experiments
  • Correlation and Regression
  • Learning from Samples