Computer Science - Object Oriented Programming Using C++

16. 

A data member holds a 1 or 0 depending on whether taxes have been paid. The best identifier for this member is _____

A. taxes
B. paidTaxes
C. taxesArePaid
D. code

Answer: Option B

Explanation:

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

17. 

Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access

A. public members of Base
B. protected members of Base
C. private members of Base
D. public members of Derv

Answer: Option A

Explanation:

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

18. 

Which of the following is an access specifier?

A. particular
B. shielded
C. protected
D. safe

Answer: Option C

Explanation:

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

19. 

Machine code is _____

A. edited code
B. source code
C. the 0s and 1s that the computer can understand
D. both (b) and (c)

Answer: Option C

Explanation:

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

20. 

The contents of two pointers that point to adjacent of type float differ by

A. one bytes
B. two bytes
C. three bytes
D. four bytes

Answer: Option D

Explanation:

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