Scratch Nested Condition
Scratch Nested Condition
Thinking:
Nested Conditions
1
2
Let’s take a look at the examples:
3
Let’s evaluate: Guess who?
Else:
Keep in game
4
Let’s evaluate: Guess who?
5
Let’s evaluate: Guess who?
6
Let’s evaluate: Guess who?
7
Investigate answers
What will happen if:
● Explain what the following
block of code does?
The user has responded “yes”
to the question
8
Investigate answers
As we have discovered, an If
block allows us to check a
condition and perform an
operation if the condition
evaluates to ‘true’.
1
0
Investigate answers: ‘if/else’ statements
1
1
Activity 2
Investigate answers
1
2
Activity 2
Investigate answers
1
3