Object Oriented Programming Using C++ – Section 10

46. The delete operator returns ______ to the operating system

A. memory that is no longer needed
B. void
C. recycle bin
D. None of the above

Correct Answer:  A. memory that is no longer needed

47. The major advantage of data hiding is that _____

A. your programs can include more data
B. you no longer need functions
C. no one can ever use your data
D. your data will be used correctly

Correct Answer:  D. your data will be used correctly

48. The letter V is a _____

A. character literal constant
A. numeric literal constant
C. string literal constant
D. variable

Correct Answer:  A. character literal constant

49. Separating parts of a program into units that remain unaffected by other parts of a program is the concept known as _____

A. intrusion
B. volatility
C. encapsulation
D. protection

Correct Answer:  C. encapsulation

Leave A Comment?

eight + three =