Exam 15: Inheritance, Polymorphism, and Virtual Functions
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
The __________ destructor is called before the __________ destructor.
(Multiple Choice)
5.0/5
(34)
When a derived class has two or more base classes, the situation is called
(Multiple Choice)
4.8/5
(29)
Protected members of a base class are like __________, but they may be accessed by derived classes.
(Multiple Choice)
4.8/5
(31)
Select all that apply. In an inheritance situation, the new class that you create from an existing class is known as the
(Multiple Choice)
4.8/5
(37)
Pointers to a base class may be assigned the address of a derived class object.
(True/False)
4.9/5
(34)
When the compiler binds a member function call with the version of the function that resides in the same class as the call itself, it is considered
(Multiple Choice)
4.8/5
(38)
A __________ of a base class expects to be overridden in a derived class.
(Multiple Choice)
4.8/5
(35)
When arguments must be passed to the base class constructor, they are passed from the derived class constructor's header line.
(True/False)
4.8/5
(35)
In C++11, if a derived class attempts to override a final member function, the compiler generates an error.
(True/False)
4.8/5
(35)
When you derive a class from an existing class, you __________ add new data and functions.
(Multiple Choice)
4.9/5
(38)
Multiple inheritance opens the opportunity for a derived class to have ___________ members.
(Multiple Choice)
4.9/5
(42)
Functions that are dynamically bound by the compiler are __________ functions.
(Multiple Choice)
4.7/5
(27)
Arguments are passed to the base class destructor by the __________ class __________ function.
(Multiple Choice)
4.8/5
(36)
C++11 provides a way for a derived class to inherit some of the base class's constructors.
(True/False)
4.8/5
(36)
When more than one class is derived from a base class, the situation is called
(Multiple Choice)
4.9/5
(39)
When member functions behave differently depending on which object performed the call, this is an example of
(Multiple Choice)
4.9/5
(36)
The __________ constructor is called before the __________ constructor.
(Multiple Choice)
4.8/5
(34)
Multiple inheritance is when a __________ class has __________ base classes.
(Multiple Choice)
4.9/5
(35)
Showing 21 - 40 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)