A computer stores floating point numbers of size 1 byte, with 3 bits for the mantissa and 5 bits for the exponent. State what the effects would be on the stored numbers if instead 5 bits were used for the mantissa and 3 bits were used for the exponent.

By increasing the size of the mantissa, the accuracy of the stored numbers would increase. Decreasing the size of the exponent, however, would reduce the range of numbers that could be stored. The overall amount of storage needed for the number is unchanged, though, as the number would still require 1 byte storage.

TD

Related Computing A Level answers

All answers ▸

Outline the differences between how a compiler and an interpreter works, and explain the advantages and usage of of each [12 marks]


Explain a bubble sort. You may use pseudocode and/or diagrams to help demonstrate your answer.


Write a Pseudocode function that returns the factorial of an integer input.


Describe the difference between a CPU and a GPU with relation to processing power and ability to perform tasks.