Cambridge O Level Computer Science 2210 · 1.1 Number systems

Q25 · 2210/12/O/N/25 Q2

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

Q252210/12/O/N/25original Q2Structured · 7 marks
Question 2 from 2210/12/O/N/25

Worked solution

(a)

Add from the right, writing the carries.

Place value2561286432168421
Carries11111
Number 111110101
Number 200111001
Answer100101110

Right nibble: 0101 + 1001 = 1110 [1]

Left nibble: 1111 + 0011 = 10010, so the 8 bits are 0010 with a carry out [1]

Working shown, with 4 or 5 of the carries correct (carries into the 2, 32, 64, 128 and 256 columns) [1]

The ninth bit (a carry out of the left end) is shown as an overflow: 1 0010 1110 [1]

(b)

Shift all bits 3 places right and fill the left with 0s: 11110101 → 00011110 [1]

Place values: 16 + 8 + 4 + 2 [1]

= 30 [1]

KEY IDEAAdd nibble by nibble with carries; a logical right shift fills the left with zeros.
TOTAL 7 marks

Official mark scheme

Mark scheme for 2210/12/O/N/25 question 2
VIDEO
▶ Whole paper

Video solution of the whole paper · by Hala Labs. 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.