Exam 11: More About Classes and Object-Oriented Programming
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees38 Questions
Select questions type
When a class contains a pointer to dynamically allocated memory, it is a good idea to equip the class with
(Multiple Choice)
4.7/5
(30)
Arguments are passed to the base class destructor function by the ________ class ________ function.
(Multiple Choice)
4.7/5
(30)
The this pointer is automatically passed to static member functions of a class.
(True/False)
4.8/5
(42)
A static member variable can be used when there are no objects of the class in existence.
(True/False)
4.8/5
(38)
An ________ operator can work with programmer-defined data types.
(Multiple Choice)
4.9/5
(27)
In an inheritance situation, the new class that you create from an existing class is known as the
(Multiple Choice)
4.8/5
(32)
In the statement class Car:protected Vehicle, what is being protected?
(Multiple Choice)
4.8/5
(37)
A(n) ________ is a special function that is called whenever a new object is created and initialized with data from another object of the same class.
(Multiple Choice)
4.8/5
(34)
A situation in which every object of a class A has a pointer to an object of a class B, and the objects of the class B may outlive objects of class A, is called
(Multiple Choice)
4.7/5
(34)
It is possible to declare an entire class as a friend of another class.
(True/False)
4.8/5
(34)
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
(29)
A ________ function is not a member of a class, but it has access to the private members of the class.
(Multiple Choice)
4.8/5
(39)
The ________ operator may be used to assign one object to another.
(Multiple Choice)
5.0/5
(35)
In the statement class Car:protected Vehicle, which is the derived class?
(Multiple Choice)
4.8/5
(33)
A reason to overload the ________ is to write classes that have array-like behavior.
(Multiple Choice)
4.9/5
(43)
It is a good idea to make a copy constructor's parameters ________ by specifying the ________ keyword in the parameter list.
(Multiple Choice)
5.0/5
(29)
The ________ class constructor is called before the ________ class constructor.
(Multiple Choice)
4.8/5
(34)
Showing 21 - 40 of 70
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)