Programming Logic and Design
Chapter 8 Q&A
When computers sort data, they always use ____ values when making comparisons
between values. - ANSWER-Numeric
As pages in a book have numbers, computer memory and storage locations have
____. - ANSWER-Addresses
An insertion sort is another name for a bubble sort. - ANSWER-False
When a record is removed from an indexed file, it has to be physically removed. -
ANSWER-False
Every time you add a new record to a linked list, you search through the list for the
correct ____ location of the new record. - ANSWER-Logical
When you sort records, two possible approaches are to place related data items in
parallel arrays and to ____. - ANSWER-Sort records as a whole
Two-dimensional arrays are never actually required in order to achieve a useful
program. - ANSWER-True
The most popular computer coding schemes include ASCII, Numeric, and EBCDIC. -
ANSWER-False
The ____ is skewed by a few very high or low values. - ANSWER-Mean
A two-dimensional array contains two dimensions: ____. - ANSWER-Height and
width
When you ____ records, you store a list of key fields paired with the storage address
for the corresponding data record. - ANSWER-Index
Each element in a two-dimensional array requires ____ subscript(s) to reference it. -
ANSWER-Two
When records are in ____ order, they are arranged one after another on the basis of
the value in a particular field. - ANSWER-Sequential
In a ____, items in a list are compared with each other in pairs. - ANSWER-Bubble
sort
When you use an index, you can store records on a ____ storage device. -
ANSWER-Random-access
Chapter 8 Q&A
When computers sort data, they always use ____ values when making comparisons
between values. - ANSWER-Numeric
As pages in a book have numbers, computer memory and storage locations have
____. - ANSWER-Addresses
An insertion sort is another name for a bubble sort. - ANSWER-False
When a record is removed from an indexed file, it has to be physically removed. -
ANSWER-False
Every time you add a new record to a linked list, you search through the list for the
correct ____ location of the new record. - ANSWER-Logical
When you sort records, two possible approaches are to place related data items in
parallel arrays and to ____. - ANSWER-Sort records as a whole
Two-dimensional arrays are never actually required in order to achieve a useful
program. - ANSWER-True
The most popular computer coding schemes include ASCII, Numeric, and EBCDIC. -
ANSWER-False
The ____ is skewed by a few very high or low values. - ANSWER-Mean
A two-dimensional array contains two dimensions: ____. - ANSWER-Height and
width
When you ____ records, you store a list of key fields paired with the storage address
for the corresponding data record. - ANSWER-Index
Each element in a two-dimensional array requires ____ subscript(s) to reference it. -
ANSWER-Two
When records are in ____ order, they are arranged one after another on the basis of
the value in a particular field. - ANSWER-Sequential
In a ____, items in a list are compared with each other in pairs. - ANSWER-Bubble
sort
When you use an index, you can store records on a ____ storage device. -
ANSWER-Random-access