Exam 6: Io Streams As an Introduction to Objects and Classes

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In order to read data from a file you

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

A

The member function setf stands for

Free
(Multiple Choice)
4.7/5
(45)
Correct Answer:
Verified

B

When passing a stream to a function,it must always be pass-by-__________.

Free
(Short Answer)
4.8/5
(37)
Correct Answer:
Verified

reference

After a stream is opened,before it is used for input and output,it should be

(Multiple Choice)
4.8/5
(29)

ios::showpos is a flag that

(Multiple Choice)
4.9/5
(36)

A _____________ is a flow of characters or other data.

(Short Answer)
4.9/5
(41)

All data is input and output as ____________ data.

(Short Answer)
4.8/5
(47)

The get function reads

(Multiple Choice)
4.7/5
(30)

The flag to always show the decimal point in floating numbers is ios:: _________

(Short Answer)
4.9/5
(28)

The command outFile.width10)is used to

(Multiple Choice)
4.9/5
(39)

The put function outputs

(Multiple Choice)
4.7/5
(36)

Which of the following is the correct way to determine if a file stream named inFile opened correctly?

(Multiple Choice)
4.8/5
(33)

Which of the following is not used when using files for input and output

(Multiple Choice)
4.8/5
(40)

You may not have more than one input and one output stream open at any one time.

(True/False)
4.9/5
(37)

Two different objects of the same class have a different set of member functions.

(True/False)
4.8/5
(35)

The member function eof)is true/false)when we are ready to read the end of file character.

(True/False)
4.9/5
(29)

Which command reads one character even if that character is a blank space? ___________

(Short Answer)
4.9/5
(37)

Which include directive is necessary for file IO

(Multiple Choice)
4.9/5
(37)

A function that is associated with an object is called a _________ function.

(Multiple Choice)
4.8/5
(42)

A type whose variables are objects is known as a ___________.

(Short Answer)
4.9/5
(38)
Showing 1 - 20 of 51
close modal

Filters

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