engineering recuitment GATE CSE 2023-24 Test Series Operating Systems CPU Scheduling Disk Scheduling
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/are TRUE?1
R is serviced before Q.
2
Q is serviced after R, but before S.
3
Direction of head reverses after S is serviced
4
Head reverses its direction after T is serviced