A. Text files contain data that can be read in a text editor.
Every file on a storage device has a __________.
C. both of the above
Which of the following is true regarding the data hierarchy?
A. Files contain records
The process of ________ a file locates it on a storage device and associates a variable name within your program with the file.
C. opening
When you write to a file, you ____________.
C. copy data from memory to a storage device
Unlike when you print a report or display information on a screen, when a program's output is a data file, you do not ________.
A. include explanations or formatting such as dollar signs
When you close a file, it ____________.
B. is no longer available to the program
A file in which records are stored one after another in order based on the contents of a field is a(n) _________ file.
C. sequential
When you combine two or more sorted files while maintaining their sequential order based on a field, you are ________ the files.
B. merging
A control break occurs when a program ___________.
B. pauses to perform special processing based on the value of a field
Which of the following is an example of a control break report?
C. a list of all customers of a business in zip code order, with a count of the number of customers who reside in each zip code
A control break field ___________.
A. causes special processing to occur
Wherever a control break occurs during record processing in any control break program, you must ________.
D. update the value in the control break field
Assume that you are writing a program to merge two files named FallStudents and SpringStudents. Each file contains a list of students enrolled in a programming logic course during the semester indicated, and each file is sorted in student ID number order. After the program compares two records and subsequently writes a Fall student to output, the next step is to __________.
A. read a FallStudents record
When you merge records from two or more sequential files, the usual case is that the records in the files __________.
A. have the same format
A file that holds more permanent data than a transaction file is a ______ file.
A. Master
A transaction file is often used to ___________ another file>
B. update
The saved version of a file that does not contain the most recently applied transactions is known as a _______ file.
C. parent
Random access files are used most frequently in all of the following EXCEPT _____________.