/en-tutor-prep-p3-term2-ict-programming/
/en-tutor-prep-p3-term2-ict-programming/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

P3 Term 2 | Computing: Programming – Input, Process, Output, Three Structures and Testing | Tutor Lesson Plan | 45-minute flow, script, common errors, practice with answers

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.

Lesson objectives Students can: (1) name input, process and output and point to each in a scoring program; (2) name sequence, selection and loop with an example each; (3) test with normal, largest and blank data and tell syntax from logic errors.

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

Every program has 3 parts: input (scores), process (add) and output (display). Without input there is nothing to work on; without output the user sees nothing.

Most common misunderstanding: writing output first. Decide the input before the processing.

Students repeat: input, process, output.

Act two: three structures

Sequence is step by step, selection is if and else, loop is repeat, 3 in all. Most P3 programs need no more.

Most common misunderstanding: a loop for everything. Something done once needs no loop.

Students repeat: sequence, selection, loop.

Act three: three tests and two bugs

Test 3 times: normal, largest and blank. A syntax error is flagged at once (a typo, a missing bracket); a logic error runs but gives a wrong answer (steps in the wrong order).

Most common misunderstanding: it runs, so it is right. Running only means no syntax error.

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
P3 programming: 3 parts, 3 structures, 3 tests, 2 kinds of buginputscoresprocessaddoutputshowsequencestep by stepselectionif and elselooprepeatTwo bugs: syntax errors are flagged at once; logic errors run but give the wrong result.Test at least three times: normal, largest, blank.Marking trap: one test, confusing syntax with logic, no input check.

Input, process, output; three structures and two kinds of bug.

Sanity check (must teach):3 parts, 3 structures, 3 tests, 2 bug kinds; six stages add to 45 minutes.

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)

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.

Take this guide with you

Reading the full guide is free. Downloading the print version, printing it for students, or taking a whole-level pack needs a tutor account (free).

Registered tutors also get:

Register as a tutor — freeAlready registered? Log in

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →