2210/12/O/N/21 question 1: worked solution (October/November 2021, paper 12)

Show as 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. Q7 2210/12/O/N/21 original Q1 Structured · 9 marks Worked solution (a) Denary uses ten digits, 0 to 9. Tick Base-10 [1] (b) Multiply the left digit by 16 and add the right digit. A = 10, B = 11. 05 = 5 [1] 20 = 2 × 16 + 0 = 32 [1] 1A = 16 + 10 = 26 [1] AB = 10 × 16 + 11 = 171 [1] (c)(i) 2 = 0010 and 5 = 0101. Tick 00100101 [1] (c)(ii) 1 = 0001 and B = 1011. Tick 00011011 [1] (d)(i) Write any one way: To represent HTML colour codes . [1] Another accepted answer: error messages. (d)(ii) Write any one way: In assembly language . [1] Other accepted answers: memory address locations, error messages, memory dumps. KEY IDEA Each hexadecimal digit is worth 16 times more than the one on its right, and stands for 4 bits. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. Tap the picture to open it on YouTube.