Scratch Programming: Loops and Conditions

Scratch Programming: Loops and Conditions

6th Grade

20 Qs

quiz-placeholder

Similar activities

Scratch Quiz 6

Scratch Quiz 6

7th - 9th Grade

20 Qs

Scratch Quiz 3

Scratch Quiz 3

7th - 9th Grade

20 Qs

Scratch Quiz

Scratch Quiz

4th - 8th Grade

19 Qs

Scratch

Scratch

7th - 9th Grade

19 Qs

Scratch

Scratch

7th Grade

18 Qs

Scratch Vocab and Concepts

Scratch Vocab and Concepts

6th - 8th Grade

17 Qs

Scratch

Scratch

6th - 7th Grade

15 Qs

Y7 - Intro to Scratch - Lesson 5

Y7 - Intro to Scratch - Lesson 5

9th Grade

18 Qs

Scratch Programming: Loops and Conditions

Scratch Programming: Loops and Conditions

Assessment

Quiz

Computers

6th Grade

Hard

Created by

Mr Vallally-Godfrey

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Scratch, which block would you use to make a sprite do something only if a certain condition is true?

Repeat block

If block

Forever block

Wait block

Answer explanation

The 'If block' in Scratch allows a sprite to perform actions only when a specified condition is true, making it the correct choice for conditional execution. The other blocks serve different purposes.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of an operator block in Scratch?

To move the sprite

To perform calculations or comparisons

To change the sprite’s costume

To play a sound

Answer explanation

The main purpose of an operator block in Scratch is to perform calculations or comparisons, allowing users to manipulate numbers and evaluate conditions, which is essential for creating interactive programs.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a nested if condition in Scratch?

Using two if blocks one after the other

Placing an if block inside another if block

Using an if block with a repeat block

Using an if block with a forever block

Answer explanation

A nested if condition in Scratch occurs when one if block is placed inside another if block. This allows for more complex decision-making, as the inner if block can only execute if the outer condition is true.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the “repeat until” block do in Scratch?

Repeats a set of instructions forever

Repeats a set of instructions a fixed number of times

Repeats a set of instructions until a condition is true

Repeats a set of instructions until the sprite touches the edge

Answer explanation

The "repeat until" block in Scratch executes a set of instructions repeatedly until a specified condition becomes true, making it a useful tool for controlling the flow of a program based on dynamic conditions.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator would you use in Scratch to check if two values are equal?

Answer explanation

In Scratch, the operator used to check if two values are equal is the single equals sign (=). This operator compares the values and returns true if they are the same, making it the correct choice for equality checks.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want a sprite to say “Hello!” only when the score is greater than 10, which block would you use?

Answer explanation

The correct choice is 'If score > 10' because it checks if the score exceeds 10. This condition ensures the sprite will only say 'Hello!' when the score is greater than 10, which is the desired behavior.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of loop in Scratch?

Forever

Repeat

Repeat until

While

Answer explanation

In Scratch, the loop types include Forever, Repeat, and Repeat until. 'While' is not a recognized loop type in Scratch, making it the correct answer to the question.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?