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 | |
|---|---|---|
| 1A rectangle containing: INPUT Age | AThe Yes and No labels are missing, so the reader cannot tell which path is taken when the condition is true or false | |
| 2A diamond with only one arrow leaving it | BSTART -> INPUT Num -> OUTPUT Num * 2 -> (no STOP) | |
| 3A path must finish at a Terminator labelled STOP, so a missing terminator is an error | CWrong symbol shape: input and output belong in a parallelogram, not a process rectangle | |
| 4Text in a symbol should be a pseudocode statement, not a sentence | DProcess box: Work out the total of the numbers | |
| 5Decision: Age >= 18 ? with both arrows leaving it unlabelled | EThe loop arrow joins the wrong place; it should return to the decision at the top of the loop so the condition is checked again | |
| 6WHILE loop: the arrow from the end of the loop body goes to the box after the loop | FA decision with one exit: the diamond needs two labelled exits, Yes and No |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
flowchart error — A mistake in a flowchart, such as the wrong symbol shape, a missing Yes or No label, a path that never reaches Stop, or a loop arrow joining the wrong place.INPUT needs a parallelogram, not a boxA decision needs a Yes and a No exitEvery path must end at the Stop terminatorA loop arrow must rejoin before the decisionWrite Total ← Total + Mark, not a sentence