Computer Science - Object Oriented Programming Using C++

11. 

The variables declared in a statement block or listed in a function header's parameterlist are considered _____ variables

A. area
B. global
C. local
D. reference
E. value

Answer: Option C

Explanation:

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

12. 

An expression

A. is a collection of data objects and operators that can be evaluated to a single value
B. is a name that substitutes for a sequence of characters
C. causes the computer to carry out some action
D. All of the above
E. None of the above

Answer: Option A

Explanation:

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

13. 

In the C language, the character type of constant is delimited by using

A. single quotes
B. double quotes
C. parenthesis
D. #
E. None of the above

Answer: Option A

Explanation:

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

14. 

One way in which a structure differs from an array is that _____

A. a structure may have members of more than one type
B. a structure must have members that; are all the same type
C. art array may have members of more than one type
D. there is no difference between a structure and an array

Answer: Option A

Explanation:

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

15. 

A default constructor _____

A. takes no arguments
B. has default values for all its arguments
C. either (a) or (b)
D. neither (a) nor (b).

Answer: Option C

Explanation:

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