Interactive model

Automatic Train Level Crossing flowchart activity

Teach safety automation with train approach inputs, warning lights, bells, barriers, street lights and emergency stop logic.

sequenceselectionconditionalsbranchingiterationrepetition
Automatic Train Level Crossing model screenshot

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

Middle/secondary/high school and GCSE control-system lessons.

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: Warning light flash

Students build and run a flowchart that applies sequence, decisions and repeated checks in the Automatic Train Level Crossing model.

Task 2: Approach warning sequence

Students build and run a flowchart that applies sequence, decisions and repeated checks in the Automatic Train Level Crossing model.

Task 3: Barrier close and open

Students build and run a flowchart that applies sequence, decisions and repeated checks in the Automatic Train Level Crossing model.

Task 4: Night street lighting

Students build and run a flowchart that applies sequence, decisions and repeated checks in the Automatic Train Level Crossing model.

Task 5: Emergency stop hold

Students build and run a flowchart that applies sequence, decisions and repeated checks in the Automatic Train Level Crossing model.

Common misconceptions

  • Lifting the barrier before the train has cleared.
  • Letting the train animation continue during emergency stop logic.
  • Treating night lighting as part of the crossing safety sequence when it is a separate 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.