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
correctanswer
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

Post by correctanswer »

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 (32.33 KiB) Viewed 84 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:
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply