63 views
Consider a file currently consisting of 100 blocks. Assume that the file-control block (and the index block, in the case of indexed allocation) is already in memory. In the contiguous-allocation case, assume that there is no room to grow at the beginning but there is room to grow at the end. Also assume that the block information to be added is stored in memory. Calculate how many disk I/O operations are required for contiguous, linked, and indexed (single-level) allocation strategies, if one block is added at the beginning.

1.
201, 1, 1

2.

101, 52, 1

3.

1, 3, 1

4.

198, 1,0

Please give explaination for above question.
| 63 views