Past-paper question · 2015 October-November · Paper 32 · Q1(c)

Question 1(c) 2015 · October-November · Paper 32 · 3 marks

Original past-paper question for 1(C)
Original past-paper question for 1(C)
Original past-paper question for 1(C)
Original past-paper question for 1(C)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)

Official answer for Question 1

Part (c)

Part (c)

Any point, 1 mark (max. 3)

✓
0.1/0.2 cannot be represented exactly in binary // rounding error
[1]
✓
0.1 represented by a value just greater than 0.1 // 0.2 represented by a value
✓
just greater than 0.2
[1]
✓
adding two representations together adds the two differences
[1]
✓
summed difference significant enough to be seen
[1]
✓
[max. 3]
✓
[Total: 14]

Mark scheme 9608_w15_ms_32.pdf →

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

Topic relevance

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

Keep practising this topic