Development sprint 5 (continued) – OCR A Level Computer Science lesson (H446)
Students learn to add validation to their own code, annotate why each check is there and review progress against the sprint goal.
Lesson 7 of 13 in unit 13.6 Mock Exams and Project Development, taught in Year 13, Spring 1. It answers one big question: How do you show that your program checks its inputs?
By the end, students can add validation to their own code, annotate why each check is there and review progress against the sprint goal.
- What happens
- General skill: validation and the mid-sprint review. The teacher shows presence, range, length, type and format checks in Python, and why validation makes data sensible, not correct (a climber can still type the wrong grade from the list). Each check is annotated with the rule it enforces and the success criterion it serves. Worked example: the Highcrag Climbing Centre route-log form, with a grade chosen from a list, a date in the right format and attempts from 1 to 50, annotated and linked to its criteria. Students then review the worked sprint against its goal: what is done, what is not and what changes. Supervised time: students validate the inputs of their own sprint 5 feature and write a short mid-sprint review in the journal.
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.