9618/11/O/N/25 question 1: worked solution (October/November 2025, paper 11)

Show as plain text

Cambridge AS Level Computer Science 9618 · 1.1 Data Representation Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 1 of 3. Q23 9618/11/O/N/25 original Q1 Structured · 7 marks Worked solution (a)(i) Group in 4 bits: 1011 = B, 0011 = 3, 1010 = A. Write: B3A [1] (a)(ii) BCD stores each denary digit in 4 bits: 1 = 0001, 0 = 0000, 8 = 1000. Write: 0001 0000 1000 [1] (a)(iii) Method: flip the bits and add 1. 1111 1011 1100 flipped = 0000 0100 0011 Add 1 = 0000 0100 0100 = 64 + 4 = 68 [1] The number was negative, so write: −68 [1] Other correct way: −2048 + 1024 + 512 + 256 + 128 + 32 + 16 + 8 + 4 = −68. (b)(i) 10110011 + 01111000 = 1 0010 1011. Write: (1) 00101011 [1] (b)(ii) Name: overflow error . [1] Description: the answer is too big or too small to fit in the number of bits available, for example it is larger than the maximum positive number the register can store (or smaller than the most negative number). [1] KEY IDEA Work in groups of 4 bits for hexadecimal and BCD; overflow happens when the answer does not fit in the register. TOTAL 7 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by MAK CS. Tap the picture to open it on YouTube.