Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3.
Denary uses ten digits, 0 to 9.
Tick Base-10 [1]
Multiply the left digit by 16 and add the right digit. A = 10, B = 11.
05 = 5 [1]
20 = 2 × 16 + 0 = 32 [1]
1A = 16 + 10 = 26 [1]
AB = 10 × 16 + 11 = 171 [1]
2 = 0010 and 5 = 0101.
Tick 00100101 [1]
1 = 0001 and B = 1011.
Tick 00011011 [1]
Write any one way:
To represent HTML colour codes. [1]
Another accepted answer: error messages.
Write any one way:
In assembly language. [1]
Other accepted answers: memory address locations, error messages, memory dumps.
▶ Whole paper
Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. 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.