Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3.
A binary number system has a base of 2 [1]
It only uses two values, which are 1 and 0 [1]
Use the place values 128, 64, 32, 16, 8, 4, 2, 1 and write a 1 under each value you need.
14 = 8 + 4 + 2, so 1110 (or 00001110) [1]
59 = 32 + 16 + 8 + 2 + 1, so 111011 (or 00111011) [1]
234 = 128 + 64 + 32 + 8 + 2, so 11101010 [1]
Divide by 16: the whole number is the left digit and the remainder is the right digit (10 = A).
9 = 9 [1]
26 = 1 × 16 + 10, so 1A [1]
65 = 4 × 16 + 1, so 41 [1]
A positive number in two's complement is just its normal binary with a 0 in the left-most bit.
123 = 64 + 32 + 16 + 8 + 2 + 1 (suitable working) [1]
Answer: 01111011 [1]
Add column by column from the right, carrying when 1 + 1 happens:
0 0 1 1 0 0 1 1 + 0 1 1 1 1 0 0 0 1 1 1 (carries) 1 0 1 0 1 0 1 1
Working shown, for example the carries [1]
Left nibble 1010 correct [1]
Right nibble 1011 correct [1]
▶ 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.