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
A member function of a derived class may not have the same name as a member function of a base class.
(True/False)
4.9/5
(34)
________ members of a base class are never accessible to a derived class.
(Multiple Choice)
4.8/5
(37)
When you overload the << operator, you must also overload the >> operator.
(True/False)
4.8/5
(34)
When a class declares an entire class as its friend, the friendship status is reciprocal. That is, each class's member functions have free access to the other's private members.
(True/False)
4.9/5
(42)
The process of having a class contain an instance of another class is known as
(Multiple Choice)
4.8/5
(35)
A static member function can be called independently of any object of the class.
(True/False)
4.8/5
(34)
To dereference an object pointer and access one of the object's members, use the
(Multiple Choice)
4.9/5
(34)
In C++, if you overload the < operator, you must also overload the > operator.
(True/False)
4.9/5
(32)
If you do not furnish a(n) ________, an automatic memberwise copy will be performed when one object is assigned to another object.
(Multiple Choice)
4.8/5
(36)
In an inheritance situation, you can't pass arguments to a base class constructor.
(True/False)
4.7/5
(28)
You can overload the conditional operator to make it function as an unconditional operator.
(True/False)
4.8/5
(37)
The ________ class destructor is called before the ________ class destructor.
(Multiple Choice)
4.7/5
(34)
If an rvalue reference refers to a memory location, that memory location becomes an lvalue.
(True/False)
5.0/5
(31)
If a function f is a friend of a class A, and the class A is a friend of a class B, then the function f is able to access private members of B.
(True/False)
4.8/5
(35)
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.8/5
(37)
A base class cannot contain a pointer to one of its derived classes.
(True/False)
4.7/5
(33)
Showing 41 - 60 of 70
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)