Development sprint 4 – OCR A Level Computer Science lesson (H446)
Students learn to refine earlier code in sprint 4 and record each change and its reason in their journal.
Lesson 16 of 17 in unit 13.4 Path-finding, Computational Methods and Project Development, taught in Year 13, Autumn 2. It answers one big question: How can you improve what already works?
By the end, students can refine earlier code in sprint 4 and record each change and its reason in their journal.
- What happens
- General skill: refining in an iteration. The teacher shows that refining improves working code step by step (clearer names, removing repetition, better messages) and is recorded like any other change, with a retest. Worked example: sprint 4 of the Highcrag Climbing Centre project, which adds climbers' booking history and cancellation and refines the booking screen's messages; the journal records each change and the retest. The route log and the manager's report are left for sprints 5 and 6. Supervised time: students carry out their own sprint 4 and bring their journal up to date.
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 allStudents learn to describe how Dijkstra's algorithm finds the shortest path in a weighted graph and why each step keeps the lowest total.
Free sample lessonStudents learn to trace Dijkstra's algorithm with a priority queue, recording each distance and previous node, and read the path back from the goal.
Students learn to plan sprint 2 from their design and review of sprint 1, and write modular, annotated code with dated journal entries.
Written for the specifications named. Not endorsed by or affiliated with any exam board.