Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A variable's _____ indicates how long the variable remains in the computer's memory
A:
area
B:
extent
C:
lifetime
D:
reach
Answer: C
No answer description is available. Let's discuss.
A function that is called automatically each time an object is created is a(n)
A:
constructor
B:
contractor
C:
builder
D:
architect
Answer: A
No answer description is available. Let's discuss.
External documentation includes
A:
a printout of the program's code
B:
flowcharts
C:
IPO charts
D:
pseudocode
Answer: A
No answer description is available. Let's discuss.
To hide a data member from the program, you must declare the data member in the _____ section of the class
A:
concealed
B:
confidential
C:
hidden
D:
private
Answer: D
No answer description is available. Let's discuss.
The program can access the private members of a class
A:
directly
B:
only through other private members of the class
C:
only through other public members of the class
D:
None of the above - the program cannot access the private members of a class in any way
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz