2210/12/O/N/25 question 2: worked solution (October/November 2025, paper 12)
Show as plain textHide plain text
Cambridge O Level Computer Science 2210 · 1.1 Number systems Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 1 of 3. Q25 2210/12/O/N/25 original Q2 Structured · 7 marks Worked solution (a) Add from the right, writing the carries. Place value 256 128 64 32 16 8 4 2 1 Carries 1 1 1 1 1 Number 1 1 1 1 1 0 1 0 1 Number 2 0 0 1 1 1 0 0 1 Answer 1 0 0 1 0 1 1 1 0 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 IDEA Add nibble by nibble with carries; a logical right shift fills the left with zeros. TOTAL 7 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Hala Labs. Tap the picture to open it on YouTube.