Exam 12: Inheritance
Exam 1: Introduction to Computers and Programming35 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Simple functions34 Questions
Exam 4: Decision Structures and Boolean Logic35 Questions
Exam 5: Repetition Structures35 Questions
Exam 6: Value-Returning functions and Modules35 Questions
Exam 7: files and Exceptions35 Questions
Exam 8: Lists and Tuples35 Questions
Exam 9: More About Strings35 Questions
Exam 10: Dictionaries and Sets35 Questions
Exam 11: Classes and Object-Oriented Programming35 Questions
Exam 12: Inheritance35 Questions
Exam 13: Recursion35 Questions
Exam 14: GUI Programming35 Questions
Select questions type
_______________ is used to create an 'is a' relationship among classes.
(Short Answer)
4.8/5
(40)
What is the relationship called in which one object is a specialized version of another object?
(Multiple Choice)
4.8/5
(33)
When a class inherits another class, it is required to use all the data attributes and methods of the superclass.
(True/False)
4.8/5
(37)
Each subclass has a method named __init__ that overrides the superclass's __init__.
(True/False)
4.9/5
(38)
_____ allows a new class to inherit the members of the class it extends.
(Multiple Choice)
4.9/5
(34)
Polymorphism works on any two class methods that have the same name.
(True/False)
5.0/5
(44)
An 'is a' relationship exists between a grasshopper and a bumblebee.
(True/False)
4.9/5
(33)
The _______________ function determines whether an object is an instance of a specific class, or an instance of a subclass of that class.
(Short Answer)
4.8/5
(41)
The term _______________ refers to an object's ability to take different forms.
(Short Answer)
4.8/5
(29)
_______________ allows subclasses to have methods with the same names as methods in their superclasses.
(Short Answer)
4.9/5
(40)
Showing 21 - 35 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)