Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Which of the following is a C++ object?
A:
cin
B:
>>
C:
iostream
D:
read()
Answer: A
No answer description is available. Let's discuss.
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
Answer: C
No answer description is available. Let's discuss.
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);
Answer: E
No answer description is available. Let's discuss.
The base class for most stream classes is the _____ class
A:
ios
B:
out
C:
in
D:
app
Answer: A
No answer description is available. Let's discuss.
Evaluate the following expression: 7 >=3 + 4 || 6<4 && 2<5
A:
True
B:
False
C:
D:
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz