Variables in Scratch

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Samson Muema
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Scratch Kelas 8

Quiz
•
8th Grade
30 questions
Test 5 - 30 câu hỏi Scratch

Quiz
•
3rd Grade - University
40 questions
Scratch Coding Assessment

Quiz
•
3rd - 6th Grade
40 questions
year 3 QUIZ 3 2nd term

Quiz
•
3rd Grade - University
40 questions
8 - BAB 2 AP

Quiz
•
6th - 8th Grade
40 questions
2nd Quarter Robotics Review Game

Quiz
•
6th - 8th Grade
30 questions
prep1

Quiz
•
7th Grade
30 questions
Pemrograman dan Algoritma

Quiz
•
7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade