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.