Question 24Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)

If the Disk head is located initially at track 32, find the number of disk moves required with FCFS scheduling criteria if the disk queue of I/O blocks…

If the Disk head is located initially at track 32, find the number of disk moves required with FCFS scheduling criteria if the disk queue of I/O blocks requests are: 98, 37, 14, 124, 65, 67
  1. A320
  2. B322
  3. C321
  4. D319
Show answerHide answer

Correct answer: (C) 321

Explanation

Given I/O requests: 98, 37, 14, 124, 65, 67, head at 32. Using FCFS scheduling, total disk moves = (98 – 32) + (98 – 37) + (37 – 14) + (124 – 14) + (124 – 65) + (67 – 65) = 66 + 61 + 23 + 110 + 59 + 2 = 321

From UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions)

This is question 24 of UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.