2210/12/M/J/25 question 1: worked solution (May/June 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. Q23 2210/12/M/J/25 original Q1 Structured · 13 marks Worked solution (a) RAM is primary storage. Other primary storage is ROM or cache . Write one: ROM [1] (b) RAM is volatile , so its data is lost when the power is turned off. [1] Also accepted: the data changes regularly and has to be replaced or updated all the time. (c) Use place values 128, 64, 32, 16, 8, 4, 2, 1. 19 = 16 + 2 + 1 = 10011 [1] 230 = 128 + 64 + 32 + 4 + 2 = 11100110 [1] (d) Change each hexadecimal digit into 4 bits. 35: 3 = 0011, 5 = 0101, so 0011 0101 [1] 8AD: 8 = 1000, A = 1010, D = 1101, so 1000 1010 1101 [1] (e) Add from the right, one nibble at a time, and write the carries. Carries 1 1 Number 1 0 1 1 0 0 1 0 1 Number 2 0 1 1 1 0 0 0 0 Answer 1 1 0 1 0 1 0 1 Right nibble: 0101 + 0000 = 0101 [1] Left nibble: 0110 + 0111 = 1101 [1] Working shown, for example the carries (1 + 1 = 10 and 1 + 1 + 1 = 11) [1] Answer: 11010101 (f) An overflow happens when the answer is too big (greater than 255) [1] so it cannot be stored in 8 bits (the bits available in the register). [1] (g) Write 22 in 8 bits: 00010110 Flip every bit: 11101001 Add 1: 11101001 + 1 = 11101010 Working method shown (flip the bits and add 1) [1] Answer: 11101010 [1] KEY IDEA Convert with place values and 4-bit groups; for two's complement flip the bits and add 1. TOTAL 13 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Virtual Help. Tap the picture to open it on YouTube.