/en-tutor-prep-p4-term2-ict-scratch/
/en-tutor-prep-p4-term2-ict-scratch/
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

P4 Term 2 | ICT: Scratch — three control structures, two events and three debugging steps | Tutor Lesson Plan | 45-minute flow, script, common errors, practice with answers

P4 Term 2 | ICT: Scratch — three control structures, two events and three debugging steps | Tutor Lesson Plan | 45-minute flow, script, common errors, practice with answers

  • 2026-12-02

Lesson prep guide · P4 Term 2 ICT

Pupils build Scratch projects by stacking one block per action, so ten repeats become ten blocks and a bug is impossible to find. This lesson teaches three control structures and three debugging steps to shorten the code and expose errors.

Lesson objectives Students can (1) name the 3 control structures, sequence, loop and condition, with a use for each; (2) name the 2 events, green flag and key press, and replace 10 stacked blocks with one loop of 10, saving 9; (3) debug in 3 steps, reproduce, locate and change one thing, using 1 score variable.

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
Comparison Which is shorter, 10 blocks or one? one
Subtraction 10 blocks less 9? one
Ordering Top-to-bottom execution is which structure? sequence

02 Lesson flow (45 minutes)

Time Stage Tutor does Student does
0-5 min Scenario Two scripts: ten blocks and one Say the difference
5-15 min Three structures sequence, loop, condition Write each
15-27 min Two events green flag, key press Test once
27-37 min Three debugging steps reproduce, locate, change one Fix a bug
37-42 min Variables one score only Add a point
42-45 min Exit check Collect three items and name the error type Answer without notes

03 Teaching script (read it aloud)

Act one: three control structures

Sequence runs blocks top to bottom; a loop repeats a group of blocks with the count inside; a condition, if then, runs only when the test is true. The three combine, and no project works without them.

Most common misunderstanding: that all-sequence is simplest. Ten repeats written as ten blocks means ten edits, which is where errors come from.

Students repeat: sequence, loop, condition, 3 structures.

Act two: two events and saving blocks

An event is when the script starts: with the green flag, or when a key is pressed. 10 stacked blocks become one repeat 10 block, saving 9, and a change is made once instead of ten times. Keeping events separate from structures removes half the bugs.

Most common misunderstanding: that key events behave like the green flag. The flag plays the whole script; a key waits for the player, so the testing differs.

Students repeat: green flag, key press; a loop of 10 saves 9.

Act three: three debugging steps and variables

Debug in 3 steps: reproduce, so the fault happens at the same place; locate, so you know which block is wrong; and change one thing, then retest. Changing five blocks at once means success tells you nothing. One 1 score variable is enough; too many interfere with each other.

Most common misunderstanding: that the computer is at fault. Nine in ten bugs are wrong order, wrong repeat count or a wrong condition; checking block by block beats rewriting.

Students repeat: reproduce, locate, change one; one variable.

04 Question types and steps

Type Example Steps Answer
Structures three give the use sequence, loop, condition
Events two how each starts green flag, key press
Calculation saving blocks 10 blocks to one saves 9
Debugging three steps in order reproduce, locate, change one
Scratch: 3 control structures, 2 events, 3 debugging steps; a 10-repeat loop replaces 10 blocks and saves 9sequencetop to bottomlooprepeatconditionif, then10 blocks written outone loop of 10repeat 102 events· green flag· key press3 debugging steps· reproduce: same step fails· locate: which block· change one thing at a timeKeep one score variable, not five; separating events from structures makes errors easier to find.

Three structures, the loop saving and three debugging steps.

Sanity check (must teach):3 structures, 2 events and 3 debugging steps; 10 blocks become one loop of 10, saving 9; 1 score variable; six stages add to 45 minutes.

05 Three independent practice questions

Question Answer What to observe
Name the three structures. sequence, loop, condition sequence only
How do 10 blocks simplify? one loop of 10, saving 9 stack all ten
Name the three debugging steps. reproduce, locate, change one changing five at once

06 Common errors and correction lines

Error Student usually writes Tutor says
Ten blocks one block per repeat Use a loop of 10.
Event mix-up testing a key script with the flag Press the key to test it.
Too many edits changing five blocks together Change one, then retest.
Too many variables six score variables Start with one.

07 Homework (paper and question numbers)

08 Exit check (last 3 minutes)

Question Answer Verdict
Three structures? sequence, loop, condition reteach act one
Two events? green flag, key press reteach act two
Three debugging steps? reproduce, locate, change one reteach act three

09 Tutor FAQ

Which year group?

P4 Term 2; P3 can take sequence and loops, P5 can add broadcasts and custom blocks.

Is 45 minutes enough for a project?

Enough for a script with a loop; a full game needs two or three lessons.

Must it be Scratch?

Any block-based tool works; the concepts are the same.

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 →