All about creating conditionals
Here is the code we wrote last time
The conditional is the if and then block/ This block says if I do this then that will happen. The blocks are involved in what we call a Cause and effect relationship.
Meaning we look at experience in terms of Cause and Effect.
The Cause in the code is “if the Sprite is touching the color green
The Effect is the Then play sound duck until done
You do not play the sound without the sprite touching the color green.
If we were to see this as a hypothesis which is an educated guess it would be
I predict if I write the code < If touching color green then, the Duck sound will play.
Start your Writing with Conditionals are…….
Include the following information What is a conditional Talk about “Cause and Effect”.
What is an if and then statement, explain.
Include an example of a conditional in your life.
What blocks in Scratch are conditionals?
What part of the code did you write in Scratch that are the conditionals, What blocks did you use?
What kind of a conditional would you like to write in future programs? What if this then that programs would you like to write.