Question 1(c) 2015 · October-November · Paper 32 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (c)
Part (c)
Any point, 1 mark (max. 3)
Show text version of question
Question 1
Part (c)
Question 1
In a particular computer system, real numbers are stored using floating-point representation with:
- 8 bits for the mantissa, followed by
- 4 bits for the exponent
Two’s complement form is used for both mantissa and exponent.
Part (c)
A student enters the following expression into an interpreter:
OUTPUT (0.1 + 0.2)
The student is surprised to see the following output:
Explain why this output has occurred.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[3]
Question 4
Why this question appears here
98% assigned-topic match · Data representation › Floating-point representation and manipulation
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9608_w15_qp_32.pdf
