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

Discussion

Which file allocation method provides best access time for sequential access ?

  • A.Contiguous allocation
  • B.Linked allocation
  • C.Indexed allocation
  • D.Hashed allocation

Answer: A

The method is contiguous allocation.

In contiguous allocation a file occupies consecutive blocks on the disk, so reading it in order needs little or no head movement between blocks. Any block can also be located directly from the start address and length. Both sequential and direct access are as fast as they can be.

Linked allocation scatters blocks and has to follow pointers one by one. Indexed allocation needs index block lookups, and its data blocks may also be scattered. Hashed allocation is a way of organising directories, not a file block allocation method.

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

Post your comment

Please log in or register to post a comment.