9618/33/M/J/25 question 2: worked solution (May/June 2025, paper 33)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 13.3 Floating-point numbers, representation and manipulation Worked solution from the Data Representation Paper 3 Advanced Theory booklet, Part 3 of 3. Q50 9618/33/M/J/25 original Q2 Structured · 6 marks Worked solution (a) Largest normalised positive mantissa is 0.1111111 (sign bit 0). Largest exponent is 01111111 = 127. Mantissa 0 1 1 1 1 1 1 1 , exponent 0 1 1 1 1 1 1 1 [1] Denary: 127/128 × 2¹²⁷ = 2¹²⁷ − 2¹²⁰ [1] (b) Change 3.59375 to binary: 11.10011, so 011.10011. Two's complement: flip the bits and add 1 to get 100.01101, which is −4 + 0.25 + 0.125 + 0.03125. Working: number converted to binary and to its negative form [1] Move the binary point 2 places left to give 1.0001101, so the exponent is 2 = 00000010. Working: exponent seen [1] Mantissa: 1 0 0 0 1 1 0 1 [1] Exponent: 0 0 0 0 0 0 1 0 [1] KEY IDEA The largest positive value uses the biggest mantissa 0.111... with the biggest exponent. TOTAL 6 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.