Python Chapter 11: Inheritance

Flashcard
•
Computers
•
Professional Development
•
Hard
Quizizz 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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CAPITAL BUDGETING

Flashcard
•
University
11 questions
Object-Oriented Programming Concepts

Flashcard
•
University
10 questions
cuestionario git

Flashcard
•
University
9 questions
Java Methods

Flashcard
•
12th Grade
8 questions
Methods

Flashcard
•
University
5 questions
Dataclasses python

Flashcard
•
Professional Development
8 questions
Popular Budgeting Strategies Flashcard

Flashcard
•
University
10 questions
Ch 3 OSCM 306 Review

Flashcard
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade