CARVIEW |
Conditional Programming in Scratch Quiz
In this quiz, we will explore how if-else statements help make decisions in Scratch. Understanding these blocks will allow you to create interactive projects efficiently.
Question 1
What will happen if the condition inside an if-else block is false?
The statements inside the "if" block will execute.
The statements inside the "else" block will execute.
The program will stop running.
The program will crash.
Question 2
What happens when an if-else block is placed inside another if-else block?
Only the inner if-else block executes.
The inner condition is checked only if the outer condition is true.
The outer condition is ignored.
The program skips both conditions.
Question 3
Which Boolean operator ensures that both conditions must be true for the block to execute?
OR
AND
NOT
XOR
Question 4
Which of the following comparison operators is NOT available in Scratch?
=
(Equals)>
(Greater than)<
(Less than)!=
(Not equal to)
Question 5
How can you check multiple conditions one after another in Scratch?
Using multiple if-else blocks.
Using loops.
Using motion blocks.
Using wait blocks.
Question 6
What does the NOT operator do in Scratch?
It reverses a condition's result.
It adds two conditions together.
It always returns true.
It removes a condition from an if block.
Question 7
Which loop runs only when a condition is met?
Forever loop
Repeat Until loop
Repeat loop
Broadcast block
Question 8
What happens if an if statement is placed inside a loop?
The condition is checked once
The condition is checked on every loop iteration
The condition is ignored
The loop stops running
Question 9
Which condition will check if the space key is pressed?
if (mouse down?)
if (key space pressed?)
if (touching sprite?)
if (score > 10)
Question 10
What does if (score > 10 AND lives > 0) check?
If either score is greater than 10 or lives are more than 0
If both score is greater than 10 and lives are more than 0
If score is exactly 10
If lives are always 0
There are 10 questions to complete.