Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q7 · 2210/12/O/N/21 Q1

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

Q72210/12/O/N/21original Q1Structured · 9 marks
Question 1 from 2210/12/O/N/21

Worked solution

(a)

Denary uses ten digits, 0 to 9.

Tick Base-10 [1]

(b)

Multiply the left digit by 16 and add the right digit. A = 10, B = 11.

05 = 5 [1]

20 = 2 × 16 + 0 = 32 [1]

1A = 16 + 10 = 26 [1]

AB = 10 × 16 + 11 = 171 [1]

(c)(i)

2 = 0010 and 5 = 0101.

Tick 00100101 [1]

(c)(ii)

1 = 0001 and B = 1011.

Tick 00011011 [1]

(d)(i)

Write any one way:

To represent HTML colour codes. [1]

Another accepted answer: error messages.

(d)(ii)

Write any one way:

In assembly language. [1]

Other accepted answers: memory address locations, error messages, memory dumps.

KEY IDEAEach hexadecimal digit is worth 16 times more than the one on its right, and stands for 4 bits.
TOTAL 9 marks

Official mark scheme

Mark scheme for 2210/12/O/N/21 question 1
VIDEO
▶ Whole paper

Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. 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.