Skip to main content

Education recovery: Explore our curated collection of CPD, resources and support.
Online courses: FutureLearn are changing what data they store as part of GDPR on 20 Oct 2021. You may need to take action.

Year 8

Lesson 3 At a crossroads

Curriculum > KS3 > Unit > Lesson

This lesson introduces selection and randomness. These are two features that will allow learners to develop programs with a very diverse range of behaviours. Learners will revisit some of the programs that they have encountered in previous lessons and extend them into more versatile programs that use selection. They will develop a simple number guessing game, which will eventually include randomness.

Learning objectives

  • Use relational operators to form logical expressions
  • Use binary selection (if, else statements) to control the flow of program execution
  • Generate and use random integers

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]