What do boolean blocks do?
Boolean blocks tell us if something is true or false
What does this code do?
The cat says Hello forever!
True or False: You should never use lists because they are too complicated
False, lists are very useful when you need to keep track of many different pieces of information.
Why would you use an If-Else block?
Use an If-Else block if you want one event to occur if a statement is true and a different event if the statement is false
How many times does the cat say “Hello” in this code?
8, three in the first loop and five in the second.
True or False: You can place If blocks inside of other If blocks
True, this is useful when you want there to be more than two options.
What is a loop used for?
Running the same code multiple times in a row
What does the cat say in this code?
You are not Stacy, the If statement is false because Name does not equal Stacy.
True or False: The Forever block lets you run code until a certain condition is met
False, the Forever block lets you run code indefinitely
What is one reason why you might use a variable?
give lives in a game, name of a player, level number, etc.
What's the difference between these blocks:
The first runs once if the condition is correct, the other runs forever if the condition is correct.
True or False: Loops can run for more than 99999 times.
True. Loops can run for as long as you program them to.