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 | |
|---|---|---|
| 13. IF score > 10 THEN say "Win" | ADraw a diamond shape asking "Is score > 10?" with a Yes arrow to a "Win" step | |
| 24. REPEAT from step 2 | B2. ADD 1 to count → [ ADD 1 to count ] | |
| 3Each ordinary numbered step becomes one rectangle shape, joined to the next shape by an arrow | CIF it is raining THEN → <Is it raining?> Yes / No | |
| 4A decision in the steps becomes a diamond with two arrows out, labelled Yes and No | DA REPEAT should be an arrow going back to the shape for step 2, not forward to End. | |
| 5Step 3: IF age >= 10 → drawn as a rectangle | EDraw an arrow from this step back up to the shape for step 2 | |
| 6Step 5: REPEAT from step 2 → drawn as a new shape that goes forward to End | FAn IF must be drawn as a diamond, not a rectangle. A rectangle can't show a Yes and No choice. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
step = shape — Each numbered step becomes one flowchart shape. An IF becomes a diamond, and a REPEAT becomes an arrow going back to an earlier shape. Both versions should do the same thing.IF age >= 10 THEN = diamond shapeREPEAT = arrow back to an earlier shape1. SET total TO 0
Shape for step 1: rectangle2. IF count > 5 THEN
Diamond question: count > 5 ?Both versions must give the same result