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
Using the seek() functions in random access, a(n) ____________________ offset means move forward in the file.
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
positive
The ____________________() methods allow the programmer to move to any position in a file.
Free
(Short Answer)
4.8/5
(38)
Correct Answer:
seek
The ____ function is a request to the operating system to end program execution immediately.
Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
D
In declaring and initializing a string variable for use in an open() method, the string is considered a ____.
(Multiple Choice)
4.9/5
(33)
For file streams, the direction, or mode, is defined in relation to the ____________________ and not the file.
(Short Answer)
4.8/5
(34)
Opening a file connects a file stream object to a specific external filename.
(True/False)
4.8/5
(38)
The ____ method returns a true value if a file was opened unsuccessfully or a false value if the open succeeded.
(Multiple Choice)
4.9/5
(35)
Two basic types of files exist: text files, and ____________________ files.
(Short Answer)
4.8/5
(32)
The fstream class s ____ function is used for character-by-character input from an input stream.
(Multiple Choice)
5.0/5
(48)
Current versions of UNIX allow 14 characters as the maximum filename length.
(True/False)
4.8/5
(33)
A(n) ____ file object is a stream that connects a file of logically related data, such as a data file, to a program.
(Multiple Choice)
4.9/5
(35)
All computer operating systems use the same specification as to the maximum number of characters permitted for an external filename.
(True/False)
4.9/5
(46)
A(n) ____ is a one-way transmission path used to connect a file stored on a physical device, such as a disk or CD, to a program.
(Multiple Choice)
4.9/5
(36)
For each file your program uses, a distinct ____________________ stream object must be created.
(Short Answer)
4.9/5
(33)
When a program is executed, the standard input stream cin is connected to the standard input device.
(True/False)
4.8/5
(38)
A(n) ____ is a one-way transmission path between a source and a destination.
(Multiple Choice)
4.7/5
(38)
The term ____ refers to the process of retrieving data from a file.
(Multiple Choice)
4.9/5
(31)
C++ compilers require a program file with the extension ____.
(Multiple Choice)
4.9/5
(30)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)