These resources were made for remote use during the pandemic, not classroom teaching.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

Lesson details

Key learning points

  1. In this lesson, we will learn how to create a class in Python and then use that class to create objects.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

Prior knowledge starter quiz

Download quiz pdf
Share with pupils

6 Questions

Q1.
An agreed upon programming practice, the way things are usually done.

Correct answer: Programming convention
Programming paradigm

Q2.
A programming paradigm that focuses on the use of objects

Correct answer: Object-oriented programming
Procedural programming

Q3.
A template used to create objects.

Correct answer: Class
Subroutine

Q4.
A model or pattern used to write programs.

Programming convention
Correct answer: Programming paradigm

Q5.
A programming paradigm that encourages the use of subroutines; functions and procedures

Object-oriented programming
Correct answer: Procedural programming

Q6.
An instance of a class

Correct answer: Class
Object

5 Questions

Q1.
The associated actions of an object

Attribute
Class
Instance
Correct answer: Method

Q2.
Every new object created from the same blueprint

Attribute
Class
Correct answer: Instance
Method

Q3.
A collection of data and its associated actions

Class
Instance
Method
Correct answer: Object

Q4.
The individual properties of an object

Correct answer: Attributes
Class
Method
Object

Q5.
The blueprint for an object

Attribute
Correct answer: Class
Instance
Object