Computer Science - Object Oriented Programming Using C++

36. 

The outline or the definition of a function is called its

A. beta test
B. forerunner
C. outline
D. prototype

Answer: Option D

Explanation:

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

37. 

Which of the following is false?

A. Data stored in an array can be accessed faster than data stored in a disk file
B. Data stored in an array needs to be entered only once, typically at the beginning of the program
C. Arrays allow the programmer to store information in the computer's internal memory
D. When using arrays, you will have fewer variable names to remember
E. None of the preceding statements are false

Answer: Option E

Explanation:

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

38. 

A function stub typically contains

A. the function header
B. the function braces
C. the return statement, if it's value- returning function
D. a display message
E. All of the above

Answer: Option E

Explanation:

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

39. 

A variable's _____ indicates which portions of the program can use the variable

A. area
B. extent
C. lifetime
D. reach
E. scope

Answer: Option E

Explanation:

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

40. 

If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is _____

A. const int &
B. int &
C. either (a) or (b)
D. neither (a) nor (b)

Answer: Option C

Explanation:

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