P3 Term 2 | Computing: Programming – Input, Process, Output, Three Structures and Testing | Tutor Lesson Plan | 45-minute flow, script, common errors, practice with answers
- 2026-12-02
Lesson prep guide · P3 Term 2 Computing
P3 pupils start typing without thinking about input and output. This lesson uses three parts, three structures and three tests.
01 Prior knowledge check (first 3 minutes)
If any item below is not secure, fix it first or this lesson stalls:
| Skill | Quick check | Pass standard |
|---|---|---|
| Order | give the three steps of brushing teeth | correct order |
| Addition | work out 60 plus 10 | 70 |
| Conditions | say what happens if it rains | cause and effect |
02 Lesson flow (45 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0-5 min | Scenario | What does a scoring program need to run? | Name an input |
| 5-15 min | Three parts | input, process, output | Mark three places |
| 15-28 min | Three structures | sequence, selection, loop | One example each |
| 28-37 min | Testing | 3: normal, largest, blank | Test once |
| 37-42 min | Two bugs | syntax and logic | Sort two examples |
| 42-45 min | Exit check | Collect three items and name the error type | Answer without notes |
03 Teaching script (read it aloud)
Act one: input, process, output
Students repeat: input, process, output.
Act two: three structures
Students repeat: sequence, selection, loop.
Act three: three tests and two bugs
Students repeat: three tests; syntax and logic.
04 Question types and steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Parts | 3 | input, process, output | point to each |
| Structures | 3 | sequence, selection, loop | one example each |
| Testing | 3 | normal, largest, blank | record results |
| Bugs | 2 | syntax and logic | different fixes |
Input, process, output; three structures and two kinds of bug.
05 Three independent practice questions
| Question | Answer | What to observe |
|---|---|---|
| What are input, process and output in a scoring program? | input scores, process add, output show the total | output only |
| Name the three structures with an example. | sequence, selection, loop | loops everywhere |
| What do the three tests cover, and how do the bugs differ? | normal, largest, blank; syntax is flagged, logic gives a wrong answer | running means correct |
06 Common errors and correction lines
| Error | Student usually writes | Tutor says |
|---|---|---|
| Parts | skipping input | Decide the input first. |
| Structures | loop for a single step | Use sequence. |
| Testing | normal data only | Add largest and blank. |
| Bugs | logic called syntax | Runs but wrong is logic. |
07 Homework (paper and question numbers)
- P3 Chinese paper 2, part 1, questions 1 to 4: read then answer instructions follow an order
- P3 Chinese paper 2, part 3, questions 15 to 18: rewrite sentences if and then is selection
- P3 General Studies paper 1, part 2, questions 6 to 9: charts checking numbers is the same habit as testing
08 Exit check (last 3 minutes)
| Question | Answer | Verdict |
|---|---|---|
| Name the three parts. | input, process, output | reteach act one |
| Name the three structures. | sequence, selection, loop | reteach act two |
| Name the two kinds of bug. | syntax and logic | reteach act three |
09 Tutor FAQ
Which year group is this?
P3 Term 2; P2 can do sequence only and P4 can add variables.
Does 45 minutes write a program?
Flow and testing fit; the full program goes home.
Is there a programming paper?
No dedicated paper; the instruction and sentence items of P3 Chinese paper 2 are closest.
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.



