Year 7
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
Lesson details
Key learning points
- In this lesson, we will learn about expressions that evaluate to 'true' or 'false'. We will also learn about IF statements by developing your Big Ed chat program from the previous lesson.
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...
4 Questions
Q1.
The data linked to a variable is stored in the computer's memory.
False
Q2.
Variables can hold more than one value at a time
True
Q3.
What would the output of "say weather" be at the end of this program? (Source: Scratch)
rain
rain, sun, rain, cloudy
weather
Q4.
What value would be held by the ‘name1’ variable and the ‘name2’ variable at the end of this program? (Source: Scratch)
name1 = Jordan name2= Jordan
name1 = Jordan name2= Riley
name1 = Riley name2= Jordan
4 Questions
Q1.
A selection statement evaluates an expression as what?
False
True
True and false
Q2.
Which part of the following block of code would be considered the expression?
Remove from game
then
When green flag is clicked
Q3.
The lines of code following the "else" will only be executed if the expression has evaluated to false
False
Q4.
What will be the output of this program when it is executed? (What will the sprite say?)
Good afternoon
How are you?
Nothing will be outputted/said