Search Header Logo

G5 Scratch review quiz

Authored by Rifki Nautica

Computers

5th Grade

Used 2+ times

G5 Scratch review quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?