Exam 13: Stream Inputoutput: a Deeper Look

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

__________ is usually faster than __________.

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

B

Which of the following is not an object of the ostream class?

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

C

Which C++ data type was designed to store Unicode characters?

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

C

Which of the following prints the address of character string string given the following declaration? char* string{"test"};

(Multiple Choice)
4.7/5
(41)

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

(Multiple Choice)
4.9/5
(38)

When the showbase flag is set:

(Multiple Choice)
4.7/5
(32)

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

(Multiple Choice)
4.8/5
(33)

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.9/5
(34)

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

(Multiple Choice)
4.8/5
(40)

Untying an input stream, inputStream, from an output stream, outputStream, is done with the function call:

(Multiple Choice)
4.9/5
(27)

What will be output by the following statements? double x{.0012345}; Cout << fixed << x << endl; Cout << scientific << x << endl;

(Multiple Choice)
4.9/5
(33)

To reset the format state of the output stream:

(Multiple Choice)
4.8/5
(41)

Select the false statement. Outputs are:

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.8/5
(33)

If unexpected data is processed in an I/O operation:

(Multiple Choice)
5.0/5
(33)

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

(Multiple Choice)
4.9/5
(30)

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

(Multiple Choice)
4.8/5
(38)

The good member function will return false if:

(Multiple Choice)
5.0/5
(39)

The putback member function returns to the input stream the previous character obtained by:

(Multiple Choice)
4.8/5
(45)

Which of the following is not true about bool values and how they're output with the output stream?

(Multiple Choice)
4.7/5
(43)
Showing 1 - 20 of 34
close modal

Filters

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