Data science — from numbers to a decision
Snow for three days. "Half the class stayed home again!" Did they really? The answer is already sitting in the register.
- Clean a register with a mistake in it
- Compare snow days with clear days
- Turn a chart into a decision — and its limit
Data science — from numbers to a decision
Snow for three days. "Half the class stayed home again!" Did they really? The answer is already sitting in the register.
- Clean a register with a mistake in it
- Compare snow days with clear days
- Turn a chart into a decision — and its limit
Story
Learn it
AI is a big field with three main domains, three kinds of job it does: Data Science (finding patterns in numbers and tables), Computer Vision (understanding images) and Natural Language Processing (understanding language). This unit visits all three. Today is Data Science: turning a list of numbers, like a class register, into a decision people can trust.
Words to know
one main area of AI. The three domains are Data Science, Computer Vision and Natural Language Processing (NLP).
finding useful patterns in data so that people, or machines, can decide and predict.
gather the data, like the attendance register.
fix mistakes and mark gaps, so the data is honest.
work things out from the data, such as an average.
draw the data as a chart so people can see the pattern.
people use what the data shows to choose what to do.
add the numbers up and divide by how many there are.
Step by step: the five steps on a small register
A class of 30 recorded six days:
| Day | Snow? | Present |
|---|---|---|
| Mon | Yes | 18 |
| Tue | No | 28 |
| Wed | Yes | 20 |
| Thu | No | 290 |
| Fri | No | 27 |
| Sat | Yes | (empty) |
- Collect: the register above.
- Clean: a class of 30 cannot have 290 present, so that is a typing mistake for 29. The empty Saturday is marked "?" and left out. Never guess a missing number.
- Analyse: snow days average (18 + 20) ÷ 2 = 19; clear days (28 + 29 + 27) ÷ 3 = 28.
- Visualise: two bars, 19 and 28. The gap is easy to see.
- Decide: about 9 fewer children come on snow days, so perhaps start later when it snows. But first ask why: roads, cold, or no warm clothes?
In Calc, =AVERAGEIF() finds the snow-day and clear-day averages for you.
Careful: data shows what happened, not why. And one uncleaned mistake (290 instead of 29) would have made clear days look enormous. Data does not decide by itself; people decide, and data helps them decide well.
Your missions
attendance-winter.ods — 20 January days for a class of 40, made up for teaching: date · day · snow? · presentClean
pairs3 min- 1
Look down column D. One row says
400and one cell is empty. - 2
A class of 40 can't have 400 present — it's a typing mistake. Change it to
40. - 3
For the empty cell, write
?in column E (Notes) and leave it out. Guessing would make the data dishonest.
Analyse
pairs5 min- 4
Predict: on snow days, will about 10 fewer children come, 20 fewer, or none fewer? Write it in G1.
Only you can see this - 5
G2
Average on snow days, H2=AVERAGEIF(C2:C21;"Yes";D2:D21). G3Average on clear days, H3=AVERAGEIF(C2:C21;"No";D2:D21). How close was your guess?
Visualise and decide
pairs8 min- 6
Select columns A and D, Insert → Chart → Column. Colour the snow-day bars differently (right-click a bar → Format Data Point).
- 7
In G5: "The data suggests the school should…" In G6: one thing the data can't tell us — like why children stayed home.
No laptop today?
Copy the 20 rows from the printed table into your notebook. Circle the snow days. Work out the average present on snow days and on clear days, draw a bar for each, and write your decision underneath.
Debate it
The data shows that attendance drops on snow days. One person says: "Just mark the absent children as late and move on." Another says: "Start school later on snow days." A third says: "Ask the families what the real problem is: roads, cold, or no warm clothes?"
Which idea uses data best? What other data would you want to collect?
Check yourself · practice, not a test
In the app, students answer these one at a time and each answer is checked straight away. It's practice, never a mark — anything they miss comes back later for another go.
1.Which is not one of the three domains of AI?
- AData Science
- BComputer Vision
- CNatural Language Processing
- DSpreadsheet Typing
2.Put the steps of a data science project in order:
- 1**Collect
- 2Visualise
- 3Decide**
- 4Clean
- 5Analyse
3.If a number in a dataset looks wrong, it is fine to guess a new one so the sums work.
TrueFalse4.Data science finds ______ in data to help people make decisions.
Data Science turns numbers into decisions, but people make the decision.
Typing practice
Skill: number row, 1 to 5 (7 min)
- On typing.com, open the lesson on the top-row numbers 1–5.
- Keep your fingers on the home row and reach up for each number, then come back home.
- Today you typed attendance numbers, so the number row matters.
- Goal: your own best accuracy, 90% or more.
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.