Exam 17: File Processing

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

Select the false statement.

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

A

Select the proper object type. __________ file "file.dat", ios::in | ios::out );

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

B

In the text, we created a random access file. When we read the data back sequentially, we discovered that in the process of creating the random-access file, the data was__________.

Free
(Multiple Choice)
5.0/5
(42)
Correct Answer:
Verified

C

Select the false statement. The reinterpret_cast operator:

(Multiple Choice)
4.9/5
(44)

Which of the following functions would not be used to write data randomly to a random access file?

(Multiple Choice)
4.8/5
(42)

Random access files are more effective than sequential files for:

(Multiple Choice)
4.9/5
(43)

A random access file is organized most like an):

(Multiple Choice)
5.0/5
(31)

For an ifstream object A, a class type B and a local variable of type B called C, the proper way to read in one B object from A into C is:

(Multiple Choice)
5.0/5
(40)

Multiple file open modes are specified to the fstream constructor by separating each open mode from the next with the bitwise inclusive or operator __________.

(Multiple Choice)
4.7/5
(47)

Select the false statement. The write function:

(Multiple Choice)
4.9/5
(45)

To write fixed-length records, use file open mode:

(Multiple Choice)
4.8/5
(40)
close modal

Filters

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