
Python Chapter 11: Inheritance
Flashcard
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?