2210/12/O/N/23 question 2: worked solution (October/November 2023, 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. Q15 2210/12/O/N/23 original Q2 Structured · 10 marks Worked solution (a) 11100011 = 128 + 64 + 32 + 2 + 1 = 227 [1] (b) Split into 4-bit groups: 1110 0011 1110 = E [1] 0011 = 3 [1] Answer: E3 (c) Move every bit 2 places left and fill the right with 0s: 11100011 → 10001100 [1] (d) 99 = 01100011 Flip the bits: 10011100 Add 1: 10011101 Method shown (flip and add 1) [1] Register: 10011101 [1] (e) Add from the right, carrying 1 when needed. Bit position 7 6 5 4 3 2 1 0 01001100 0 1 0 0 1 1 0 0 11100011 1 1 1 0 0 0 1 1 Carry out 1 1 0 0 0 0 0 0 Answer 0 0 1 0 1 1 1 1 First four bits 0010 [1] Last four bits 1111 [1] Working with correct carries [1] The carry out of the left bit is shown, so the full answer is 1 00101111 (overflow bit 1) [1] KEY IDEA Convert with place values, shift by moving bits, use flip-and-add-1 for negatives, and watch for the overflow carry. TOTAL 10 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.