Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.
Match each description to a data type from the list.
A number with a fractional part: Real [1]
A whole number: Integer [1]
A single number, symbol or letter: Char (String is also accepted) [1]
A sequence of characters: String [1]
Two values, True or False: Boolean [1]
▶ Whole paper
Video solution of the whole paper · by Zafar Ali Khan (ZAK). 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.