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 | |
|---|---|---|
| 1INPUT Age | AThe OUTPUT statement inside the IF is not indented, so the structure is hard to read | |
| 2IF Score >= 50 THEN OUTPUT "Pass" ENDIF | BOUTPUT "Hello" | |
| 3Keywords such as OUTPUT are written in capital letters in Cambridge pseudocode | CINPUT is a keyword written in capital letters; it reads a value from the user into the variable Age | |
| 4Statements inside a loop are indented, with one statement on each line | DThe statement inside the IF is indented, and IF, THEN, OUTPUT and ENDIF are all in capital letters | |
| 5input Name output Name | EThe keywords INPUT and OUTPUT are written in lowercase; Cambridge pseudocode needs them in capital letters | |
| 6IF Age >= 18 THEN OUTPUT "Adult" ENDIF | FFOR Count <- 1 TO 3 OUTPUT Count NEXT Count |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
KEYWORDS IN CAPITALS — Cambridge pseudocode writes keywords like INPUT, OUTPUT and IF in capital letters, puts one statement on each line, and indents the statements inside IF and loops.INPUT Age
OUTPUT AgeINPUT Name
OUTPUT NameIF Mark >= 50 THEN
OUTPUT "Pass"
ENDIFIF Mark >= 50 THEN
OUTPUT "Pass"
ENDIFFOR Count ← 1 TO 3
OUTPUT Count
NEXT Count