Single lesson · Written for OCR A Level (H446)

Range and precision – OCR A Level Computer Science lesson (H446)

Students learn to compare the range and precision of two floating point formats and justify a choice for a given use.

Also in a bundle Databases, SQL and Floating Point – OCR A Level Computer Science lessons (H446) 14 lessons for £45 · save 19% on buying separately

Lesson 11 of 14 in unit 13.1 Databases, SQL and Floating Point, taught in Year 13, Autumn 1. It answers one big question: Should extra bits go to the mantissa or the exponent?

By the end, students can compare the range and precision of two floating point formats and justify a choice for a given use.

The Build (the main task)
Compare a 12-bit floating point format with an 8-bit mantissa and 4-bit exponent to one with a 6-bit mantissa and 6-bit exponent for storing Saltmere Ferries' tide heights, and justify which suits them (6 marks).
Support version
A comparison table with rows for largest value, smallest positive normalised value and precision, the 8/4 column worked, and the sentence starter 'Format A …, whereas format B …, so for tide heights …'.
Challenge
Explain why a 32-bit floating point value cannot store every whole number up to its largest value, while a 32-bit integer can store every whole number in its range.
Real-world link
Saltmere is choosing a storage format for tide heights, which vary by only a few metres but need centimetre accuracy.
Key words
Precision, Range and Balance, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“More mantissa bits give a bigger range”; “With enough bits, every decimal value can be stored exactly”.
OCR H446 specification
1.4.1 (g).

Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.

Students can do it all on paper.

Also sold in the Databases, SQL and Floating Point unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.

What's included

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for A Level Computer Science

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.