Traffic lights, a cake recipe, a bus-stop announcement: each one follows a fixed order of steps. What happens if one step is missing or in the wrong place?
Today we write precise step-by-step instructions, break one on purpose, find the bug, and fix it. Then we try the same thinking on a robot route on the board.
Watch how I write steps for watering the classroom plant. Which details would you keep, and which would you leave out?
Those ordered steps are an algorithm. When a step is wrong or missing, that mistake is a bug. Finding the mistake, fixing it, and testing again is debugging.
Look at the classroom task on the board. With your group, call out steps you would keep and steps you would leave out. Be ready to say why.
Quick class vote first: which change is most likely to make a job fail — a missing step, steps in the wrong order, or a wrong direction? (An extra step that does nothing is usually clutter, not a bug.)
Your group has one task card. Work through these jobs in order:
On your Investigation Journal page, record four short notes like the board example. Keep each note to one or two lines: your group's steps, the bug you found, the fix that worked, and one detail you left out on purpose.
You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.