Exam 10: Defining Classes
Exam 1: Introduction to Computer and C Programming55 Questions
Exam 2: C++ Basics54 Questions
Exam 3: More Flow of Control44 Questions
Exam 4: Procedural Abstraction and Functions That Return a Value51 Questions
Exam 5: Functions for All Sub Tasks53 Questions
Exam 6: Io Streams As an Introduction to Objects and Classes51 Questions
Exam 7: Arrays34 Questions
Exam 8: Strings and Vectors63 Questions
Exam 9: Pointers and Dynamic Arrays40 Questions
Exam 10: Defining Classes50 Questions
Exam 11: Friends, overloaded Operators, and Arrays in Classes49 Questions
Exam 12: Separate Compilation and Namespaces38 Questions
Exam 13: Pointers and Linked Lists51 Questions
Exam 14: Recursion43 Questions
Exam 15: Inheritance53 Questions
Exam 16: Exception Handling47 Questions
Exam 17: Templates33 Questions
Exam 18: Standard Template Library57 Questions
Select questions type
A member function that gets called automatically when an object of the class is declared is called a _______________.
(Short Answer)
4.8/5
(44)
When several items variables or variables and functions)are grouped together into a single package,that is known as ______________.
(Short Answer)
4.8/5
(31)
A Member function that allows the user of the class to see the value in a data member is known as
(Multiple Choice)
4.8/5
(41)
Which part of the ADT tells the programmer using it how to use it?
(Multiple Choice)
4.8/5
(41)
A member function that allows the user of the class to find out the value of a private data type is called a ___________________.
(Short Answer)
4.7/5
(39)
The constructor of a class that does not have any parameters is called a __________ constructor.
(Short Answer)
4.8/5
(27)
Which of the following is the correct function definition header for the getAge function which is a member of the Person class?
(Multiple Choice)
4.7/5
(27)
In a structure definition,the identifiers declared in the braces are called
(Multiple Choice)
4.8/5
(46)
A structure can only be passed to a function as a call-by-value parameter
(True/False)
4.8/5
(32)
Two different structure definitions may have the same member names.
(True/False)
4.8/5
(36)
A struct variable is declared differently from a predefined type such as an int.
(True/False)
4.9/5
(29)
The assignment operator may not be used with objects of a class.
(True/False)
4.9/5
(37)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)