Lesson 4 of 6
  • Year 5
Lesson 4 of 6
  • Year 5

Starting with selection

These resources will be removed by the end of the Spring Term 2026.

Start using our brand new teaching resources now. Designed by teachers and subject experts, with real classrooms in mind.

The older resources below were created for lockdown learning during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. In this lesson, we will identify conditions and selection. We will also write a program which includes selection.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
When this program is run nothing appears to happen. Why?

An image in a quiz
The button needs to be held down.
Correct answer: The program needs a loop to repeatedly check if the button is pressed.
The program needs to a do forever loop around the sparkle blocks.

Q2.
What will happen when the button is pressed once?

An image in a quiz
The sparkle will flash blue once.
The sparkle will flash blue repeatedly.
Correct answer: The sparkle will switch off, then light blue.

Q3.
What will happen while the button is held down?

An image in a quiz
The sparkle will flash blue once.
Correct answer: The sparkle will flash blue repeatedly.
The sparkle will switch off, then light blue.