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
Multiple inheritance is when a _________ class has ___________ base classes.
(Multiple Choice)
4.8/5
(45)
Pointers to a base class may be assigned the address of a derived class object.
(True/False)
4.7/5
(38)
In an inheritance situation, you may not pass arguments to a base class constructor.
(True/False)
4.8/5
(36)
Multiple inheritance opens the opportunity for a derived class to have ___________ members.
(Multiple Choice)
4.9/5
(33)
Protected members of a base class are like _________, but they may be accessed by derived classes.
(Multiple Choice)
4.9/5
(35)
When the compiler binds a member function call with the version of the function that resides in the same class as the call itself, this is considered __________ binding.
(Multiple Choice)
4.9/5
(43)
The ________ destructor is called before the _______ destructor.
(Multiple Choice)
4.9/5
(28)
The following statement class Car : private Vehicle
Allows the __________ members of the Car class to access ___________ members of the Vehicle class.
(Multiple Choice)
4.8/5
(38)
In an inheritance situation, the new class that you create from an existing class is known as the ____________.
(Multiple Choice)
4.9/5
(37)
A virtual function is declared by placing the keyword _______ in front of the return type in the base class's function declaration.
(Multiple Choice)
4.8/5
(36)
In the following statement class Car : protected Vehicle
Which is the derived class?
(Multiple Choice)
4.8/5
(38)
The ________ constructor is called before the _______ constructor.
(Multiple Choice)
4.9/5
(37)
_____________ to a base class may be assigned the address of a derived class object.
(Multiple Choice)
4.8/5
(28)
When a derived class has two or more base classes, the situation is known as __________.
(Multiple Choice)
4.9/5
(32)
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.8/5
(38)
In the statement class car : public vehicle, which is the base class?
(Multiple Choice)
4.9/5
(41)
In the following statement class car : protected vehicle
What is being protected?
(Multiple Choice)
4.9/5
(26)
Showing 21 - 38 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)