Correct Answer
verified
Multiple Choice
A) cin << length, width, height;
B) cin.get(height, width, length) ;
C) cin.get(length, width, height) ;
D) cin >> length; width; height;
E) cin.get(length >> width >> height) ;
Correct Answer
verified
Multiple Choice
A) 25.0
B) 15.0
C) 125.0
D) 8.0
E) unknown
Correct Answer
verified
Multiple Choice
A) type correction
B) type conversion
C) promotion
D) demotion
E) None of these
Correct Answer
verified
Multiple Choice
A) the smallest C++ data type
B) the largest C++ data type
C) the data type of the variable
D) the data type of the expression
E) None of these
Correct Answer
verified
Multiple Choice
A) number = pow(number, 2) ;
B) number *= 2;
C) number = number * number;
D) number * 2 = number;
E) None of these
Correct Answer
verified
Multiple Choice
A) 0.3
B) 0
C) 0.275229
D) 3.3
E) None of these
Correct Answer
verified
Multiple Choice
A) as ASCII characters
B) in the header file iostream
C) in the keyboard buffer
D) as integers
E) None of these
Correct Answer
verified
Multiple Choice
A) output stream
B) cin object
C) cout object
D) preprocessor
E) None of these
Correct Answer
verified
Multiple Choice
A) cin.ignore
B) cin.jump
C) cin.hop
D) cin.skip
E) None of these
Correct Answer
verified
Multiple Choice
A) underflows
B) overflows
C) reverses
D) converts
E) None of these
Correct Answer
verified
Multiple Choice
A) top to bottom
B) front to back
C) left to right
D) undeterminable
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) It allows four spaces for the value in num4.
B) It outputs "setw(4) " before the value in num4.
C) It is incorrect because it should use setw(10) .
D) It is incorrect because it should use setw(num4) .
Correct Answer
verified
Multiple Choice
A) number = number + 1;
B) number = 1;
C) number + 1;
D) number =+ 1;
E) None of these
Correct Answer
verified
Multiple Choice
A) cin << address;
B) cin address;
C) cin.get(address) ;
D) getline(cin, address) ;
E) cin.get(length >> width >> height) ;
Correct Answer
verified
Multiple Choice
A) 3
B) 30
C) 39
D) 2
E) None of these
Correct Answer
verified
Multiple Choice
A) 2.0
B) 3.0
C) 4.0
D) 2
E) unknown
Correct Answer
verified
True/False
Correct Answer
verified
Showing 1 - 20 of 45
Related Exams