
Polymorphism is the OOP word students find hardest to explain in an exam, so this lesson keeps it very concrete. A Shape superclass, three subclasses that each override GetArea, and one loop that calls Describe() on all of them and gets three different answers.
There’s a ‘which version runs?’ trace, including a Square that inherits GetArea from Rectangle, and a spot-the-bug on a misspelt method name that silently fails to override.
What’s included
- 16-slide editable teacher PowerPoint, with speaker notes on every slide
- Python starter code with guided TODOs and the full tested solution, in a Word file ready to copy into your editor (including a Square subclass extension)
- Student worksheet (35 marks) in Word and PDF: predicting which method runs, fill-the-gap code, spot-the-errors and exam-style questions
- Full answer key in Word and PDF
How the lesson runs
- A starter on one instruction with different responses
- What polymorphism is, with a class diagram
- Key vocabulary: overriding, signature and collections
- Overriding GetArea, one loop for many shapes, and Square
- A spot-the-bug slide on a misspelt method name
- A ‘which version runs?’ mini task with answers
- Inheritance and polymorphism compared
- A coding task, exam-style question with mark scheme, and exit ticket
Written for Cambridge International AS & A Level Computer Science (9618), Paper 4 Practical, and pitched at A Level (Year 13). Everything is editable, so you can adapt it for your own classes.
Please leave a review if you find it useful. It really helps!
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.