9618/12/O/N/23 question 3: worked solution (October/November 2023, paper 12)

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. Q14 9618/12/O/N/23 original Q3 Structured · 6 marks Worked solution (a) Write one difference: a kibibyte is 1024 bytes (2¹⁰) but a megabyte is 1 000 000 bytes (1000 kilobytes) . Or: kibi is a binary prefix and mega is a denary prefix. [1] (b)(i) Write 196 as 12-bit binary: 0000 1100 0100. Invert every bit: 1111 0011 1011. Add 1 to get 1111 0011 1100. Write: 1111 0011 1100 [1] (b)(ii) Split into 4 bits: 1000 0110 0101 = 8, 6, 5. Write: 865 [1] (b)(iii) 000111010110 = 256 + 128 + 64 + 16 + 4 + 2 Write: 470 [1] (c) Application: financial / banking calculations [1] Justification: BCD stores decimal values exactly , so money amounts have no rounding errors that build up [1] Other accepted answers: electronic displays such as calculators or digital clocks (they show single digits and conversion is easier), or date and time in the BIOS. KEY IDEA Binary prefixes use 1024 and denary prefixes use 1000. BCD keeps decimal digits exact. TOTAL 6 marks Official mark scheme VIDEO ▶ Starts at Q3 (31:02) Starts at Q3 (31:02) · by Pseudocode Pro. Tap the picture to open it on YouTube.