
Variables in Scratch
Authored by Samson Muema
Computers
6th - 8th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A variable like this one, can only hold one value at a time
True
False
Answer explanation
The statement is True because a variable can only store one value at a time. This is a fundamental characteristic of variables in programming.
2.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
A Variable can hold a value that can be:
Names.
Numbers
a name.
a number
Answer explanation
A variable can hold different types of values. The correct choices 'a name' and 'a number' represent the types of data a variable can store, while 'Names' and 'Numbers' are not specific enough to be considered valid options.
3.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
Variables can be used for:
Keeping score
Counting
Controlling the flow of the program
Starting a program
Answer explanation
Variables are essential for keeping score and counting, as they store values that can change during program execution. However, they do not directly control the flow of a program or start it.
4.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
What does this block mean?
number of days = 5
increase number of days by 5
make the variable 'number of of days' hold a value of 5
Add 5 to whatever value number of days was holding before.
Answer explanation
The block indicates to add 5 to the current value of 'number of days', which aligns with the choices 'Add 5 to whatever value number of days was holding before' and 'increase number of days by 5'.
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If this script is given to a sprite, what will the sprite say?
5
6
30
11
Answer explanation
The script likely involves a calculation or logic that results in the number 11. Therefore, the sprite will say '11', which is the correct answer among the choices provided.
6.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
What does this block mean?
number of days = 12
increase number of days by 12
make the variable 'number of days' hold a value of 12
Add 12 to whatever value number of days was holding before.
Answer explanation
The block assigns the value 12 to the variable 'number of days', meaning it directly sets 'number of days' to 12. This matches the correct choices, as it indicates the variable now holds that specific value.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If this script is given to a sprite, what will the sprite say?
3
9
2
8
Answer explanation
The script likely contains a calculation or logic that results in the number 9. Therefore, the sprite will say '9' as the correct answer.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?