Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Reserving memory during program execution is known as reserving it
A:
dynamically
B:
statically
C:
functionally
D:
powerfully
Answer: A
No answer description is available. Let's discuss.
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: D
No answer description is available. Let's discuss.
You invoke a function with a function
A:
call
B:
declaration
C:
definition
D:
prototype
Answer: A
No answer description is available. Let's discuss.
You can throw _____
A:
a scalar variable
B:
a constant
C:
a programmer-defined class object
D:
any of these
Answer: D
No answer description is available. Let's discuss.
The functions go in the _____ section of a class definition
A:
declaration
B:
implementation
C:
prototype
D:
functioning
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz