GCSE – Lesson 3 – Creating a class

Curriculum KS4 Unit Lesson

In this lesson your students will be independently applying the learning they have been doing in the first two lessons of the unit. You will use the Pet class created in lesson two as a worked example for the students to apply in creating a new class. Students will be stepping into the role of a video game programmer, in a fictional game called Monster Quest they will be making a class to represent the monsters in the game.

Learning objectives

  • Create a class
  • Define the use of a self parameter in object-oriented Python
  • Create a method on a class
  • Access and modify attributes using getters and setters

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework