Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q19 · 2210/12/M/J/24 Q3

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

Q192210/12/M/J/24original Q3Structured · 11 marks
Question 3 from 2210/12/M/J/24

Worked solution

(a)

Write: hexadecimal [1]

(b)(i)

Use place values 128, 64, 32, 16, 8, 4, 2, 1.

10 = 8 + 2, so 1010 [1]

50 = 32 + 16 + 2, so 110010 [1]

201 = 128 + 64 + 8 + 1, so 11001001 [1]

(b)(ii)

Computers are made of logic gates / switches [1]

that only have two states, on and off, which are 1 and 0 [1]

(c)

Add column by column from the right:

  0 0 1 1 0 0 0 0
+ 0 1 1 0 0 1 1 0
  1 1 (carries)
  1 0 0 1 0 1 1 0

Working shown, for example the carries [1]

Left nibble 1001 correct [1]

Right nibble 0110 correct [1]

(d)

Write 32 in binary: 00100000.

Flip the bits: 11011111, then add 1 (working) [1]

Answer: 11100000 [1]

KEY IDEABinary uses only 1 and 0 because computers work with two-state switches; negative numbers use flip and add 1.
TOTAL 11 marks

Official mark scheme

Mark scheme for 2210/12/M/J/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.