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
Data that is stored together under a common name on a storage medium other than the computer's main memory is called a ____.
Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
B
When working with random access files, the ____ function returns the offset value of the next character that will be read or written.
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
B
The function prototype for ftell() is contained in stdlib.h.
Free
(True/False)
4.8/5
(36)
Correct Answer:
False
If a file opened for reading does not exist, the fopen() function returns the NULL address value.
(True/False)
4.8/5
(34)
The maximum number of files that can be opened at one time is defined by the system symbolic constant FOPEN_MAX.
(True/False)
4.9/5
(43)
The actual declaration of the FILE structure is contained in the ____ standard header file.
(Multiple Choice)
4.7/5
(30)
The exit() function is a systems call that passes its integer argument directly to the operating system and then terminates program operation.
(True/False)
4.8/5
(38)
Opening a file stream establishes the physical communication link between the program and the data file.
(True/False)
5.0/5
(39)
C appends the low-value hexadecimal byte ____ as the end-of-file (EOF) sentinel when a file is closed.
(Multiple Choice)
4.8/5
(32)
A physical file pointer "points to" a hardware device, such as a keyboard, screen, or printer.
(True/False)
4.7/5
(49)
Permissible file opening modes are r, w, or p, which represent reading, writing, or appending to a file.
(True/False)
4.9/5
(41)
The maximum allowable filename in current Unix versions is ____.
(Multiple Choice)
4.9/5
(39)
Notice that each file stream name, when it is declared, is preceded by a(n) ____.
(Multiple Choice)
4.7/5
(35)
The functions fgetc() and fgets() return the named constant EOF when the marker is detected.
(True/False)
4.9/5
(35)
When working with random access files, the ____ function resets the current position to the start of the file.
(Multiple Choice)
4.7/5
(36)
The statement ____ causes the string Hello World! to be printed directly at the printer.
(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)