Computer Science - Object Oriented Programming Using C++

6. 

The prototype for a derived class constructor may include arguments for

A. data members of the derived class
B. data members of the base class
C. both (a) and (b)
D. neither (a) nor (b)

Answer: Option C

Explanation:

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

7. 

Overloading involves writing two or more functions with ________

A. different names and different argument lists
B. different names and the same argument list
C. the same name and different argument lists
D. the same name and the same argument list

Answer: Option C

Explanation:

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

8. 

You___________overload function templates

A. may, as long as each version has the same arguments
B. may, as long as each version has different arguments
C. must
D. must not

Answer: Option B

Explanation:

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

9. 

You typically initialize Character variables to _____

A. a space enclosed in double quotes
B. a space enclosed in single quotes
C. the letter O
D. the number 0
E. the value false

Answer: Option B

Explanation:

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

10. 

One way pointers are useful is to refer to a memory address that has no _____

A. name
B. constant
C. location
D. field

Answer: Option A

Explanation:

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