Exam 8: Io Streams and Data Files
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
In C and C++, the ___________________ sentinel is never counted as part of the file.
(Short Answer)
4.8/5
(38)
To understand file access types, first you need to understand how data is ____________________ in a file.
(Short Answer)
4.9/5
(34)
The ____ method breaks the connection between the file s external name and the file stream object.
(Multiple Choice)
4.8/5
(37)
The ___________________() method returns a false value if the file was opened successfully.
(Short Answer)
4.9/5
(40)
You must check that the ____ method established a connection between a file stream and an external file successfully because this type of call is a request to the OS that can fail for various reasons.
(Multiple Choice)
4.9/5
(36)
All input streams have a ____ function for putting back the last character read from an input stream back on the stream.
(Multiple Choice)
4.9/5
(40)
The standard error stream is represented by ____ in C and C++.
(Multiple Choice)
4.8/5
(35)
You must specify a C-string s maximum length in brackets immediately after it s declared.
(True/False)
5.0/5
(39)
In addition to the get() method, all input streams have a set() method for putting the last character read from an input stream back on the stream.
(True/False)
4.8/5
(32)
A ____ is a collection of data stored together under a common name, usually on a disk, magnetic tape, USB drive, or CD/DVD.
(Multiple Choice)
4.8/5
(29)
A file is a collection of data stored together under a common name, usually on a disk.
(True/False)
4.9/5
(37)
Each file has a unique filename, referred to as the file s ____.
(Multiple Choice)
4.8/5
(34)
The Excel program adds the ____ extension automatically to all spreadsheet files.
(Multiple Choice)
4.9/5
(34)
Long filenames should be avoided because they take more time to type and can result in typing errors.
(True/False)
4.7/5
(33)
Reading data from a(n) ___________________-based file is almost identical to reading data from a standard keyboard.
(Short Answer)
4.8/5
(34)
There are two types of file access: sequential access and ____________________ access.
(Short Answer)
4.8/5
(46)
In using ifstream and ofstream objects, the input or output mode is indicated by the ____________________.
(Short Answer)
4.9/5
(41)
A file stream that sends or writes data to a file is an ____.
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)