
G5 Scratch review quiz

Quiz
•
Computers
•
5th Grade
•
Medium
Rifki Nautica
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
What is the main purpose of a variable in Scratch?
To make the sprite move
To store and change data when the program is running
To create a new backdrop
To control sounds
Answer explanation
In Scratch, a variable is used to store and change data while the program runs, allowing for dynamic interactions and updates. This is essential for tracking scores, user inputs, and other changing information.
2.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
If you set a variable score to 0 and then use change score by 5 three times, what will the value of score be?
0
5
15
45
Answer explanation
Starting with score = 0, changing it by 5 three times means adding 5 three times: 0 + 5 + 5 + 5 = 15. Therefore, the final value of score is 15.
3.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
Which block is used to reset a variable to a specific value?
set [variable] to [ ]
change [variable] by [ ]
join [ ] [ ]
pick random [ ] to [ ]
Answer explanation
The block 'set [variable] to [ ]' is specifically designed to reset a variable to a defined value. In contrast, 'change [variable] by [ ]' modifies the variable's current value, while the other options serve different functions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
If you have a variable called lives and you want to decrease it by 1 when the sprite touches an enemy, which block should you use?
set lives to 1
set lives to 0
change lives by -1
join lives and enemy
Answer explanation
To decrease the variable 'lives' by 1 when the sprite touches an enemy, you should use 'change lives by -1'. This directly modifies the value of 'lives' as intended, while the other options do not achieve this.
5.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
Which operator block would you use to check if two numbers are equal?
<
>
=
+
Answer explanation
The correct operator to check if two numbers are equal is '='. This operator compares the values and returns true if they are the same, making it the appropriate choice for equality checks.
6.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
What will the block pick random 1 to 10 do?
Add numbers from 1 to 10
Always choose number 10
Choose a random number between 1 and 10
Multiply numbers from 1 to 10
Answer explanation
The block 'pick random 1 to 10' is designed to select a number randomly from the range of 1 to 10, making 'Choose a random number between 1 and 10' the correct choice. It does not add, multiply, or always select 10.
7.
MULTIPLE CHOICE QUESTION
30 sec • 7 pts
If x = 4 and y = 3, what is the result of the operator (x * y) + 2?
10
12
14
20
Answer explanation
To solve (x * y) + 2, substitute x = 4 and y = 3: (4 * 3) + 2 = 12 + 2 = 14. Thus, the correct answer is 14.
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Basic Scratch 1

Quiz
•
5th Grade
13 questions
mBlock assessment

Quiz
•
3rd - 6th Grade
10 questions
Coding

Quiz
•
5th Grade
10 questions
Scratch 3 Multiplayer

Quiz
•
5th - 8th Grade
12 questions
Code Lesson 7

Quiz
•
4th - 9th Grade
10 questions
QUIZ GRADE 5

Quiz
•
5th Grade
10 questions
Introduction to Scratch

Quiz
•
5th - 6th Grade
10 questions
Code.org Course E: Sprites

Quiz
•
3rd - 5th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade