Computer Science - Object Oriented Programming Using C++

16. 

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: Option A

Explanation:

No answer description available for this question. Let us discuss.

17. 

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: Option C

Explanation:

No answer description available for this question. Let us discuss.

18. 

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
E. both (a) and (d)

Answer: Option E

Explanation:

No answer description available for this question. Let us discuss.

19. 

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: Option B

Explanation:

No answer description available for this question. Let us discuss.

20. 

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: Option A

Explanation:

No answer description available for this question. Let us discuss.