Exam 14: More About Classes
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
When a class contains an instance of another class, it is known as
(Multiple Choice)
4.9/5
(30)
It is a good idea to make a copy constructor's parameters __________ by specifying the __________ key word in the parameter list.
(Multiple Choice)
4.9/5
(35)
You may overload any C++ operator and you may use the operator function to define non-standard operations, such as @ or ^.
(True/False)
4.7/5
(32)
The overloaded = operator copies data from one object to another so it is known as the overload copy operator.
(True/False)
4.9/5
(28)
C++ allows you to redefine the way __________ work when used with class objects.
(Multiple Choice)
4.8/5
(29)
In the following function header, the word int is known as a(n) __________. FeetInches FeetInches:
:
Operator++(int)
(Multiple Choice)
4.9/5
(35)
If you overload the prefix ++ operator, the postfix ++ operator is automatically overloaded.
(True/False)
4.9/5
(34)
When you overload an operator, you can change the operator's original meaning to something entirely different.
(True/False)
4.9/5
(40)
A reason to overload the __________ is to allow you to write classes that have array-like behaviors.
(Multiple Choice)
4.9/5
(33)
When you overload the << operator you must also overload the >> operator.
(True/False)
4.8/5
(27)
The __________ member variable may be accessed before any objects of the class have been created.
(Multiple Choice)
4.8/5
(35)
In C++ if you overload the < operator, you must also overload the > operator.
(True/False)
4.7/5
(32)
When you overload an operator, you cannot change the number of __________ taken by the operator.
(Multiple Choice)
4.9/5
(29)
An aggregate class's constructor can use a member initialization list to call the constructors for each of its member objects.
(True/False)
4.8/5
(43)
Which of the following operators may be used to assign one object to another?
(Multiple Choice)
4.9/5
(36)
In C++11 the __________ operator swaps the members of the object being assigned with the temporary object.
(Multiple Choice)
4.8/5
(39)
When objects contain pointers, it is a good idea to create an explicit __________ function.
(Multiple Choice)
4.8/5
(51)
A(n) __________ is a special built-in pointer that is available to a class's member functions..
(Multiple Choice)
4.9/5
(36)
If a member is declared __________, all objects of that class have access to that variable.
(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)