9618/12/M/J/21 question 6: worked solution (May/June 2021, paper 12)
Show as plain textHide 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. Q2 9618/12/M/J/21 original Q6 Structured · 6 marks Worked solution (a) ASCII uses 7 bits, so 2⁷ = 128 characters. [1] Extended ASCII uses 8 bits, so 2⁸ = 256 characters. [1] (b) Write any two of these points: Each character has its own unique code . [1] Each letter in the word (H, O, U, S, E) is replaced by its code. [1] The codes are stored in the same order as the letters in the word. (c)(i) 49 ÷ 16 = 3 remainder 1, so the hexadecimal value is 31 . [1] (c)(ii) The digits are in order, so 5 is 4 more than 1: 49 + 4 = 53 . [1] KEY IDEA A character set gives every character a unique code, and the codes for digits run in order. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by O/Alevel CS by Wasiq. Tap the picture to open it on YouTube.