Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3.
Write: they are both number systems [1]
Any two of these:
Binary is base 2 whereas hexadecimal is base 16 [1]
Binary only uses 0 and 1 whereas hexadecimal uses 0 to 9 and A to F [1]
Use place values 128, 64, 32, 16, 8, 4, 2, 1.
15 = 8 + 4 + 2 + 1, so 1111 (or 00001111) [1]
180 = 128 + 32 + 16 + 4, so 10110100 [1]
235 = 128 + 64 + 32 + 8 + 2 + 1, so 11101011 [1]
Divide by 16 (10 = A, 14 = E, 15 = F).
14 = E [1]
100 = 6 × 16 + 4, so 64 [1]
250 = 15 × 16 + 10, so FA [1]
Any two of these:
Every bit is moved one place to the left [1]
The left-most (most significant) bit is lost [1]
A 0 is added as the right-most (least significant) bit.
Write: the binary integer is multiplied by 2 [1]
Write: two's complement [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.