Exam 15: Stream Inputoutput

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The good member function will return false if:

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

D

The stream-extraction operator:

Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
Verified

A

Select the correct statement regarding C++ I/O streams:

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

D

Which of the following is an illegal use of function put?

(Multiple Choice)
4.8/5
(37)

Which of the following stream manipulators causes an outputted number's sign to be left justified, its magnitude to be right justified and the center space to be filled with fill characters?

(Multiple Choice)
4.8/5
(31)

One difference between the three-argument version of the get function and the getline function is that:

(Multiple Choice)
4.8/5
(32)

Which of the following statements is not true about C++ input/output I/O) features?

(Multiple Choice)
5.0/5
(37)

Which of the following is not a difference between hex and setbase?

(Multiple Choice)
4.7/5
(29)

Which of the following is not a member of the ostream class?

(Multiple Choice)
4.8/5
(34)

What will be output by the following statements? Double x = 1.23456789; Cout << fixed; Cout << setprecision5) << x << endl; Cout.precision3); Cout << x << endl; Cout << x << endl;

(Multiple Choice)
4.8/5
(33)

Which of the following statements restores the default fill character?

(Multiple Choice)
4.8/5
(38)

The difference between the operator! member function and the operator void* member function is that:

(Multiple Choice)
5.0/5
(34)

Which of the following is not true about setw and width?

(Multiple Choice)
4.9/5
(34)

Upon encountering the designated delimiter character, the ignore member function will:

(Multiple Choice)
4.7/5
(35)

What will be output by the following statement? Cout << showpoint << setprecision4) << 11.0 << endl;

(Multiple Choice)
4.9/5
(43)

What will be output by the following statements? Double x = .0012345; Cout << fixed << x << endl; Cout << scientific << x << endl;

(Multiple Choice)
4.8/5
(39)

__________ is usually faster than __________.

(Multiple Choice)
5.0/5
(31)

Which of the following is a difference between the read and write functions?

(Multiple Choice)
4.8/5
(26)

Which of the following is a valid user-defined output stream manipulator header?

(Multiple Choice)
4.9/5
(33)

Select the false statement. Outputs are:

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 33
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)