Python Chapter 11: Inheritance

Python Chapter 11: Inheritance

Assessment

Flashcard

Computers

Professional Development

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In an inheritance relationship, the is the general class.

Back

superclass

2.

FLASHCARD QUESTION

Front

In an inheritance relationship, the is the specialized class.

Back

subclass

3.

FLASHCARD QUESTION

Front

Which of these would most likely be the subclass?
Options:
Airplane
JumboJet
Both
Neither

Back

JumboJet

4.

FLASHCARD QUESTION

Front

This characteristic of object-oriented programming allows the correct version of an overridden method to be called when an instance of a subclass is used to call it.

Back

polymorphism

5.

FLASHCARD QUESTION

Front

You can use this to determine whether an object is an instance of a class: the in operator, the is_object_of function, the isinstance function, the error messages that are displayed when a program crashes.

Back

the isinstance function

6.

FLASHCARD QUESTION

Front

Polymorphism allows you to write methods in a subclass that have the same name as methods in the superclass.

Back

True

7.

FLASHCARD QUESTION

Front

It is not possible to call a superclass’s init method from a subclass’s init method.

Back

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?