Back at the laptop
Last year you got top marks for a model nobody ever tested. Was it any good?
- Set up your Class 10 folder
- Predict a program before you run it
- Ask of last year's project: does it work?
Back at the laptop
Last year you got top marks for a model nobody ever tested. Was it any good?
- Set up your Class 10 folder
- Predict a program before you run it
- Ask of last year's project: does it work?
Story
She opens it on the desk.
She taps the page.
Learn it
Class 9 asked can I say exactly how it would work? Class 10 asks the harder question: does it work, how well, for whom, and who answers for it when it does not? A model nobody has measured is a hope, not a result. The year runs ethics first, then how models are built, how they are measured, and two domains up close (pictures and language), ending with a project that must pass all of it.
Words to know
the stage of the AI project cycle that checks how well a model works, on cases it has never seen.
a model whose predictions have been checked against real outcomes. Until then, it is a hope.
writing down what a program will do before running it. A wrong prediction shows exactly which part of your picture needs fixing.
following a program line by line on paper, keeping track of each variable's value.
Step by step: tracing before running
marks = [60, 75, 90]
total = 0
for m in marks:
total = total + m
print(total / len(marks))
- Start:
totalis 0. - First time round:
mis 60 →totalbecomes 60. - Second:
mis 75 →totalbecomes 135. - Third:
mis 90 →totalbecomes 225. - The print:
len(marks)is 3, so 225 ÷ 3 = 75.0. Write that down, then run it, and see if Python agrees.
Asking "does it work?" of last year's project: what does the model predict? Did we ever test it? On how many real cases? Who could it be wrong about? An honest "never tested" is the start of this year's work, not a failure.
Last year's words still count: the six stages of the cycle, True and False Positives and Negatives, bias and access. Python is a tool this year, used where it beats a spreadsheet.
Careful: good marks for a proposal are not proof that the model works. Only testing on real cases can tell you that.
Your missions
Your folder
2 min- 1
In the
Class-10folder, openmy-workand make a folder named with your roll number only, e.g.10-roll-12.
Predict, then run
8 min- 2
In Thonny, open
programs/refresher.py. Don't run it yet.temps = [4, 7, 2, 9, 3] total = 0 for t in temps: total = total + t print(total / len(temps)) - 3
Predict: write the exact output on paper.
Only you can see this - 4
Run it. Same as your prediction? If not, find the line where you and Python disagreed.
- 5
Add
-2to the list. Predict again, run again. Save a copy in your own folder.
Does last year's project work?
6 min- 6
Open your Class 9 project. In Calc, make one row under these headings, and fill it honestly: Our model · What it predicts · Did we ever test it? · On how many real cases? · Who could it be wrong about?
- 7
Save it as
does-it-work.ods. Keep it — it comes back in Unit 3.
Typing baseline
5 min- 8
Log in to typing.com with your new card. Take the one-minute test and write your WPM, accuracy and Term 1 goal on the card.
No laptop today?
Copy the program onto paper. Everyone predicts; then one student traces it on the board,
keeping total in a box and crossing out each old value. Fill the does-it-work row on paper.
Debate it
Hiba's group got top marks for a model nobody ever tested.
- Was that mark fair? What was it really a mark for?
- If the town had used their flood warning, untested, for one winter — who would have found out whether it worked, and how?
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.What will this print? python nums = [2, 4, 6] print(len(nums))
- A2
- B3
- C6
- D12
2.nums already holds [4, 5, 6]. Put these lines in order so the program prints 15 (in the real program, the line inside the loop is indented):
- 1for n in nums:
- 2total = 0
- 3total = total + n
- 4print(total)
3.A model that has never been tested on real cases can still be called finished, as long as its rules were written carefully.
TrueFalse4.The stage of the AI project cycle that checks how well a model works is called ______.
5.Which folder name follows our privacy rule?
- Arahat-10A-nowgam
- B10-roll-04
- Crahat-lone
- Dbilal10
A model nobody has measured is not finished. It is a hope.
Typing practice
Skill: code symbols, at speed — ( ) [ ] { } : " ' = _ # (5 min)
-
On typing.com: the symbols lessons your teacher sets.
-
Two new ones this year:
{ }for a Python dictionary, and#for a comment. -
Type three times, eyes on the screen:
counts = {"good": 3, "bad": 1} # a dictionary -
Goal by May: 38–44 WPM at 95%. Beat your own score, not anyone else's.
- ( ) [ ] { } : " ' = _ #
- { }
- #
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.