- C Total 9 Marks Consider A File Currently Consisting Of 200 Blocks Assume That The File Control Block Is Already I 1 (32.33 KiB) Viewed 85 times
c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already i
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already i
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: