Lesson details

Key learning points

  1. In this lesson, we will use the 'if... then... else...' structure in algorithms and programs. We will revisit the need for selection to ensure conditions are repeatedly checked and will use this knowledge to write our own programs.

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.
Which shows the action that will be carried out when the condition is false?
An image in a quiz
A
B
Correct answer: C
Q2.
What will happen if the green flag is clicked to run this program?
An image in a quiz
Nothing
Correct answer: The sprite will change colour continuously
The sprite will change colour once
The sprite will increase in size
Q3.
"When I press key q, my sprite doesn't do anything." Why does this happen?
An image in a quiz
Correct answer: A forever loop hasn't been used
The condition is incorrect
The sprite hasn't been reset on the page
There is not enough space for the sprite to move 10 steps