Machine-translated by Google. Questions are authored in English.
Top

Discussion

One disadvantage of a direct access file is:

  • A.the delay in computing the storage address
  • B.duplication of address locations
  • C.unsued, but available, storage locations
  • D.all of above

Answer: A

Correct answer: the delay in computing the storage address

Direct access files find a record by computing its address from its key, and that computation - hashing, and the handling of collisions when two keys give the same address - takes time on every access. Unused locations and duplicated addresses are consequences of the same scheme but are not what slows it down.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.