GATE CS 2020 · Question 45 · Operating System · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
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?
- (A) T is serviced before P.
- (B) Q is serviced after S, but before T.
- (C) The head reverses its direction of movement between servicing of Q and P.
- (D) R is serviced before P.
Answer
Answer (B)
Answer from the official GATE CS 2020 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes