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
Intro to Scratch

Quiz
•
6th - 8th Grade
15 questions
scratch_code

Quiz
•
8th Grade
20 questions
Break the ice

Quiz
•
4th - 6th Grade
20 questions
Ispace Quiz Questions(Scratch and Tynker)

Quiz
•
2nd - 6th Grade
20 questions
Scratch Coding

Quiz
•
11th Grade
15 questions
Theme Parks

Quiz
•
9th Grade
15 questions
Programming Fundamentals Exam

Quiz
•
9th - 12th Grade
20 questions
Scratch Programming

Quiz
•
9th - 12th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

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

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade