Single lesson · Written for OCR A Level (H446)

Heuristics and performance modelling – OCR A Level Computer Science lesson (H446)

Students learn to explain how a heuristic trades optimality for speed and how performance modelling predicts a system's behaviour before it is built.

Also in a bundle Path-finding, Computational Methods and Project Development – OCR A Level Computer Science lessons (H446) 17 lessons for £45 · save 33% on buying separately

Lesson 8 of 17 in unit 13.4 Path-finding, Computational Methods and Project Development, taught in Year 13, Autumn 2. It answers one big question: When is a quick, good-enough answer better than the best one?

By the end, students can explain how a heuristic trades optimality for speed and how performance modelling predicts a system's behaviour before it is built.

The Build (the main task)
Explain why Harrowgate Fulfilment uses a nearest-neighbour heuristic to plan a picker's trip to four aisle locations instead of checking every order of visits, and how performance modelling could predict whether the packing benches will cope with three times the normal orders before peak season.
Support version
The four locations on a number line (packing desk 0 m, A +2 m, B −3 m, C +8 m, D −5 m), with the nearest-neighbour trip half drawn, and sentence starters for the modelling part.
Challenge
Calculate how many orders of visits there are for 10 and for 20 locations, and explain what this shows about checking every order.
Real-world link
Harrowgate Fulfilment's human pickers collect small orders, and its managers must plan for peak season.
Key words
Performance modelling, Heuristic and Approximate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“A heuristic always finds the best answer, just faster”; “Performance modelling means measuring the finished system”.
OCR H446 specification
2.2.2 (f) (computational methods used to solve problems: backtracking, data mining, heuristics, performance modelling, pipelining and visualisation).

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 Path-finding, Computational Methods and Project Development 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.