UGC NET CS 2016System Software and Operating System › File and Input/Output SystemsVerified
UGC NET CS 2016 PYQ: Consider a file currently consisting of 50 blocks. Assume that the file control block and the index block is…
Consider a file currently consisting of 50 blocks. Assume that the file control block and the index block is already in memory. If a block is added at the end (and the block information to be added is stored in memory), then how many disk $I/O$ operations are required for indexed (single-level) allocation strategy ?
- A1Correct answer
- B101
- C27
- D0
Answer
(A) 1
Approach
Count the disk accesses needed when only the new data block must be written, since metadata is in memory.
Reviewed by UGC IQ Editorial Team.