
Best practice on larger problems lesson for Pearson Edexcel International A Level Computer Science, with editable PowerPoint slides, a student worksheet and full answers. Larger programs need planning, modular design, documentation and testing; students apply good practice to a bigger Python problem.
Written for Unit 4 Advanced Practical Programming, topic 19 Best practice (specification 19.1.1, 19.1.2, 19.1.3, 19.2.1, 19.2.2, 19.2.3, 19.3.1). Everything is editable, so you can adapt it to your class.
What’s included- PowerPoint lesson (16 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:
- Decompose a multi-part problem into modules, each in its own file with a clear interface
- Keep a whole program consistent, readable and robust, including code you are asked to amend
- Test each module at its boundaries, then debug and refine the program as a whole
Worksheet sections: A. Key words; B. Decompose a larger problem; C. Debug and amend; D. Exam-style questions; E. Challenge
Every lesson includes- Learning goals and a starter question
- Clear explanations, diagrams and worked examples (Python 3 throughout, as the specification requires)
- 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
- Calm, muted sixth-form design, consistent across the whole course
These are independent resources written for the Pearson Edexcel International Advanced Level Computer Science specification (Issue 1, first teaching 2026; IAS XCP01, IAL YCP01). They are not produced or endorsed by Pearson.
More lessons in this series- Previous lesson: Recursive tree traversals – Edexcel IAL Computer Science lesson
- Next lesson: Classes, objects and encapsulation – Edexcel IAL Computer Science
- Save with the bundle: Unit 4 Advanced Programming – Edexcel IAL CS (20 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.