GATE 2020 CS – Question 45
Consider the following five disk access requests of the form (request id, cylinder number) that are present in the disk scheduler queue at a given time.
(P, 155), (Q, 85), (R, 110), (S, 30), (T, 115)
Assume the head is positioned at cylinder 100. The scheduler follows Shortest Seek Time First scheduling to service the requests.
Which one of the following statements is FALSE?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) Q is serviced after S, but before T.
Explanation
From 100, SSTF gives the order R(110), T(115), P(155), Q(85), S(30). Q is serviced before S, so the statement 'Q after S but before T' is false.