Skip to content

ISRO Scientist/Engineer CSE 2018Operating Systems › Disk Scheduling and File Systems

ISRO Scientist/Engineer CSE 2018 PYQ: Disk requests come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6 and 38 at a time when…

Disk requests come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6 and 38 at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms/cylinder. The total seek time, if the disk arm scheduling algorithms is first-come-first-served is

  1. A
    360
  2. B
    850
  3. C
    900
  4. D
    None of the above
    Correct answer

Answer

(D) None of the above

Approach

FCFS services requests exactly in arrival order starting from cylinder 20: 20→10 (10), 10→22 (12), 22→20 (2), 20→2 (18), 2→40 (38), 40→6 (34), 6→38 (32). Total head movement is 146 cylinders, so seek time is 146 × 6 = 876 ms. Since 876 ms is not among 360, 850, or 900, option D is correct.

Reviewed by ISRO IQ Editorial Team.