Exam 1: C++ Class and Function Fundamentals
Exam 1: C++ Class and Function Fundamentals21 Questions
Exam 2: C++ Function and Array25 Questions
Exam 3: C++ Programming Concepts25 Questions
Exam 4: C++ Programming and Concepts: Inheritance, Data Types, Objects, and Output Prediction23 Questions
Select questions type
The default access level assigned to members of a class is
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
A
Which of the following operators allow defining the member functions of a class outside the class?
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
A
Variables declared in the body of a particular member function are known as data members and can be used in all member functions of the class.
(True/False)
4.8/5
(26)
For the object for which it was called, a const member function
(Multiple Choice)
4.8/5
(32)
What is the difference between struct and class in terms of Access Modifier?
(Multiple Choice)
4.8/5
(34)
Every class has at least one constructor function, even when none is declared.
(True/False)
4.8/5
(38)
Which one of the following is not a valid reserved keyword in C++?
(Multiple Choice)
4.8/5
(41)
When class B is inherited from class A, what is the order in which the constructers of those classes are called
(Multiple Choice)
4.9/5
(37)
In a class definition, data or functions designated private are accessible
(Multiple Choice)
4.7/5
(27)
Which type of class has only one unique value for all the objects of that same class?
(Multiple Choice)
4.7/5
(38)
It's perfectly all right to use variables of different data types in the same arithmetic expression.
(True/False)
5.0/5
(29)
Showing 1 - 20 of 21
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)