Exam 11: Introduction to Classes
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
The type of access that restricts a user from seeing how data is actually stored is referred to as ____.
Free
(Multiple Choice)
4.7/5
(35)
Correct Answer:
B
In C++, an abstract data type is referred to as a(n) ____.
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
D
The term ____ refers to any constructor that does not require any arguments when it is called.
Free
(Multiple Choice)
4.7/5
(49)
Correct Answer:
B
The process of creating a new object is often referred to as a(n) ____________________ of the object.
(Short Answer)
4.9/5
(42)
A ____ function is any function that has the same name as its class.
(Multiple Choice)
4.9/5
(33)
Multiple constructors can be defined for each class as long as each one has a different number of and/or different ____________________ types.
(Short Answer)
4.9/5
(39)
The ____ section of a class is where the member functions declared in the declaration section are written.
(Multiple Choice)
4.8/5
(39)
In a pure object-oriented language, all data types are constructed as ____________________.
(Short Answer)
5.0/5
(32)
User-defined data types are required when you want to create objects that are more complex than simple integers and characters.
(True/False)
4.9/5
(33)
Central to the creation of objects is the concept of a(n) ____ data type.
(Multiple Choice)
4.9/5
(34)
Languages that use classes but don t provide inheritance and polymorphism are referred to as ____ languages.
(Multiple Choice)
4.8/5
(37)
A(n) ____ is simply a user-defined type that defines both a type of data and the operations that can be performed on it.
(Multiple Choice)
4.8/5
(44)
In C++, a common programming error consists of including a return type with the constructor s prototype.
(True/False)
4.8/5
(30)
Unlike a procedural approach, a(n) ___________________ approach fits graphically windowed environments well.
(Short Answer)
4.9/5
(36)
In UML, class diagrams are used to describe classes and their ____________________.
(Short Answer)
4.8/5
(37)
A(n) ____ is any non-constructor member function that accesses a class s private data members.
(Multiple Choice)
4.8/5
(32)
In C++, using the same name for a data member as for a member function does not produce an error.
(True/False)
4.9/5
(34)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)