Chapter 8 Physical Database Design
8-6
19. All of the following are advantages of the B+-tree index arrangement, compared to
the simple linear index arrangement, except _____.
a. The upper portion of the tree index can be held in main memory indefinitely to
improve performance.
b. The insertion of a new record requires either a track split or a cylinder split, but
not both for a single insertion.
c. Even for large files, only a small number of index records have to be read for a
direct search.
d. The nature of the index together with the track split and cylinder split capabilities
make record insertions manageable.
e. Some insertions can be made without track splits or cylinder splits if reserve
space has been provided on the data tracks.
20. Which of the following is true about indexes, in general?
a. An index can only be built over a field that has unique values.
b. Only one field of a file can be indexed.
c. An index can be used to retrieve the records of a file in logical sequence based on
the indexed field.
d. An index cannot be built over a combination of fields of a file.
e. The updating of an indexed field in a record requires that the index be updated but
record insertions and record deletions do not require any index to be updated.
21. Which of the following is true regarding hashed files?
a. The hashing algorithm may direct more than one record to the same location.
b. The number of record storage locations allocated is typically much fewer than the
maximum number possible based on the range of values of the key field.
c. The same hashing algorithm is used for both record insertions and record
retrievals.
d. All of the above.
e. None of the above.
22. In the division remainder hashing algorithm, the divisor (the number divided into the
other number) is _____.
a. the key value of the record being inserted or retrieved
b. one less than the key value of the record being inserted or retrieved
c. the total number of record storage locations, including the overflow locations
d. the maximum number of key values that the key field could generate