Correct Answer
verified
Multiple Choice
A) 0
B) 1
C) 2
D) -3
E) None of these
Correct Answer
verified
Multiple Choice
A) cin << length, width, height;
B) cin.get(length, width, height) ;
C) cin >> length >> width >> height;
D) cin >> length, width, height;
E) cin << length; width; height;
Correct Answer
verified
Multiple Choice
A) setprecision(2)
B) setw(2)
C) fixed
D) setfixed(2)
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) compiler
B) iostream header file
C) linker
D) >> and << operators
E) None of the above
Correct Answer
verified
Multiple Choice
A) 6
B) 8
C) 9
D) 7
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 2.0
B) 4.0
C) 1.5
D) 6.0
Correct Answer
verified
Multiple Choice
A) field_width
B) set_field
C) setw
D) iomanip
E) None of the above
Correct Answer
verified
Multiple Choice
A) x * 2;
B) x *= 2;
C) x = x * x;
D) None of these
Correct Answer
verified
Multiple Choice
A) cstdlib
B) cmath
C) cstring
D) iostream
E) iomanip
)
Correct Answer
verified
Multiple Choice
A) Nine
B) Ten
C) Eleven
D) Eight
E) None of these
Correct Answer
verified
Multiple Choice
A) [Brackets]
B) (Parentheses)
C) {Braces}
D) The escape character \
E) None of these
Correct Answer
verified
Multiple Choice
A) It allows four spaces for the value in the variable num4.
B) It outputs "setw(4) " before the value in the variable num4.
C) It should use setw(10) to output the value in the variable num10.
D) It inputs up to four characters stored in the variable num4.
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) cstdlib
B) cmath
C) cstring
D) iostream
E) iomanip
Correct Answer
verified
Multiple Choice
A) &
B) *
C) %
D) +
E) None of the above
Correct Answer
verified
True/False
Correct Answer
verified
Showing 1 - 20 of 44
Related Exams