Question 4

AQA Computer Science June 2024 Paper 2 (7517/2)A level10 marks

On the specification

4.1
3.5 Fundamentals of data representation4.5 Fundamentals of data representation
4.2
4.5 Fundamentals of data representation
4.3
4.5 Fundamentals of data representation
4.4
4.5 Fundamentals of data representation
4.5
4.5 Fundamentals of data representation
Question text

4.1 Shade the lozenges next to all of the true statements about representing numbers using fixed and floating point representations. [2 marks] A processor can usually carry out calculations on fixed point numbers A more quickly than calculations on floating point numbers. B Fixed point numbers represent data using a mantissa and an exponent. In a given number of bits, a fixed point system can represent positive C numbers that are closer to zero than a floating point system can. In a given number of bits, a fixed point system can represent some D numbers more precisely than a floating point system. In a given number of bits, a floating point system can represent a bigger E range of numbers than a fixed point system. Questions 04.2, 04.3 and 04.4 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement. 4.2 Figure 2 shows a floating point representation of a number: Figure 2 Calculate the decimal equivalent of the number in Figure 2. You should show your working. [2 marks] Questions 04.2, 04.3 and 04.4 use a normalised floating point representation with an box 8-bit mantissa and a 4-bit exponent, both stored using two’s complement. 49 4.3 The decimal number 12.765625 (which can also be expressed as 12 ) cannot be 64 represented exactly in this floating point system. Write the closest possible normalised representation of this number in the boxes below. You should show your working. [3 marks] 4.4 What is the smallest number of bits that would need to be added to the mantissa so that the decimal number 12.765625 could be represented exactly? [1 mark] 4.5 A different system uses a normalised floating point representation with a 10-bit mantissa and a 6-bit exponent, both stored using two’s complement. In decimal, what is the most negative number that this system could represent? You should show your working. [2 marks] Most negative number