Skip to main content

Year 6

Lesson 2 Go with the flow

Curriculum > KS2 > Unit > Lesson

Pupils will explore how if, then, else statements are used to direct the flow of a program. They will initially relate if, then, else statements to real-world situations, before creating programs in MakeCode. They will apply their knowledge of if, then, else statements to create a program that features selection influenced by a random number to create a micro:bit fortune teller project.

Learning objectives

To explain that selection can control the flow of a program

  • I can identify examples of conditions in the real world
  • I can use a variable in an if, then, else statement to select the flow of a program
  • I can determine the flow of a program using selection

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]