Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.
Tick one box in each row:
| Description | Boolean | Char | Integer | Real | String |
|---|---|---|---|---|---|
| a single character from the keyboard | ✓ | ||||
| multiple characters from the keyboard | ✓ | ||||
| only one of two possible values | ✓ | ||||
| only whole numbers | ✓ | ||||
| any number | ✓ |
All five rows correct [4]
Four correct rows score 3 marks, three correct rows 2 marks and two correct rows 1 mark.
▶ Topic lesson
A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.