Exam 13: Advanced File and Io Operations

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

Data stored is lost when the computer is powered down.

(Multiple Choice)
5.0/5
(35)

The may be used to read information from a file.

(Multiple Choice)
4.7/5
(31)

To access files from a C++ program, you must #include

(Multiple Choice)
4.9/5
(35)

The may be used to write information to a file.

(Multiple Choice)
4.8/5
(39)

When the >> operator extracts information from a file, it expects to read data that are separated by

(Multiple Choice)
4.9/5
(41)

Only one file stream object can be declared per C++ program.

(True/False)
4.8/5
(41)

The data type can be used to connect to files and read information from them into memory.

(Multiple Choice)
4.8/5
(39)

The state bit is set when an attempted operation has failed.

(Multiple Choice)
4.9/5
(35)

When you assign a name to a file, the operating system identifies the file by that name.

(True/False)
4.9/5
(47)

The operating system records the information that tracks the end of the file

(Multiple Choice)
4.9/5
(37)

A file must be

(Multiple Choice)
4.9/5
(36)

The state bit,

(Multiple Choice)
4.9/5
(39)

File output may be formatted the same way as screen output.

(True/False)
4.9/5
(42)

The term means non- sequentially accessing information in a file.

(Multiple Choice)
4.9/5
(36)

A file _ is a small holding section of memory that file- bound information is first written to.

(Multiple Choice)
4.8/5
(26)

An alternative to using the open member function is to use the file stream object declaration itself to open the file. Example: fstream dataFile("names.dat",ios::in|ios::out);

(True/False)
4.9/5
(35)

To write to a binary file, you can use the write() member function of an ofstream object.

(True/False)
4.9/5
(39)

When you store data in a variable, it is automatically saved in a file.

(True/False)
4.8/5
(30)
Showing 21 - 38 of 38
close modal

Filters

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