Exam 23: Other Topics
Exam 1: Introduction to Computers and C++32 Questions
Exam 2: Introduction to C Programming; Inputoutput and Operators22 Questions
Exam 3: Introduction to Classes, Objects and Strings33 Questions
Exam 4: Control Statements, Assignment, and Operators29 Questions
Exam 5: Control Statements, Logical Operators31 Questions
Exam 6: Functions and an Introduction to Recursion48 Questions
Exam 7: Class Templates Array and Vector; Catching Exceptions18 Questions
Exam 8: Pointers and Pointer-Based Strings32 Questions
Exam 9: Classes: a Deeper Look; Throwing Exceptions35 Questions
Exam 10: Operator Overloading; String and Array Objects34 Questions
Exam 11: Object-Oriented Programming: Inheritance17 Questions
Exam 12: Object-Oriented Programming: Polymorphism27 Questions
Exam 13: Stream Inputoutput: a Deeper Look34 Questions
Exam 14: File Processing19 Questions
Exam 15: Standard Library Containers and Iterators33 Questions
Exam 16: Standard Library Algorithms27 Questions
Exam 17: Exception Handling: a Deeper Look20 Questions
Exam 18: Introduction to Custom Templates9 Questions
Exam 19: Custom Templatized Data Structures17 Questions
Exam 20: Searching and Sorting10 Questions
Exam 21: Class String and String Stream Processing28 Questions
Exam 22: Bits, Characters, C Strings and Structs30 Questions
Exam 23: Other Topics22 Questions
Exam 24: C++11 Additional Features56 Questions
Select questions type
Which symbol is used to access class members via pointers to class members?
Free
(Multiple Choice)
5.0/5
(24)
Correct Answer:
B
If a derived class inherits from two base classes that both define a certain member function, then an ambiguity problem will arise when:
Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
B
The const_cast operator can be used to cast away ___________ or ____________ qualifications.
Free
(Multiple Choice)
4.8/5
(29)
Correct Answer:
A
Namespace definitions are different from class definitions because:
(Multiple Choice)
4.8/5
(38)
Individual namespace members can be accessed without a namespace qualifier:
(Multiple Choice)
4.9/5
(41)
Assuming that ptr is a pointer to a class data member of class Check and obj is a pointer to a Check object, which of the following statements would be used to output that data member?
(Multiple Choice)
4.9/5
(43)
Without the statement __________, all __________ statements must be written as std::cout.
(Multiple Choice)
4.8/5
(25)
Which of the following is not true of static local variables?
(Multiple Choice)
4.9/5
(33)
Multiple inheritance means that a derived class inherits the members of several:
(Multiple Choice)
4.8/5
(33)
If a certain object's data members need to be frequently modified by const functions, it is best to:
(Multiple Choice)
4.8/5
(35)
Which of the following declares a pointer ptr to a class member function in class Check that takes an int argument and returns a bool?
(Multiple Choice)
4.9/5
(33)
__________ inheritance solves the problem of duplicate subobjects.
(Multiple Choice)
4.8/5
(36)
___________ is/are used to solve the problem of variables with the same name and overlapping scopes.
(Multiple Choice)
4.7/5
(34)
The const_cast operator is needed when __________ data must be treated as ___________ data.
(Multiple Choice)
4.7/5
(37)
____________ namespace members appear to occupy the ___________ namespace and do not have to be qualified with a namespace name.
(Multiple Choice)
4.8/5
(29)
Showing 1 - 20 of 22
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)