## Scratch Lab 6

### Scratch Lab Pair Programming

My Project Link

### Scratch Lab Rock, Paper, Scissors

My Project Link

Click HERE to return to my Scratch Labs.

Scratch Write Up

- What is the difference between and if and and if-else statement?
An “if” statement is activated if a certain requirements are met. An “if-else” statement is the same except that you can decide what happens if the statement is not fulfilled.
- Is there a simpler way to write the following code? Explain.
Yes; instead of doing an “if-else” statement you could just use an “if” statement and put “move 10 steps” above said statement.
- Which students are described by the following conditional?
“if you are not a Senior and you are on the soccer team or you are in band then…”
9th, 10th, and 11th graders on soccer team or in band.
- If the statement from Question 3 is changed as shown below, who else is included in the condition?
“if you are not a Senior OR you are on the soccer team or you are in band then…”
9th, 10th, and 11th graders and any student in soccer or band.
- Write the condition for a number being a multiple of 15. (hint: look at the block).
Set any number equal to a variable. Put that variable in the first part of the mod block. Next, you put 15 in the second part of the mod block. If the output is zero, then the number is a multiple of 15.