Exam 13: Introduction to 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
You can use the technique known as a member intialization list to initialize members of a class.
(True/False)
4.9/5
(32)
In C++11 you can use __________ to initialize a member variable in its declaration statement.
(Multiple Choice)
4.8/5
(40)
Which type of member function may only be called from a function that is a member of the same class?
(Multiple Choice)
4.9/5
(33)
In a procedural program you typically have __________ stored in a collection of variables and a set of __________ that perform operations on the data.
(Multiple Choice)
4.8/5
(26)
Objects are created from abstract data types that encapsulate __________ and __________ together.
(Multiple Choice)
4.7/5
(38)
When using smart pointers to dynamically allocate objects in C++ 11, it is unnecessary to delete the dynamically allocated objects because the smart pointer will automatically delete them.
(True/False)
4.8/5
(35)
The process of object-oriented analysis can be viewed as the following steps:
(Multiple Choice)
4.8/5
(43)
When a constructor function accepts no arguments, or does not have to accept arguments because of default arguments, it is called a(n)
(Multiple Choice)
4.8/5
(36)
When an object is defined without an argument list for its constructor, the compiler automatically calls the object's default constructor.
(True/False)
4.9/5
(30)
If you do not declare a destructor function, the compiler will furnish one automatically.
(True/False)
4.7/5
(39)
Assuming that Rectangle is a class name, what can you say is true, given the following statement?
Rectangle *BoxPtr;
(Multiple Choice)
4.8/5
(37)
In OOP terminology, an object's member variables are often called its __________ and its member functions can be referred to as its behaviors or its __________.
(Multiple Choice)
4.9/5
(34)
If you do not declare an access specification, the default for members of a class is
(Multiple Choice)
5.0/5
(31)
Showing 21 - 40 of 54
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)