9618/11/O/N/22 question 1: worked solution (October/November 2022, paper 11)

Show as 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. Q8 9618/11/O/N/22 original Q1 Structured · 11 marks Worked solution (a)(i) 00100111 = 32 + 4 + 2 + 1 = 39 [1] (a)(ii) BCD: each group of 4 bits is a digit: 0010 = 2, 0111 = 7. Answer: 27 [1] (a)(iii) The left bit is −128: −128 + 64 + 32 + 4 + 2 + 1 = −25 [1] (b) Add the two's complement of 01110101: invert to 10001010, add 1 to get 10001011. Add: 10110011 + 10001011 = 1 00111110. Ignore the carry on the left. Working (borrowing or two's complement) [1] Answer: 00111110 [1] (c) Write one similarity and two differences: Similarity: both give each character a unique code (or both can use 8 bits, or ASCII is a subset of Unicode). [1] Difference 1: Unicode can use up to 32 bits per character , but ASCII uses 7 or 8 bits. [1] Difference 2: Unicode can represent many more characters and languages , but ASCII is only for one language. [1] (d)(i) Sampling rate is the number of samples taken per unit time (per second). [1] (d)(ii) Write two points: Higher sampling resolution means more bits per sample , so the file size increases . [1] The sound is more accurate (closer to the original wave, smaller quantisation errors). [1] KEY IDEA The same bit pattern gives different values as unsigned, BCD or two's complement. TOTAL 11 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.