Data representation
107 questions. Open a question to solve it and check the official answer.
Floating-point representation and manipulation · 0 marks
3 In a computer system, real numbers are stored using normalised-floating point representation with: • 8 bits for the mantissa •
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Calculate the normalised floating-point representation of + 21.75 in this system. Show your working. Working ..................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Find the denary value for the following binary floating-point number. Mantissa Exponent Show your working. Working ............................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
4 bits for the exponent • two’s complement form for both mantissa and exponent. (a) Calculate the normalised floating-point representation of + 21.75 in this system. Show your wor…
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Find the denary value for the following binary floating-point number. Mantissa Exponent Show your working. Working ............................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Calculate the normalised floating-point representation of 5.25 in this system. Show your working. Working .....................................................................…
Floating-point representation and manipulation · 2 marks · official answer ready
(c) The size of the mantissa is decreased and the size of the exponent is increased. State how this affects the range and precision of the numbers that the computer system can rep…
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Calculate the floating-point representation of + 2.5 in this system. Show your working. Mantissa Exponent • ...................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Calculate the floating-point representation of − 2.5 in this system. Show your working. Mantissa Exponent • ...................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(c) Find the denary value for the following binary floating-point number. Show your working. Mantissa Exponent 0 ..................................................................…
Floating-point representation and manipulation · 1 mark · official answer ready
(i) State whether the floating-point number given in part (c) is normalised or not normalised. ....................................................................................…
Floating-point representation and manipulation · 1 mark · official answer ready
(ii) Justify your answer given in part (d)(i). ....................................................................................................................................…
Floating-point representation and manipulation · 2 marks · official answer ready
(e) The system changes so that it now allocates 8 bits to both the mantissa and the exponent. State two effects this has on the numbers that can be represented. 1 ................…
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Calculate the floating point representation of + 3.5 in this system. Show your working. Mantissa Exponent .....................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(b) Calculate the floating-point representation of –3.5 in this system. Show your working. Mantissa Exponent ......................................................................…
Floating-point representation and manipulation · 3 marks · official answer ready
(c) Find the denary value for the following binary floating-point number. Show your working. Mantissa Exponent ....................................................................…
Floating-point representation and manipulation · 1 mark
(i) State whether the floating-point number given in part (c) is normalised or not normalised. ....................................................................................…
Floating-point representation and manipulation · 1 mark · official answer ready
(ii) Justify your answer given in part (d)(i). ....................................................................................................................................…
Floating-point representation and manipulation · 2 marks
(e) Give the binary two’s complement pattern for the negative number with the largest magnitude. Mantissa Exponent [2] 4
Floating-point representation and manipulation · 3 marks · official answer ready
(a) Calculate the floating-point representation of + 2.5 in this system. Show your working. Mantissa Exponent • ...................................................................…
