Exam 10: Data Files
Exam 1: Introduction to Computer Programming44 Questions
Exam 2: Getting Started in C Programming46 Questions
Exam 3: Processing and Interactive Input48 Questions
Exam 4: Selection44 Questions
Exam 5: Repetition47 Questions
Exam 6: Modularity Using Functions: Part I51 Questions
Exam 7: Modularity Using Functions: Part II49 Questions
Exam 8: Arrays48 Questions
Exam 9: Character Strings51 Questions
Exam 10: Data Files50 Questions
Exam 11: Arrays, Addresses, and Pointers49 Questions
Exam 12: Structures48 Questions
Exam 13: Dynamic Data Structures49 Questions
Exam 14: Additional Capabilities55 Questions
Exam 15: A Brief Introduction to C++49 Questions
Select questions type
Most IBM or IBM-compatible personal computers assign the name prn to the printer connected to the computer.
(True/False)
4.8/5
(33)
The advantage of binary files is typically speed and compactness.
(True/False)
4.8/5
(35)
A file stream that receives data from a file into a program is referred to as an input file stream.
(True/False)
4.8/5
(39)
____ creates a new file and makes the file available for output; if a file exists with the same name, the old file is erased.
(Multiple Choice)
4.9/5
(39)
The only difference between a file opened in w mode and one opened in w+ mode is where the data is physically placed in the file.
(True/False)
4.9/5
(27)
Naming a file stream is accomplished by declaring a variable name to be of type ____.
(Multiple Choice)
4.7/5
(44)
In the context of data processing, a C program is not usually considered data, and the term file, or data file, is typically used to refer only to external files that contain the data used in a C program.
(True/False)
4.8/5
(37)
The standard library functions rewind(), fseek(), and ftell() can be used to provide random access to a file.
(True/False)
4.9/5
(32)
The internal name is the name of a file as it is known by the operating system.
(True/False)
4.8/5
(39)
A manageable length for a filename is 24 to 30 characters, with an outside maximum of 511 characters.
(True/False)
4.9/5
(32)
____ causes the same display as the statement printf("Hello World!");.
(Multiple Choice)
4.9/5
(39)
____ files store each individual character, such as a letter, digit, dollar sign, decimal point, and so on, using an individual character code.
(Multiple Choice)
4.8/5
(39)
A logical file pointer is one that references a file of related data that has been saved under a common name; that is, it "points to" a data file.
(True/False)
4.9/5
(36)
Most C compilers require a program file to have either the extension c or cc.
(True/False)
4.8/5
(39)
The fflush() function breaks the link between the file's external and internal names, releasing the internal file pointer name, which can then be used for another file.
(True/False)
4.9/5
(39)
It typically takes less space to store most numbers using their binary code than as individual character values.
(True/False)
4.8/5
(38)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)