Question 12
AQA Computer Science June 2025 Paper 2 (7517/2)A level9 marks
On the specification
- 12.1
- 4.5 Fundamentals of data representation
- 12.2
- 4.5 Fundamentals of data representation
- 12.3
- 4.5 Fundamentals of data representation
- 12.4
- 4.5 Fundamentals of data representation
- 12.5
- 4.5 Fundamentals of data representation
- 12.6
- 4.5 Fundamentals of data representation
Question text
12 A computer represents numbers using a normalised floating point representation with an 8-bit mantissa and a 6-bit exponent, both stored using two’s complement, as shown in Figure 7. Five different bit patterns that are stored in this computer’s memory are listed in Figure 7 and are labelled with the letters A to E. Four of the bit patterns are valid normalised floating point numbers and one is not. Figure 7 12.1 Shade one lozenge to indicate which bit pattern (A–E) in Figure 7 does not represent a normalised value. [1 mark] A B C D E 12.2 Shade one lozenge to indicate which bit pattern (A–E) in Figure 7 shows the most negative normalised value that can be represented. [1 mark] A B C D E 12 3 box . State one reason why values stored using a floating point representation are usually normalised. [1 mark] Question parts 12.4 and 12.5 use a normalised floating point representation with an 8-bit mantissa and a 6-bit exponent, both stored using two’s complement. 12.4 Figure 8 shows a floating point representation of a number: Figure 8 Calculate the decimal equivalent of the number in Figure 8. Express your answer to at least four decimal places or as a fraction. You should show your working. [2 marks] Question parts 12.4 and 12.5 use a normalised floating point representation with an 8-bit mantissa and a 6-bit exponent, both stored using two’s complement. 12.5 The decimal value 43 057 152 cannot be represented exactly using this floating point system. Write the closest possible normalised floating point representation of the decimal value 43 057 152 in the boxes below. You should show your working. [3 marks] 12.6 Calculate the relative error that occurred when you represented 43 057 152 as closely as possible in question part 12.5. You should show your working. Express your answer as a percentage to at least four decimal places. [1 mark] Answer 9