Chapter 8 (Advanced File Handling Techniques) Flashcards
When sorting data in ascending order, you arrange records from ________ to _______ based on the value in a specific field.
lowest to highest
Normal alphabetic order is in _________ order.
ascending
When computers sort string data, _______ values are used to make comparisons.
numeric
When records are arranged one after another on the basis of the value in a particular field, this is sorting in _________ _____.
sequential order
the value of the middle item when the values are listed in order
median value
arithmetic average is called the….
mean
This is often used in statistics because it represents a more typical case where half the values are below it and half are above it.
median
A list of instructions that accomplish a task.
algorithm
In this method, after each adjacent pair of items in a list has been compared once, the largest item in the list will have “sunk” to the bottom.
ascending bubble sort
What is another phrase for a “bubble sort”?
a “sinking sort”
exchanging the values of two items is called.
swap values
Ducks in a row, New York office windows in a…
column
You access a two-dimensional array value using 2 subscripts, in which the first subscript represents the _____ and the second subscript represents the _____.
row, column
True or False: The legal values for a subscript (size - 1) is the same for both single-dimensional arrays and multi-dimensional arrays.
True
What are others words for a two-dimensional arrays?
matrix, table
A “real” order for storage
physical order
The field of a record; its contents make the record unique among all records in a file.
key field
storage locations in computer memory
addresses
storing a list of key fields paired with the storage address for the corresponding data record.
to “index” records
A computer’s ________ ______ takes care of locating available storage for records’ address
operating system
The index is stored on a ______ or the disk.
portion
When a record is removed from an indexed file, it does not have to be…
physically removed.
Creating one extra field, which holds the physical address of the next logical record, in every record of stored data.
linked list
It is more efficient to store and access records based on their _______ order than than their ________ order.
logical, physical