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 | |
|---|---|---|
| 1Total ← Total + Mark | AA process box that adds Mark to Total and stores the result back in Total | |
| 2Mark >= 50 | BA vague question is used instead of a precise condition. It should be Mark >= 50. | |
| 3A parallelogram that reads a value from the user into a variable uses the INPUT keyword | CA decision diamond condition that asks if Mark is 50 or more, with Yes and No exits | |
| 4A parallelogram that shows a result to the user uses the OUTPUT keyword | DA sentence is used instead of a pseudocode statement. It should be Count ← Count + 1. | |
| 5Process box: Add 1 to the counter | EINPUT Mark | |
| 6Decision diamond: Is the mark high enough to pass? | FOUTPUT Total |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Count ← Count + 1 — Flowchart symbols hold precise pseudocode, not sentences. Process boxes use ← statements like this, decisions use conditions like Mark >= 50, parallelograms use INPUT or OUTPUT.Count ← Count + 1Mark >= 50INPUT MarkOUTPUT TotalTotal ← Total + Mark