Lesson 3: Extreme weather

Pupils design an automated machine which uses selection to respond to sensor data

Before the lesson

Learning objective

  • To design an automated machine to respond to sensor data

National curriculum links

Pupils should be taught to:

  • Design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts
  • Use sequence, selection, and repetition in programs; work with variables and various forms of input and output

Success criteria

Cross-curricular links

Attention grabber

Main event


Pupils needing extra support: should use one of the given examples in the lesson plan to build their ideas on.


Pupils working at greater depth: should  add detail to their algorithm, showing what the device would do after the dangerous weather has passed.

Wrapping up

Assessing pupils' progress and understanding


Created by:
Richard Williams,  
Computing specialist
Richard is a Year 6 Teacher at St. Pancras Primary School. Richard’s passion for teaching was recognised when he received Suffolk’s ‘Raising The Bar’ award for Innovation 2016. With his class he made the world’s first guided VR:360 school tour…
Find out more