Exam 15: Inheritance, Polymorphism, and Virtual Functions
Exam 1: Introduction to Computers and Programming44 Questions
Exam 2: Introduction to C++56 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files62 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays53 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 10: Characters, C++-Strings, and More About the String Class42 Questions
Exam 11: Structured Data43 Questions
Exam 11: Structured Data50 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes46 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions38 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library STL39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues46 Questions
Exam 19: Recursion21 Questions
Exam 20: Binary Trees38 Questions
Select questions type
A member function of a derived class may not have the same name as a member function of a base class.
Free
(True/False)
4.8/5
(29)
Correct Answer:
False
When you derive a class from an existing class, you _________ add new data and functions.
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
C
A derived class may not have any classes derived from it.
Free
(True/False)
4.7/5
(40)
Correct Answer:
False
The base class access specification can be viewed as a filter that base class members must pass through when becoming inherited members of a derived class.
(True/False)
4.9/5
(42)
A virtual function is a member function that expects to be _________ in a derived class.
(Multiple Choice)
4.8/5
(42)
When more than one class is derived from a base class, the situation is called:
(Multiple Choice)
4.9/5
(41)
A derived class may become a base class, if another class is derived from it.
(True/False)
4.8/5
(38)
Polymorphism is when ____________ in a class hierarchy perform differently, depending upon which object performs the call.
(Multiple Choice)
4.9/5
(32)
The base class's __________ affects the way its members are inherited by the derived class.
(Multiple Choice)
4.8/5
(32)
____________ is commonly used to extend a class, or to give it additional capabilities.
(Multiple Choice)
4.8/5
(43)
The base class access specification determines how ___________ members in the base class may be accessed by derived classes.
(Multiple Choice)
4.8/5
(31)
A __________ of a base class expects to be overridden in a derived class.
(Multiple Choice)
4.8/5
(32)
Arguments are passed to the base class destructor function by the ________ class __________ function.
(Multiple Choice)
4.8/5
(34)
_________ members of a base class are never accessible to a derived class.
(Multiple Choice)
4.8/5
(36)
When arguments must be passed to the base class constructor, they are passed from the derived class constructor's header line.
(True/False)
4.9/5
(43)
When member functions behave differently, depending upon which object performed the call, this is an example of ___________.
(Multiple Choice)
4.9/5
(43)
__________ functions are dynamically bound by the compiler.
(Multiple Choice)
4.7/5
(44)
_________ allows us to create new classes based on existing classes.
(Multiple Choice)
4.9/5
(44)
Showing 1 - 20 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)