P5 Term 1 | ICT: First Steps in Python – input, if, print and indentation | Tutor Lesson Plan | 45-minute flow, script, common errors, practice with answers
- 2026-12-02
Lesson prep guide · P5 Term 1 ICT
P5 students meet Python and fail on colons and indentation rather than logic. Seven lines and three keywords, read aloud once, turn formatting into habit.
01 Prior knowledge check (first 3 minutes)
If any of these is not secure, the lesson stalls; patch it first:
| Skill | Quick check | Pass standard |
|---|---|---|
| Typing | Find the quote, colon and bracket keys | All three found |
| Comparing | Which is larger, 80 or 60? | 80 |
| Reading English | Read input, if and print aloud | Correct pronunciation |
02 Lesson flow (45 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0-5 min | See the output | Output first, code second | Guess which line prints pass |
| 5-15 min | Read line by line | Seven lines, one job each | Name one job per line |
| 15-27 min | Three keywords | input takes, if decides, print shows | Write each once |
| 27-37 min | Indent and colon | Four spaces, colon after if | Fix two faulty examples |
| 37-42 min | Change the number | Replace 80 | Predict the output |
| 42-45 min | Exit check | Collect three answers; note type, colon or indent | Answer without notes |
03 Teaching script (read it aloud)
Act one: read lines, do not memorise them
Students repeat: take data, decide, output – three jobs.
Act two: three keywords and the indent
Students repeat: input takes, if decides, print shows; four spaces.
Act three: the two commonest errors
Students repeat: type and colon – two errors.
04 Question types and steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Read code | What does line four do? | Look at the keyword and indent | It decides on the score |
| Fill in | Add the colon and indent | Colon after if | Next line indented four |
| Predict | What prints if the score is 50? | Follow the if condition | It prints try again |
| Debug | Why do both branches run? | Find the missing colon | Add colon and indent |
Read three lines first: input, decision, output; if you can explain those, you can read the program.
05 Three independent practice questions
| Question | Answer | What to observe |
|---|---|---|
| What type does input return, and what must happen before comparing? | Text; convert to an integer first | Compares directly |
| What happens if the colon after if is missing? | The next line is ordinary code and both branches run | Thinks Python stops with an error |
| The score becomes 50: what prints? | Try again, because 50 is below 60 | Still prints pass |
06 Common errors and correction lines
| Error | Student usually writes | Tutor says |
|---|---|---|
| Type | Comparing input text directly | “Convert to an integer first.” |
| No colon | if score is at least 60 then nothing | “if always takes a colon.” |
| Ragged indent | Two lines indented differently | “One block, one indent, four spaces.” |
| No quotes | print(Pass) without quotes | “Text goes inside quotes.” |
07 Homework (paper and question numbers)
- P5 Maths test paper 1, Section A, question 2: comparing numbers Comparing values is the same idea as an if condition
- P5 Chinese paper 1, Part C, question 9: figurative language Turn the program output into one complete sentence
- P5 Chinese paper 1, Part A, questions 1 to 4: reading comprehension Reading instructions in order is reading code line by line
08 Exit check (last 3 minutes)
| Question | Answer | Verdict |
|---|---|---|
| The three keywords? | input, if, print | Reteach act two |
| What follows if? | A colon, then a four-space indent | Reteach act two |
| What prints at a score of 50? | Try again | Reteach act three |
09 Tutor FAQ
Which year is this for?
P5 Term 1 first Python; P4 can read only, P6 can add while and lists.
Can students type it all in 45 minutes?
Enough to read and fix two errors; typing the whole program is homework.
Is there a Python paper?
No separate paper; maths comparison questions and Chinese step explanations support it.
Find a tutor freeTutor sign-up →
©2026 TutorZone · www.tutorzone.com.hk · Terms of use · All rights reserved. Original TutorZone material for personal study and teaching only; not for resale or republication.



