Exam 13: Advanced File and Io Operations
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees38 Questions
Select questions type
The ________ data type can be used to create files and write information to them.
(Multiple Choice)
4.9/5
(38)
When you store data in a variable, it is automatically saved in a file.
(True/False)
4.8/5
(37)
When the >> operator extracts information from a file, it expects to read data that are separated by
(Multiple Choice)
4.8/5
(38)
The ios::hardfail bit is set when an unrecoverable error occurs.
(True/False)
4.9/5
(40)
Which statement opens a file and links it to a file stream object?
(Multiple Choice)
4.8/5
(25)
When you assign a name to a file, the operating system identifies the file by that name.
(True/False)
4.8/5
(36)
Data stored ________ is lost when the computer is powered down.
(Multiple Choice)
4.9/5
(35)
The operation of moving to a particular location in an input file is accomplished through
(Multiple Choice)
4.8/5
(33)
A file ________ is a small holding section of memory that file-bound information is first written to.
(Multiple Choice)
4.7/5
(34)
The ________ function can be used to store binary data to a file.
(Multiple Choice)
4.8/5
(38)
The ________ data type can be used to connect to files and read information from them into memory.
(Multiple Choice)
4.7/5
(29)
The read and write member functions of fstream objects can only work with buffers specified by pointers to char.
(True/False)
4.8/5
(34)
The member function, ________, reads a single character from a file.
(Multiple Choice)
4.8/5
(26)
To write to a binary file, you can use the write() member function of an ofstream object.
(True/False)
4.9/5
(27)
The term ________ means non-sequentially accessing information in a file.
(Multiple Choice)
4.8/5
(31)
The process of writing in-memory objects to a file so that the object can later be read back into memory
(Multiple Choice)
4.8/5
(33)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)