Computer Science - Object Oriented Programming Using C++

46. 

A class hierarchy

A. describes "is a kind of" relationships
B. describes "has a" relationships
C. shows the same relationships as an organization chart
D. shows the same relationships as a family tree

Answer: Option A

Explanation:

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

47. 

Which of the following C++ expressions is equivalent to the mathematical expression 53 ?

A. 5 ^ 3
B. cube(5)
C. pow (3, 5)
D. pow(5, 3)
E. sqrt (5, 3)

Answer: Option D

Explanation:

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

48. 

The right shift operator is represented by the symbol

A. >
B. >>
C. ->
D. <
E. None of the above

Answer: Option B

Explanation:

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

49. 

In C++, class definitions are most often

A. stored with each program that uses them
B. stored in a header file that is included in the programs that use them
C. stored in a folder that you paste into every new project
D. retyped for every new project

Answer: Option B

Explanation:

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

« Prev   1 2 3 4 5 6 7 8 9 10