Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Arrow from a step back up to the decision | AThe exit arrow: when the answer is Yes, the loop stops and the flow moves on | |
| 2Decision diamond: Is the cup full? Yes arrow goes to End | BIs the cup full? No -> Pour water -> back to Is the cup full? | |
| 3A loop that repeats until the answer is Yes | CThere is no exit arrow, so the loop can never stop. The decision needs a Yes arrow that leads out of the loop. | |
| 4The loop ends when the exit arrow is followed | DIs the cup full? Yes -> Stop pouring -> End | |
| 5Is the cup full? No -> Pour water -> Is the cup full? has no arrow back, it goes on to End | EThe step has no arrow going back to the question, so there is no loop. The steps only happen once. | |
| 6Is the cup full? has only a No arrow that goes to Pour water, then back, and no Yes arrow | FA loop arrow: it sends the flow back to an earlier shape so the steps repeat |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
loop arrow — An arrow that goes back to an earlier shape so steps repeat. The loop stops when the decision's exit arrow is followed, such as when the answer is Yes.Decision: Did someone answer?
No: go back to Step 2
Yes: exit the loop to EndDecision: Did someone answer?
No: go back to Step 2
Yes: exit the loop to EndStep 2: Add 1 to count
Decision: Is count equal to 5?
No: go back to Step 2Decision: Is the score 10 or more?
No: go back to Step 2
Yes: follow the exit arrow to EndDecision: Is the cup full?
No: go back to Step 2
Yes: exit the loop to End