Programming project build and test lesson for OCR GCSE Computer Science (J277), with editable PowerPoint slides, a student worksheet and full answers. Students build their planned program in stages, test it with suitable data and fix errors, recording what they found.
Written for J277/02 Computational thinking, algorithms and programming, section 2.2 Programming fundamentals (spec 2.2.3.6, 2.2.3.2, 2.3.2.4). Everything is editable, so you can adapt it to your class.
What’s included- PowerPoint lesson (15 slides) with teacher notes on every slide
- Student worksheet (Word), ready to print or edit
- Answer sheet (Word) with mark-scheme style answers for every question
By the end of the lesson students can:
- Turn a design into working Python, one sub program at a time
- Read from and write to text files inside functions and procedures
- Write and carry out a test plan with normal, boundary, invalid and erroneous data
Worksheet sections: A. Kinds of test data; B. Complete the test plan; C. Predict and write; D. Exam-style questions; E. Challenge
Every lesson includes- Learning goals and a starter question
- Clear explanations, diagrams and worked examples (Python 3 throughout, with the OCR Exam Reference Language alongside)
- A quick check and a “your turn” task linked to the worksheet
- Exam-style questions with marks, and an exit ticket
- PowerPoint (.pptx) and Word (.docx), fully editable
- Works in PowerPoint and Google Slides
- Bright, clear GCSE design, consistent across the whole course
These are independent resources written for the Cambridge OCR GCSE (9–1) Computer Science specification (J277, version 3.1). They are not produced or endorsed by OCR or Cambridge University Press & Assessment. Spec point numbers are our own numbering of the specification statements.
More lessons in this series- Previous lesson: Programming project design – OCR GCSE Computer Science lesson
- Next lesson: Linear search – OCR GCSE Computer Science lesson
- Save with the bundle: Programming fundamentals Part 2 – OCR GCSE CS (14 lessons)
Last updated: November 2026.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.