Scratch Programming: Loops and Conditions

Quiz
•
Computers
•
6th Grade
•
Hard
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
Similar Resources on Wayground
15 questions
L1 scratch

Quiz
•
7th Grade
16 questions
Scratch Concepts

Quiz
•
8th Grade
19 questions
Scratch Quiz

Quiz
•
4th - 8th Grade
15 questions
Scratch Basics

Quiz
•
6th Grade
24 questions
1A Quiz on Game Design with Scratch

Quiz
•
5th - 9th Grade
20 questions
FINAL EXAM in Scratch

Quiz
•
7th Grade
20 questions
Coding with Scratch

Quiz
•
6th - 8th Grade
15 questions
Scratch basics

Quiz
•
3rd - 6th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade