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. /Data and Sampling

Data and Sampling

Statistics & Data Science · High School (9–10), Middle Stage (6–8) · 5 courses, 50 worked problems, 88 practice questions

Data are the facts we collect to answer a question. Some data are categories, such as eye colour. Other data are numbers, either counted (discrete) or measured (continuous). Often we cannot ask everyone in a population, so we study a sample. A random sample gives each member the same chance of being chosen, which helps to avoid bias. Other methods are stratified, systematic and cluster sampling. A badly chosen sample, such as asking only your friends, can give a wrong picture. Opinion polls and quality checks in a factory depend on good sampling.

With practice you will be able to

  • Sort data into categorical, discrete and continuous types
  • Choose a random, stratified or systematic sample from a list
  • Spot the source of bias in a sampling method

On the syllabus of

  • SAT
  • AP
  • IB
  • A-Level
  • IGCSE

Lessons

  • Sampling Variability and Sample SizeWhy do four times as many people only halve the error? Does a big country need a bigger sample?High School (9–10)
  • Surveys, Experiments and Observational StudiesAre breakfast eaters slimmer because of breakfast? Why does a fair trial need a placebo?High School (9–10)
  • Populations, Samples and BiasCan an online poll with 50 000 replies be wrong? How can one spoonful judge the pot?High School (9–10)
  • Fair Ways to Choose a SampleHow do you pick 5 of 28 students fairly? How much luck is there in a poll of 900?High School (9–10)
  • What Is Data?

Practice questions

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

A pollster dials telephone numbers chosen at random, each number in the area being equally likely, and interviews the adult who owns the number dialled. Of the adults in the area, 70% own one number and 30% own two numbers. A smart speaker is owned by 20% of the adults with one number and by 50% of the adults with two numbers. The pollster makes a very large number of calls. By how much does the long-run proportion of interviewed adults who own a smart speaker exceed the true proportion among all adults?

A council posts a questionnaire to 400 residents about a new bus lane. 160 residents reply, and 72 of them support the plan. A follow-up visit to a random sample of 40 of the 240 residents who did not reply finds 8 who support it. Treat the follow-up proportion as the true proportion among all those who did not reply. By how much does the proportion supporting among the replies exceed the true proportion among all 400 residents?

A list of 12 people numbered 1 to 12 is sampled as follows. A random starting number from 1 to 4 is chosen, and then every fourth person after it is taken. For example, a start of 2 selects people 2, 6 and 10. Which statement about this sampling method is correct?

Worked problems

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

  • A made-up street has 5 households. They keep 0, 1, 1, 3 and 5 pets…Easy
  • In a made-up town, 60% of the adults walk for at least half an hour every day…Easy
  • Six students in a made-up study group score 4, 6, 7, 9, 10 and 12 marks in a short quiz…Medium
  • A machine fills bags of rice. The masses of single bags have a standard deviation of 15 g…Easy

Python labs

  • Many samples, many means
  • The square root rule by simulation
  • Random assignment by shuffling
  • Reading a risk claim
  • From a sample to the whole school
  • A huge poll that misses

Related topics

  • Statistics Basics
  • Tables and Graphs
  • Averages: Mean, Median and Mode
  • Spread of Data
  • Probability and Chance
  • Study Design and Experiments
  • Random Variables and Distributions
  • Correlation and Regression
  • Learning from Samples
Is shirt size a number or a label? Why is asking your friends not a fair sample?
Middle Stage (6–8)

A town council wants to know the mean age of the 40 00040\,00040000 adults in the town. It asks 300300300 adults chosen at random and finds a mean age of 434343 years. Which statement is right?

Two pupils each take a fair random sample of 303030 cards from the same box of exam scripts and find mean marks of 616161 and 575757. What is the most likely reason for the difference?

The lengths of the bolts made by a machine have a standard deviation of 181818 mm. What is the standard error of the mean length of a random sample of 999 bolts?

The masses of the parcels at a sorting centre have mean 616161 kg and standard deviation 999 kg. Samples of 202020 parcels are taken again and again. What is the mean of all the sample means?

A survey of 350350350 shoppers gives a sample share with a standard error of 0.0360.0360.036. The survey is repeated with 140014001400 shoppers from the same large population. What is the standard error now?

A tiny population has just three values, 222, 444 and 999. A sample of 222 different values is chosen at random, and its mean is found. What is the mean of the three possible sample means?

A fair coin is tossed nnn times, and the share of heads is recorded. For which value of nnn is the standard error of the share exactly 0.050.050.05?

All 88 practice questions on Data and Sampling →

Three fair dice are thrown, and x is the mean of the three faces…
Medium
  • A spinner shows 1, 2 or 6, each with the same chance…Medium
  • The times that patients wait at a made-up clinic have mean 50 minutes and standard deviation 12…Hard
  • A coin is fair, so the true share of heads is 0.5…Easy
  • A library expects that about 30% of the members of a large club read a newspaper every day…Medium
  • A researcher takes a random sample of 400 adults, without replacement, in a made-up town of 5000…Hard
  • Say whether each made-up study is a sample survey, an observational study or an experiment…Easy
  • Name the explanatory variable and the response variable in each question…Easy
  • All 50 worked problems on Data and Sampling →