Programming Logic and Design Chapter 7 – Flashcards
Unlock all answers in this set
Unlock answersquestion
permanent storage device
answer
A ________ _______ ______ holds nonvolatile data; examples include hard disks, DVDs, USB drives, and reels of magnetic tape
question
computer file
answer
A ________ ____ is a collection of data stored on a nonvolatile device in a computer system
question
text files
answer
____ _____ contain data that can be read in a text editor
question
binary files
answer
______ _____ contain data that has not been encoded as text
question
byte
answer
A ____ is a small unit of storage; for example, in a simple text file, a byte holds only one character
question
kilobyte
answer
A ________ is approximately 1000 bytes
question
megabyte
answer
A ________ is a million bytes
question
gigabyte
answer
A ________ is a billion bytes
question
directories
answer
__________ are organization units on storage devices; each can contain multiple files as well as additional directories. In a graphic system, directories are often called folders.
question
folders
answer
_______ are organization units on storage devices; each can contain multiple files as well as additional folders. Folders are graphic directories.
question
path
answer
A file's ____ is the combination of its disk drive and the complete hierarchy of directories in which the file resides.
question
data hierarchy
answer
The ____ ________ is a framework that describes the relationships between data components. The data hierarchy contains characters, fields, records, and files.
question
characters
answer
__________ are letters, numbers, and special symbols, such as A, 7, and $
question
fields
answer
______ are data items that each represent a single attribute of a record and that are composed of one or more characters.
question
records
answer
_______ are groups of fields that go together for some logical reason
question
Files
answer
_____ are groups of related records
question
Database
answer
A ________ holds groups of files or tables and provides the means for easy retrieval and organization
question
Tables
answer
______ are files in a database
question
Opening a file
answer
_______ _ ____ locates it on a storage device and associates a variable name within your program with the file
question
Reading from a file
answer
_______ ____ _ ____ copies data from a files on a storage device into RAM
question
sequential file
answer
A __________ ____ is a file in which records are stored one after another in some order
question
sorting
answer
_______ is the process of placing records in order by the value in a specific field or fields.
question
Writing to a file
answer
_______ __ _ ____ copies data from RAM to persistent storage.
question
Closing a file
answer
_______ _ ____ makes it no longer available to an application.
question
Default input and output devices
answer
_______ _____ ___ ______ _______ are those that do not require opening. Usually they are the keyboard and monitor, respectively.
question
backup file
answer
A ______ ____ is a copy that is kept in case values need to be restored to their original state.
question
parent file
answer
A ______ ____ is a copy of a file before revision.
question
child file
answer
A _____ ____ is a copy of a file after revision.
question
control break program
answer
A ______ _____ _______ is one in which a change in the value of a variable initiates special actions or causes special or unusual processing to occur.
question
control break report
answer
A _______ ____ ______ is a form of output that includes special processing after each group of records.
question
single-level control break
answer
A ______-_____ _______ _____ is a break in the logic of a program to perform special processing based on the value of a single variable.
question
control break field
answer
A _______ _____ _____ holds a value that causes special processing in a control breaking program
question
Merging files
answer
_______ _____ involves combining two or more files while maintaining the sequential order.
question
Ascending order
answer
_________ _____ describes records placed in order from lowest to highest based on the value in a field.
question
Descending order
answer
__________ _____ describes records placed in order from highest to lowest based on the value in a field.
question
master file
answer
A ______ ____ holds complete and relatively permanent data
question
transaction file
answer
A ___________ ____ holds temporary data that is used to update a master file
question
update a master file
answer
To ______ _ ______ ____ involves making changes to the values in its fields based on transactions.
question
Batch processing
answer
_____ __________ involves performing the same tasks with many records, one after the other.
question
Real-time
answer
____-____ applications require that a record be accessed immediately while a client or user is waiting.
question
interactive program
answer
An ___________ _______ is one in which the user makes direct requests or provides input while a program executes.
question
random access file
answer
A ______ ______ ____ is one in which records can be located in any physical order and accessed directly.
question
Instant access files
answer
_______ ______ _____ are random access files in which records can be accessed immediately.
question
direct access files
answer
______ _____ _____ are random access files.