Project design: the structure of the solution – OCR A Level Computer Science lesson (H446)
Students learn to describe the structure of their solution with modules and, where they use OOP, a class diagram whose parts link to their decomposition.
Lesson 6 of 16 in unit 13.2 Big O and Project Design, taught in Year 13, Autumn 1. It answers one big question: How will the parts of your solution fit together?
By the end, students can describe the structure of their solution with modules and, where they use OOP, a class diagram whose parts link to their decomposition.
- What happens
- General skill: describing the structure of a solution. The teacher shows how each module has one job and a defined interface (inputs, outputs, the data it shares), and how to draw a UML class diagram with attributes, methods, + and - for public and private, and inheritance arrows pointing from subclass to superclass. Students correct three planted errors in a made-up class diagram. Worked example: Highcrag Climbing Centre's module list and class diagram (Member, Booking, Session and Route classes, with StaffMember and Climber inheriting from Member). Supervised time: students describe the structure of their own solution and log the decisions in their journal.
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.