Question 11
AQA Computer Science June 2019 Paper 2A level10 marks
On the specification
- 11.1
- 4.5 Fundamentals of data representation
- 11.2
- 4.5 Fundamentals of data representation
- 11.3
- 4.5 Fundamentals of data representation
- 11.4
- 4.5 Fundamentals of data representation
Question text
11 Questions 11.1, 11.2, 11.3 and 11.4 use a normalised floating point representation box with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement. 11.1 Write the smallest positive number that can be represented by the floating point system in the boxes below. [2 marks] Mantissa Exponent 11.2 The following is a floating point representation of a number: 10 1 1 0 0 1 0 0 0 1 0 Mantissa Exponent Calculate the decimal equivalent of the number. You must show your working. [2 marks] 11.3 Write the normalised floating point representation of the decimal value 0.15625 (5/32 as a fraction) in the boxes below. You must show your working. [3 marks] Mantissa Exponent The two floating point numbers below are multiplied together. box 11.4 1 0 1 0 0 0 0 0 1 1 1 Mantissa Exponent 1 1 0 0 1 0 0 0 0 1 1 Mantissa Exponent A problem occurs as a result of the multiplication operation. Explain what problem has occurred and how the floating point representation could be redesigned to avoid it. [3 marks]