Q53
NAT2 marksOperating systemsConsider two files systems and , that use contiguous allocation and linked allocation, respectively. A file of size blocks is already stored in and also in . Now, consider inserting a new block in the middle of the file (between and block), whose data is already available in the memory. Assume that there are enough free blocks at the end of the file and that the file control blocks are already in memory. Let the number of disk accesses required to insert a block in the middle of the file in and are and , respectively, then the value of is__________________.
Keys: Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.