Lesson details

Key learning points

  1. In this lesson, we will consider how the 'if... then... else...' structure can be used to identify two responses to a binary question (yes or no). We will learn how questions can be asked in Scratch and how the answer is used to control the outcomes. We will then design a program that uses selection to direct the flow of the program.

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.
Why do you use selection in programming
Correct answer: To allow the program to flow in different directions
To make sure the program runs in the correct order
To make sure the program starts the same way for each user
To perform the same action more than once
Q2.
If someone wrote the answer 'a' what would the program display on the screen?
An image in a quiz
apple
False
Correct answer: Try again.
You’re correct!
Q3.
Which word would make this program display 'That's correct'?
An image in a quiz
no
nope
Correct answer: yes
yes!