Practice mode Operating Systems

Which allocation method gives each file an index block containing pointers to all its data blocks?

Correct answer D. Indexed allocation

Explanation

Indexed allocation gathers all the block pointers for a file into an index block, so the i-th block is found by reading the i-th pointer, giving efficient direct access without external fragmentation. Linked allocation instead stores a pointer in each data block, so reaching a block means following the chain. UNIX inodes use a multilevel form of indexed allocation with direct and indirect pointers.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.