CS FundamentalsModerateHCL · Tech Mahindra pattern

Which disadvantage applies to linked file allocation but NOT to indexed allocation?

  1. A. Direct (random) access to the i-th block requires following i pointers
  2. B. Files cannot grow after creation
  3. C. Space is needed to store an index block
  4. D. External fragmentation

Correct answer: A. Direct (random) access to the i-th block requires following i pointers

With linked allocation, reaching block i means walking the chain from the first block, so random access is slow. Neither linked nor indexed allocation suffers external fragmentation, and the index-block overhead belongs to indexed allocation.

More Operating Systems questions

Exams that ask this topic