Skip to content

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 ?

  1. A
    1
    Correct answer
  2. B
    101
  3. C
    27
  4. D
    0

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.