Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q20 · 2210/12/O/N/24 Q3

Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3.

Q202210/12/O/N/24original Q3Structured · 13 marks
Question 3 from 2210/12/O/N/24

Worked solution

(a)(i)

Write: they are both number systems [1]

(a)(ii)

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]

(b)

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]

(c)

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]

(d)(i)

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.

(d)(ii)

Write: the binary integer is multiplied by 2 [1]

(e)

Write: two's complement [1]

KEY IDEAHexadecimal and binary are both number systems; a left shift multiplies by 2 and negatives use two's complement.
TOTAL 13 marks

Official mark scheme

Mark scheme for 2210/12/O/N/24 question 3
VIDEO
▶ 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.