Zebra Crossing flowchart activity
Teach pedestrian crossing algorithms with button inputs, beacon outputs, night checks and repeated flashing patterns.

Concepts taught
This model helps students practise sequence, selection, conditionals, branching, iteration, repetition, loops, variables, inputs and outputs in a concrete classroom scenario.
Suggested age or phase
Upper primary/elementary, middle school, secondary/high school and GCSE introduction.
Learning objectives
- Identify the physical inputs and outputs in the system.
- Build a flowchart that uses decisions and repeated checks.
- Trace what happens when conditions change.
- Explain how the algorithm could be converted into pseudocode or code.
Example tasks
Task 1: Simple repeating flash
Students build and run a flowchart that applies sequence, decisions and repeated checks in the Zebra Crossing model.
Task 2: Button press flash
Students build and run a flowchart that applies sequence, decisions and repeated checks in the Zebra Crossing model.
Task 3: Daytime crossing request
Students build and run a flowchart that applies sequence, decisions and repeated checks in the Zebra Crossing model.
Task 4: Night standby mode
Students build and run a flowchart that applies sequence, decisions and repeated checks in the Zebra Crossing model.
Task 5: Smart warning pattern
Students build and run a flowchart that applies sequence, decisions and repeated checks in the Zebra Crossing model.
Common misconceptions
- Forgetting that both beacon outputs must be reset when the button is not pressed.
- Using one long sequence instead of a loop that keeps checking the input.
- Confusing a night condition with the pedestrian button condition.
Curriculum connections
Useful for England computing lessons on sequence, selection and repetition; Australian curriculum language such as branching and iteration; and US K-12 computer science vocabulary including loops, conditionals, algorithms and flowcharts.
Teachers can use the activity as a starter, live demonstration, independent task, intervention activity or assessment checkpoint.
Free activity and licence
The free Zebra Crossing flowchart gives students a quick way to try Flow-Logic. A school licence unlocks the full model library, teacher panel, solution passwords and classroom tasks.