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