Computer Science - Object Oriented Programming Using C++

46. 

Which of the following assigns the number 5 to the area variable?

A. area 1 = 5
B. area = 5
C. area == 5
D. area --> 5
E. area < > 5

Answer: Option B

Explanation:

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

47. 

A base class may also be called a

A. child class
B. subclass
C. derived class
D. parent class

Answer: Option D

Explanation:

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

48. 

The _____ mode tells C++ to open a file for input

A. add::ios
B. in::file
C. ios::app
D. ios::in
E. ios::out

Answer: Option D

Explanation:

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

49. 

Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____

A. reusability
B. polymorphism
C. redundancy
D. recursion

Answer: Option A

Explanation:

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

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