c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

c) (Total: 9 marks). Consider a file currently consisting of 200 blocks. Assume that the file control block is already i

Post by answerhappygod »

C Total 9 Marks Consider A File Currently Consisting Of 200 Blocks Assume That The File Control Block Is Already I 1
C Total 9 Marks Consider A File Currently Consisting Of 200 Blocks Assume That The File Control Block Is Already I 1 (55.31 KiB) Viewed 16 times
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:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply