Exam 15: Inheritance, Polymorphism, and Virtual Functions
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
Protected members of a base class are like ________, but they may be accessed by derived classes.
(Multiple Choice)
4.8/5
(38)
When member functions behave differently, depending upon which object performed the call, this is an example of ________.
(Multiple Choice)
5.0/5
(35)
Static binding occurs when the compiler binds a function call with the function call that resides in the same class as the call itself.
(True/False)
4.7/5
(37)
________ allows us to create new classes based on existing classes.
(Multiple Choice)
4.8/5
(33)
The ________ destructor is called before the ________ destructor.
(Multiple Choice)
4.8/5
(39)
In an inheritance situation, the new class that you create from an existing class is known as the ________.
(Multiple Choice)
4.8/5
(28)
In C++ 11, if a derived class attempts to override a final member function, the compiler generates an error.
(True/False)
4.9/5
(33)
When you derive a class from an existing class, you ________ add new data and functions.
(Multiple Choice)
4.7/5
(36)
The base class access specification determines how ________ members in the base class may be accessed by derived classes.
(Multiple Choice)
4.8/5
(41)
________ is commonly used to extend a class, or to give it additional capabilities.
(Multiple Choice)
4.9/5
(38)
A derived class may become a base class, if another class is derived from it.
(True/False)
5.0/5
(29)
In an inheritance situation, you may not pass arguments to a base class constructor.
(True/False)
4.7/5
(34)
When a derived class has two or more base classes, the situation is known as ________.
(Multiple Choice)
4.8/5
(38)
Multiple inheritance is when a ________ class has ________ base classes.
(Multiple Choice)
4.7/5
(38)
C++ 11 introduces the ________ key word to help prevent subtle errors when overriding virtual functions.
(Multiple Choice)
4.8/5
(34)
Arguments are passed to the base class destructor function by the ________ class ________ function.
(Multiple Choice)
4.8/5
(36)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)