Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q21 · 2210/13/O/N/24 Q1

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

Q212210/13/O/N/24original Q1Structured · 15 marks
Question 1 from 2210/13/O/N/24

Worked solution

(a)

From smallest to largest: MiB, GiB, TiB, PiB.

Tick B [1]

(b)

Any one example with a matching explanation:

Example: RAM [1]

It stores the data and programs that are currently in use [1]

It is volatile / temporary, and the CPU can access it directly [1]

Other examples that score: ROM (stores the BIOS or bootstrap, non-volatile) or cache (stores frequently used instructions, volatile).

(c)(i)

175 = 128 + 32 + 8 + 4 + 2 + 1 (valid working) [1]

Answer: 10101111 [1]

(c)(ii)

Change each hexadecimal digit into 4 bits.

15 → 0001 0101 [1]

2D → 0010 1101 [1]

091 → 0000 1001 0001 [1]

(d)

Add column by column from the right, carrying when 1 + 1 happens:

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

Working shown, for example the carries [1]

Right nibble 1111 correct [1]

Left nibble 1010 correct [1]

The extra carry out of the left-most bit shows overflow (the answer needs 9 bits) [1]

(e)

Flip the bits of 10001110 to get 01110001, then add 1 to get 01110010 (working) [1]

01110010 = 114, so the answer is -114 [1]

KEY IDEAConvert with place values, use 4 bits per hex digit, and watch for a carry out of the left-most bit (overflow).
TOTAL 15 marks

Official mark scheme

Mark scheme for 2210/13/O/N/24 question 1
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.