Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Many programmers separate a class into two files: _____
A:
one for the declarations and one for the implementations
B:
one for the void functions and one for the other functions
C:
one for the public data and one for the private data
D:
one for the primary functions and one for the auxiliary functions
Answer: A
No answer description is available. Let's discuss.
If you omit any constructor argument when you instantiate an object, you must use default values______
A:
for all parameters to the constructor
B:
for all parameters to the right of the argument
C:
for all parameters to the left of the argument
D:
for no other parameters
Answer: B
No answer description is available. Let's discuss.
To create and execute a C++ program, you need to have access to
A:
a C++ compiler
B:
a C++ translator
C:
an object code editor
D:
a text editor
Answer: E
No answer description is available. Let's discuss.
An auxiliary function _____
A:
return information about data members
B:
changes the state of data members
C:
performs an action or service
D:
creates and destroys objects
Answer: C
No answer description is available. Let's discuss.
Functions that returns information about an object's state can be classified as ________
A:
inspector functions
B:
mutator functions
C:
auxiliary functions
D:
manager functions
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz