c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already i
Posted: Fri Jun 10, 2022 11:55 am
c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already in memory. (i) (6 marks). Calculate how many disk I/O operations are required for the linked allocation strategy if one byte is read from the 10th block from the beginning which is then written to the 6th block from the beginning. (ii) (3 marks). Calculate how many disk I/O operations are required for the contiguous allocation strategy if two consecutive blocks are removed before the 5th block from the beginning. Justify you answers. Answer: (i) Linked Allocation: (ii) Contiguous allocation: