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 | |
|---|---|---|
| 1Decision diamond with a 'No' arrow going back up to an earlier step | AThere is no arrow going back to an earlier shape, so this is a branch and not a loop. Nothing repeats. | |
| 2Decision diamond with a 'Yes' arrow going down to the End shape | BThe exit arrow: it leaves the loop when the condition is met | |
| 3To make steps repeat, draw an arrow from the decision diamond back to an earlier shape | CA loop: the steps repeat again because the arrow goes back | |
| 4To follow a loop, keep going round the arrows until the exit condition is met, then take the exit arrow | DIs the plant watered? -> No -> back to 'Pour water' | |
| 5Decision diamond with both the 'Yes' and 'No' arrows going down to different steps, with no arrow going back | EThere is no exit arrow, so the loop can never finish and would repeat forever. | |
| 6Decision diamond with a 'No' arrow going back to an earlier step, but no 'Yes' arrow leaving the diamond | FIs the bell ringing? Yes -> exit to 'Go inside' |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
flowchart loop — An arrow that goes back to an earlier shape, usually from a decision diamond, so the steps repeat until the exit condition is met and the exit arrow is followed.Box: Pour water
Diamond: Is the cup full?
NO -> go back to Pour waterDiamond: Is the cup full?
NO -> go back to Pour water
YES -> leave loop and Drink waterBox: Wash one dish
Diamond: Are all dishes clean?
NO -> go back to Wash one dishStep 1: Roll the dice
Step 2: Is it a 6?
NO -> go back to Step 1Box: Take a step
Diamond: At the door?
YES -> follow the exit arrow