Skip to main content

Year 5

Lesson 3 Controlling with conditions

Curriculum > KS2 > Unit > Lesson

In this lesson, learners are introduced to conditions and how they can be used in algorithms and programs to control their flow. They identify conditions in statements, stating if they are true or false, and learn how they can be used to start and stop a set of actions. Learners are introduced to a Crumble switch and learn how it can provide the Crumble controller with an input that can be used as a condition. They explore how to write programs that use an input as conditions and use this knowledge to write a program that uses a condition to stop a repeating light pattern.

Learning objectives

To explain that a loop can stop when a condition is met

  • I can explain that a condition is either true or false
  • I can design a conditional loop
  • I can program a microcontroller to respond to an input

Package contents

  • Lesson plans
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

Help us make these resources better

Provide your feedback

Or email us at [email protected]