Classes and Objects

In this lesson you will learn how to create a class in Python and then use that class to create objects. You will cover some important terms that you will use throughout the rest of the unit.

Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

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

1/6

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

2/6

Q3.A template used to create objects.

3/6

Q4.A model or pattern used to write programs.

4/6

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

5/6

Q6.An instance of a class

6/6

Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

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

1/6

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

2/6

Q3.A template used to create objects.

3/6

Q4.A model or pattern used to write programs.

4/6

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

5/6

Q6.An instance of a class

6/6

Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

  • Click "Close Video"
  • Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

Worksheet

These slides will take you through some tasks for the lesson. If you need to re-play the video, click the ‘Resume Video’ icon. If you are asked to add answers to the slides, first download or print out the worksheet. Once you have finished all the tasks, click ‘Next’ below.

Quiz:

Classes and Objects

Don’t worry if you get a question wrong! Forgetting is an important step in learning. We will recap next lesson.

Question 1

Question 2

Question 3

Question 4

Question 5

Q1.The associated actions of an object

1/5

Q2.Every new object created from the same blueprint

2/5

Q3.A collection of data and its associated actions

3/5

Q4.The individual properties of an object

4/5

Q5.The blueprint for an object

5/5

Quiz:

Classes and Objects

Don’t worry if you get a question wrong! Forgetting is an important step in learning. We will recap next lesson.

Question 1

Question 2

Question 3

Question 4

Question 5

Q1.The associated actions of an object

1/5

Q2.Every new object created from the same blueprint

2/5

Q3.A collection of data and its associated actions

3/5

Q4.The individual properties of an object

4/5

Q5.The blueprint for an object

5/5

Lesson summary: Classes and Objects

It looks like you have not attempted both the quizzes.

To share your results with your teacher please complete both the quizzes.

Browse Oak's lessons: