Rocket finds a snack on the kitchen table. "Can I eat it?" he asks. He reaches for it fast.
Raven stops him gently. "What do you notice on the wrapper?" she asks.
Nova floats down. "Read the if first," she says. "Then pick your path."
Let's follow each decision. Then we'll take turns being the computer.
Read the decision. Circle the path you would take. Then answer the next conditional based on your choice.
Sometimes there are more than two choices. ELSE IF adds another question.
Nova checks the questions from top to bottom. She stops at the first true one.
IF the light is red:
stop
ELSE IF the light is yellow:
slow down
ELSE:
go | Statement | True or false? |
|---|---|
| Nova checks the questions from top to bottom. | ? |
| ELSE IF asks a new question. | ? |
| ELSE asks a question too. | ? |
| Nova runs every true path at the same time. | ? |