Year 11
Year 11
Classes and Objects
Link copied to clipboard
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
These resources were created for remote use during the pandemic and are not designed for classroom teaching.
Lesson details
Key learning points
- 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.
6 Questions
Q1.
An agreed upon programming practice, the way things are usually done.
Programming paradigm
Q2.
A programming paradigm that focuses on the use of objects
Procedural programming
Q3.
A template used to create objects.
Subroutine
Q4.
A model or pattern used to write programs.
Programming convention
Q5.
A programming paradigm that encourages the use of subroutines; functions and procedures
Object-oriented programming
Q6.
An instance of a class
Object
5 Questions
Q1.
The associated actions of an object
Attribute
Class
Instance
Q2.
Every new object created from the same blueprint
Attribute
Class
Method
Q3.
A collection of data and its associated actions
Class
Instance
Method
Q4.
The individual properties of an object
Class
Method
Object
Q5.
The blueprint for an object
Attribute
Instance
Object