Computer Science - Object Oriented Programming Using C++

11. 

The functions go in the _____ section of a class definition

A. declaration
B. implementation
C. prototype
D. functioning

Answer: Option B

Explanation:

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

12. 

You can throw _____

A. a scalar variable
B. a constant
C. a programmer-defined class object
D. any of these

Answer: Option D

Explanation:

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

13. 

You invoke a function with a function

A. call
B. declaration
C. definition
D. prototype

Answer: Option A

Explanation:

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

14. 

Which is a good guideline for creating function names?

A. Use all lowercase letters to identify the functions as C++ functions
B. Use long names to reduce the likelihood of creating a duplicate function name
C. Use abbreviations as much as possible to save both keystrokes and memory
D. Avoid the use of digits because they are easily confused with letters

Answer: Option D

Explanation:

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

15. 

Reserving memory during program execution is known as reserving it

A. dynamically
B. statically
C. functionally
D. powerfully

Answer: Option A

Explanation:

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