pptx, 252.56 KB
pptx, 252.56 KB
docx, 91.04 KB
docx, 91.04 KB
pdf, 119.67 KB
pdf, 119.67 KB
docx, 91.36 KB
docx, 91.36 KB
pdf, 124.45 KB
pdf, 124.45 KB
docx, 89.95 KB
docx, 89.95 KB
jpg, 146.72 KB
jpg, 146.72 KB

This is the starting point for OOP in Paper 4. Students build a Book class in Python with a proper constructor, private double-underscore attributes, getters and a setter with validation, all shown alongside the matching class diagram.

A short trace shows how one object’s state changes as methods are called, and the spot-the-bug slide tackles the missing self, which catches out nearly every class the first time.

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 Describe() extension)
  • Student worksheet (38 marks) in Word and PDF: tracking an object’s state, fill-the-gap class code, spot-the-errors and an 8-mark exam question
  • Full answer key in Word and PDF

How the lesson runs

  • A starter on blueprints and houses
  • Classes and objects, with a class diagram
  • Key vocabulary: attribute, method, constructor and encapsulation
  • The constructor, getters and setters, and using an object
  • A spot-the-bug slide on the missing self
  • A mini task tracking an object’s state, with answers
  • Why use encapsulation?
  • 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!

Reviews

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.