Computer Science 9608 · 13

13.3 Floating-point representation and manipulation

103 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2019 October-November · Paper 33 · Q1(a)(i)

Floating-point representation and manipulation · 3 marks · official answer ready

(i) A real number is stored as a 12-bit normalised binary number as follows: Mantissa Exponent Calculate the denary value for this binary number. Show your working. Working ......…

2019 October-November · Paper 33 · Q1(a)(ii)

Floating-point representation and manipulation · 3 marks · official answer ready

(ii) Calculate the normalised binary number for −3.75. Show your working. Mantissa Exponent Working ...............................................................................…

2019 October-November · Paper 33 · Q1(b)

Floating-point representation and manipulation · 1 mark · official answer ready

(b) The number of bits available to represent a real number is increased to 16. State the effect of increasing the size of the exponent by 4 bits. ................................…

2019 October-November · Paper 33 · Q1(c)

Floating-point representation and manipulation · 1 mark · official answer ready

(c) State why some binary representations can lead to rounding errors. ............................................................................................................…

2019 October-November · Paper 33 · Q1(d)

Floating-point representation and manipulation · 2 marks · official answer ready

(d) Complete the following descriptions by inserting the two missing terms. ................................................ can occur in the exponent of a floating-point number, …

2019 May-June · Paper 31 · Q1(a)

Floating-point representation and manipulation · 3 marks · official answer ready

(a) Calculate the denary value for the following binary floating-point number. Show your working. Mantissa Exponent Working .......................................................…

2019 May-June · Paper 31 · Q1(b)

Floating-point representation and manipulation · 3 marks · official answer ready

(b) Calculate the normalised floating-point representation of +1.5625 in this system. Show your working. Working ..................................................................…

2019 May-June · Paper 31 · Q1(c)(i)

Floating-point representation and manipulation · 2 marks · official answer ready

(i) Write the largest positive number that can be stored as a normalised floating-point number using this format. Mantissa Exponent [2]

2019 May-June · Paper 31 · Q1(c)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Write the smallest non-zero positive number that can be stored as a normalised floating-point number using this format. Mantissa Exponent [2]

2019 May-June · Paper 31 · Q1(d)

Floating-point representation and manipulation · 3 marks · official answer ready

(d) The developer of a new programming language decides that all real numbers will now be stored using 20-bit normalised floating-point representation. She must decide how many bi…

2019 May-June · Paper 32 · Q1(a)(i)

Floating-point representation and manipulation · 3 marks

(i) Calculate the denary value of the following floating-point number. Show your working. Mantissa Exponent Working ...............................................................…

2019 May-June · Paper 32 · Q1(a)(ii)

Floating-point representation and manipulation · 1 mark · official answer ready

(ii) State why the floating-point number in part (a)(i) is not normalised. ........................................................................................................…

2019 May-June · Paper 32 · Q1(a)(iii)

Floating-point representation and manipulation · 2 marks

(iii) Give the floating-point number in part (a)(i) in normalised two’s complement format. Mantissa Exponent [2] 3

2019 May-June · Paper 32 · Q1(b)(i)

Floating-point representation and manipulation · 3 marks

(i) Convert the denary number +11.625 into a normalised floating-point number. Show your working. Working .........................................................................…

2019 May-June · Paper 32 · Q1(b)(ii)

Floating-point representation and manipulation · 3 marks

(ii) Convert the denary number −11.625 into a normalised floating-point number. Show your working. Working ........................................................................…

2019 May-June · Paper 33 · Q1(a)

Floating-point representation and manipulation · 3 marks · official answer ready

(a) Calculate the denary value for the following binary floating-point number. Show your working. Mantissa Exponent Working .......................................................…

2019 May-June · Paper 33 · Q1(b)

Floating-point representation and manipulation · 3 marks · official answer ready

(b) Calculate the normalised floating-point representation of +1.5625 in this system. Show your working. Working ..................................................................…

2019 May-June · Paper 33 · Q1(c)(i)

Floating-point representation and manipulation · 2 marks · official answer ready

(i) Write the largest positive number that can be stored as a normalised floating-point number using this format. Mantissa Exponent [2]

2019 May-June · Paper 33 · Q1(c)(ii)

Floating-point representation and manipulation · 2 marks · official answer ready

(ii) Write the smallest non-zero positive number that can be stored as a normalised floating-point number using this format. Mantissa Exponent [2]

2019 May-June · Paper 33 · Q1(d)

Floating-point representation and manipulation · 3 marks · official answer ready

(d) The developer of a new programming language decides that all real numbers will now be stored using 20-bit normalised floating-point representation. She must decide how many bi…