Development sprint 6 – OCR A Level Computer Science lesson (H446)
Students learn to start sprint 6 writing maintainable code: meaningful identifiers, named constants, parameters and comments that explain why.
Lesson 9 of 13 in unit 13.6 Mock Exams and Project Development, taught in Year 13, Spring 1. It answers one big question: Could another programmer pick up your code tomorrow?
By the end, students can start sprint 6 writing maintainable code: meaningful identifiers, named constants, parameters and comments that explain why.
- What happens
- General skill: maintainable code. The teacher shows features moderators look for: meaningful identifiers, named constants instead of repeated values, subroutines with parameters and return values instead of globals, consistent indentation and comments that explain decisions. Worked example: a Highcrag Climbing Centre function that builds the manager's weekly usage report, first with the number 50 repeated and a global list, then refactored with MAX_ATTEMPTS and parameters, both versions annotated and the change logged in the journal. Supervised time: students design and start their own sprint 6 and apply the same habits to the code they write.
Also sold in the Mock Exams 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 allStudents learn to answer the first half of a full Paper 1-style mock on all of Component 01 under timed conditions.
Students learn to complete the Paper 1-style mock, including a 12-mark levels-marked evaluation, under timed conditions.
Students learn to answer Section A of a full Paper 2-style mock, tracing and writing code, under timed conditions.
Written for the specifications named. Not endorsed by or affiliated with any exam board.