Describe the effect of changing the allocation of bits used for the mantissa and for the exponent in a floating-point number with a fixed total number of bits.
- (a)Describe the effect of changing the allocation of bits used for the mantissa and for the exponent in a floating-point number with a fixed total number of bits.[2]
- (b)Real numbers are stored in a computer, using floating-point representation with: • 12 bits for the mantissa • 4 bits for the exponent • two's complement form for both the mantissa and exponent. Calculate the normalised floating-point representation of +54.8125 in this system. Show your working. Mantissa Exponent Working[3]
Mark scheme
Marking points from the official mark scheme (May/June 2024). The mark or mark type is shown in brackets.
- [2] MP1 When the number of bits in the mantissa is raised, the precision / accuracy of the number represented increases // when the number of bits in the mantissa is lowered, the precision / accuracy of the number represented reduces.
- [2] MP2 When the number of bits in the exponent is reduced, the range of numbers that can be represented is reduced // when the number of bits in the exponent is increased, the range of possible numbers that can be represented increases.
- [2] MP3 When the range increases the accuracy decreases // When the range decreases the accuracy increases.
- [3] • number converted to binary e.g. 54.8125 = 00110110.1101 // Fractions method 1/2 + 1/4 + 1/16 + 1/32 + 1/128 + 1/256 + 1/1024 = 877/1024 // 32 + 16 + 4 + 2 + 0.5 + 0.25 + 0.0625 / (1/2 + 1/4 + 1/16)
- [3] • exponent = 6 // Moving binary point the correct number of places
- [3] • correct answer
- [3] Mantissa 0 1 1 0 1 1 0 1 1 0 1 0, Exponent 0 1 1 0
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →