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
scratch

Quiz
•
7th Grade
21 questions
Scratch

Quiz
•
3rd - 8th Grade
20 questions
Yr 7 Scratch Programming

Quiz
•
7th Grade
20 questions
Asesmen Diagnostik Algoritma dan Pemrograman Kelas 9

Quiz
•
9th Grade - University
20 questions
scratch revision 1

Quiz
•
6th - 8th Grade
23 questions
Unit 4 - Programming the Frog maze

Quiz
•
6th Grade
15 questions
Scratch Quiz Oke 1

Quiz
•
1st Grade - University
15 questions
Programming using selection statements- 5.1

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade