logo

AQA A-Level Computer Science practice

Which statement best explains why floating-point representation can produce a rounding error?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Binary number system

Exam-style question

Try this first

Which statement best explains why floating-point representation can produce a rounding error?.

  1. A.The value may require more binary-fraction bits than are available
  2. B.Floating point stores only whole numbers
  3. C.Floating point prevents all changes to the stored value
  4. D.The value is always rounded to the nearest integer

Answer and explanation

Concise answer

The value may require more binary-fraction bits than are available

Why this is correct

Floating-point representation still has a limited number of bits available for representing the value. If the binary fraction cannot be represented in those bits, the stored value is rounded and may be inaccurate.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions