Object Oriented Programming Using C++ – Section 1

11. When the compiler cannot differentiate between two overloaded constructors, they are called

A. overloaded
B. destructed
C. ambiguous
D. dubious

Correct Answer:  C. ambiguous

12. Some Streams work with input and some with output

A. True
B. False

Correct Answer:  A. True

13. If you design a class that needs special initialization tasks, you will want to design a(n) _____

A. housekeeping routine
B. initializer
C. constructor
D. compiler

Correct Answer:  C. constructor

14. Which type of statement does not occur in computer programs?

A. sequence
B. loop
C. denial
D. selection

Correct Answer:  C. denial

15. The newline character is always included between

A. pair of parentheses
B. pair of curly braces
C. control string
D. &
E. None of the above

Correct Answer:  C. control string

Leave A Comment?

twelve + twelve =