S3 Term 1 | ICT: Python Basics – Tutor Lesson Plan | 45-minute flow, teaching script, common errors, practice with answers
- 2026-11-30
Lesson prep guide · S3 Term 1 ICT
First-time Python students stall in three places: quoted digits stop adding up, the single and double slash look the same, and one indentation slip stops the whole file. This lesson clears all three with six side-by-side lines.
01 Prior knowledge check (first 3 minutes)
If any item below fails, fix it first, or this lesson stalls:
| Skill | Quick check | Pass standard |
|---|---|---|
| Strings | Quoted 5 against bare 5 | Text against a number |
| Division | What is 10 divided by 4 | 2.5, not 2 |
| Indentation | Do leading spaces matter | Python uses them to group statements |
02 Lesson flow (45 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0–5 min | Opening: one print | Show print with a string and with a number | Say how the output differs |
| 5–14 min | Strings and numbers | Show 3 plus 5 as 8 and “3” plus “5” as “35” | Decide which of three expressions fails |
| 14–23 min | Conversion | Explain int and str and model int(“12”) plus 5 | Convert “7” and add 3 |
| 23–32 min | Three divisions | Show 2.5, 2 and 2 with a note on float precision | Work out 17 modulo 5 |
| 32–40 min | Indentation and comments | Show the indentation error message, then a useful comment | Find the misindented line in a sample |
| 40–45 min | Exit check | Collect three answers and sort string, conversion and division errors | Work without notes |
03 Teaching script (read it aloud)
Act one: quotes turn digits into text
Students restate: quotes mean a string, plus joins strings, and counting needs int.
Act two: one slash, two slashes, different answers
Students restate: single slash keeps decimals, double slash rounds down, percent gives the remainder.
Act three: indentation and comments make code readable
Students restate: group statements indent together, four spaces by convention, and a mismatch is a syntax error.
04 Question types and steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| String or number | 3 plus 5 against “3” plus “5” | Numbers add, strings join | 8 and “35” |
| Conversion | int(“12”) plus 5 | Convert then add | 17 |
| Division | 10 over 4, floor, 17 modulo 5 | Single slash, double slash, percent | 2.5, 2, 2 |
| Indentation | One line in an if indented one extra space | Inconsistent indentation | IndentationError, a syntax error |
Python is strict: 3 plus 5 is 8, but quoted “3” plus “5” is “35”, because quotes make strings and the plus joins them. Counting needs a conversion, so int(“12”) plus 5 is 17. Division comes in two forms: 10 divided by 4 is 2.5 and floor division gives 2, while 17 modulo 5 is 2. Strings multiply by integers, “ab” times 3 is “ababab”, six characters, and len(“TutorZone”) is 9. Decimals carry rounding error: 0.1 plus 0.2 is not exactly 0.3 but 0.30000000000000004.
05 Three independent practice questions
| Question | Answer | What to observe |
|---|---|---|
| What is int(“12”) plus 5? | Convert “12” to 12 and add 5 for 17 | “125” means the conversion was skipped and strings joined |
| What is “3” plus “5”? | Strings join, so “35” | 8 means they were treated as numbers |
| What is 17 modulo 5? | 17 divided by 5 is 3 remainder 2, so 2 | 3 is the quotient rather than the remainder |
06 Common errors and correction lines
| Error | Student usually writes | Tutor says |
|---|---|---|
| Quotes as decoration | “‘3’ plus ‘5’ should be 8” | “Quotes make strings and strings join, so “35”; write int(“3″) plus 5 for 8.” |
| Floor as rounding | “10 floor divided by 4 is 3 because 2.5 rounds up” | “Floor division rounds down, so 2.5 gives 2, never 3.” |
| Free indentation | “Any indentation is fine as long as it looks neat” | “Statements in one block share the same indentation, four spaces by convention, or IndentationError.” |
| Comparing floats directly | “0.1 plus 0.2 equals 0.3 so test with equality” | “Inside the machine it is 0.30000000000000004, so round to two decimals first.” |
07 Homework (paper and question numbers)
- S3 ICT, algorithms and flowcharts, set 1, question 5, odd or even with modulo Question 5 uses MOD for odd and even, the percent operator of act two
- S3 ICT, algorithms and flowcharts, set 1, question 4, variable trace Question 4 updates a variable three times, the assignment idea in act one
- S3 ICT, algorithms and flowcharts, set 1, question 8, swapping variables Question 8 swaps two values through a temporary, three lines in Python
08 Exit check (last 3 minutes)
| Question | Answer | Verdict |
|---|---|---|
| What happens with “3” plus 5? | A type error; write int(“3”) plus 5 to get 8 | 8 means strings are still unclear; reteach act one |
| What are 10 over 4 and 10 floor over 4? | 2.5 and 2 | Both 2 means the slashes are confused; reteach act two |
| Which kind of error is inconsistent indentation? | A syntax error, IndentationError | Logic error means the classification is unclear; reteach act three |
09 Tutor FAQ
Which year is this page for?
S3 Term 1, the Python introduction in local secondary ICT; later years cover lists, dictionaries and file handling.
Is 45 minutes enough for strings, division and indentation?
Yes. Nine minutes on strings, nine on conversion, nine on the three divisions and eight on indentation and comments, with the rest for practice and the exit check.
Is there a matching worksheet?
Yes. The homework links to questions 4, 5 and 8 of set 1 of the S3 ICT algorithms paper, all with answers.
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.



