2210/12/O/N/24 question 3: worked solution (October/November 2024, 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. Q20 2210/12/O/N/24 original Q3 Structured · 13 marks Worked solution (a)(i) Write: they are both number systems [1] (a)(ii) Any two of these: Binary is base 2 whereas hexadecimal is base 16 [1] Binary only uses 0 and 1 whereas hexadecimal uses 0 to 9 and A to F [1] (b) Use place values 128, 64, 32, 16, 8, 4, 2, 1. 15 = 8 + 4 + 2 + 1, so 1111 (or 00001111) [1] 180 = 128 + 32 + 16 + 4, so 10110100 [1] 235 = 128 + 64 + 32 + 8 + 2 + 1, so 11101011 [1] (c) Divide by 16 (10 = A, 14 = E, 15 = F). 14 = E [1] 100 = 6 × 16 + 4, so 64 [1] 250 = 15 × 16 + 10, so FA [1] (d)(i) Any two of these: Every bit is moved one place to the left [1] The left-most (most significant) bit is lost [1] A 0 is added as the right-most (least significant) bit. (d)(ii) Write: the binary integer is multiplied by 2 [1] (e) Write: two's complement [1] KEY IDEA Hexadecimal and binary are both number systems; a left shift multiplies by 2 and negatives use two's complement. TOTAL 13 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.