Exam 13: Advanced File and Io Operations
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C++40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions37 Questions
Exam 5: Looping38 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays37 Questions
Exam 9: Searching, Sorting, and Algorithm Analysis36 Questions
Exam 10: Pointers50 Questions
Exam 11: More About Classes and Object-Oriented Programming64 Questions
Exam 12: More on C-Strings and the String Class38 Questions
Exam 13: Advanced File and Io Operations38 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions20 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 Trees37 Questions
Select questions type
When the >> operator extracts information from a file, it expects to read data that are separated by
(Multiple Choice)
4.9/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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)