Computer Science - Object Oriented Programming Using C++

41. 

Evaluate the following expression: 7 >=3 + 4 || 6<4 && 2<5

A. True
B. False

Answer: Option A

Explanation:

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

42. 

The base class for most stream classes is the _____ class

A. ios
B. out
C. in
D. app

Answer: Option A

Explanation:

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

43. 

Which of the following while clause will stop the loop when the value in the age variable is less than the number 0?

A. while age < 0
B. while (age < 0)
C. while age >= 0;
D. while (age >= 0);
E. while (age >= 0)

Answer: Option E

Explanation:

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

44. 

The most efficient data type for a variable that stores the number 4.6e20 is the _____ data type

A. Character
B. Double
C. Float
D. Long Integer
E. Short Integer

Answer: Option C

Explanation:

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

45. 

Which of the following is a C++ object?

A. cin
B. >>
C. iostream
D. read()

Answer: Option A

Explanation:

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