Lesson details

Key learning points

  1. In this lesson, we will experiment with changing variables by different amounts and in different places. We will also learn how to display a variable in a different way.

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.
How many values can a variable hold at one time?
An image in a quiz
Correct answer: 1
2
Any number
Q2.
What do all variables have?
An image in a quiz
Correct answer: A name and a value
A name only
A value only
Q3.
When running a program, which part or parts of a variable can be updated?
An image in a quiz
Name and value
Name only
Correct answer: Value only

3 Questions

Q1.
What does setting a variable do?
Decreases the variable's value
Increases the variable's value
Correct answer: Makes the variable a specific value
Q2.
What would the value of the 'score' variable be after this code is run?
An image in a quiz
0
Correct answer: 10
2
8
Q3.
What will the sprite say at the end of this program?
An image in a quiz
0
2
Correct answer: Your score is 0
Your score is 2