AQA A-level Computer Science (7517)Specification point 4.5.4.5

AQA 7517 4.5.4.5: Rounding errors

The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.

What it covers

A fixed number of bits can only hold a fixed number of different values, but between any two real numbers there are infinitely many more. So most real numbers cannot be stored exactly. This lesson measures how wrong a stored value is, shows how the choice of format trades range against precision, and names what happens when a result is too big or too small to store at all.

  • Rounding errors
  • Absolute and relative errors
  • Range and precision
  • Overflow and underflow
  • A real reading
Read the free lesson (30 min)

Or do it in the simulator, with tasks that mark themselves

Lessons that teach it

  1. A7.4 Errors, range and precision Data representation
    Rounding errors, absolute and relative error, range against precision, overflow and underflow, with a real sensor reading.

Try it on a robot

The task from A7.4 Errors, range and precision, running here. Change the program and press Run.

The specification is AQA's own document; this page says which of our lessons teach point 4.5.4.5 and is not endorsed by the board.