Project design: algorithms that form a complete solution – OCR A Level Computer Science lesson (H446)
Students learn to write algorithms for the key parts of their solution in pseudocode or flowcharts, detailed enough to code from.
Lesson 7 of 16 in unit 13.2 Big O and Project Design, taught in Year 13, Autumn 1. It answers one big question: Do your algorithms describe the whole solution, not just the easy bits?
By the end, students can write algorithms for the key parts of their solution in pseudocode or flowcharts, detailed enough to code from.
- What happens
- General skill: describing algorithms that form a complete solution. The teacher shows the moderators' warning signs: algorithms too high level to code from, or written after the code. Students rewrite a vague made-up algorithm ('check the booking is OK') until each step is precise, with proper function headers and endfunction. Worked example: Highcrag Climbing Centre's pseudocode for checking a session has space and the climber holds the right grade before a booking is saved, with a flowchart for the route-logging menu, each linked to a module from lesson 6. Supervised time: students write algorithms for the key parts of their own solution and note in the journal which success criterion each serves.
Also sold in the Big O and Project Design 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 allStudents learn to explain why algorithms are compared by how their steps grow with n, and reduce a step-count formula to its Big O.
Free sample lessonStudents learn to identify O(1), O(n) and O(n²) code from its loops and explain each answer from how often the statements run.
Students learn to explain logarithmic and exponential growth in terms of halving and doubling, and say why exponential algorithms do not scale.
Written for the specifications named. Not endorsed by or affiliated with any exam board.