Disk Scheduling: GATE CS Previous Year Questions

Disk Scheduling · Operating System

10 questions · asked in 8 of 27 years (2000–2026)

MCQ 6 · NAT 41-mark 5 · 2-mark 5

2000Questions per year2026

Questions 6–10 of 10

Q6GATE 20092 marksMCQ−0.67 if wrong
Consider a disk system with 100 cylinders. The requests to access the cylinders occur in following sequence:

4, 34, 10, 7, 19, 73, 2, 15, 6, 20

Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if it takes 1ms to move from one cylinder to adjacent one and shortest seek time first policy is used?

Q7GATE 20071 markMCQ−0.33 if wrong
The head of a hard disk serves requests following the shortest seek time first (SSTF) policy.
What is the maximum cardinality of the request set, so that the head changes its direction after servicing every request if the total number of tracks are 2048 and the head can start from any track?

Q8GATE 20071 markMCQ−0.33 if wrong
The head of a hard disk serves requests following the shortest seek time first (SSTF) policy. The head is initially positioned at track number 180.
Which of the request sets will cause the head to change its direction after servicing every request assuming that the head does not change direction if there is a tie in SSTF and all the requests arrive before the servicing starts?

Q9GATE 20041 markMCQ−0.33 if wrong
A disk has 200 tracks (numbered 0 through 199). At a given time, it was servicing the request of reading data from track 120, and at the previous request, service was for track 90. The pending requests (in order of their arrival) are for track numbers.

30 70 115 130 110 80 20 25.

How many times will the head change its direction for the disk scheduling policies SSTF(Shortest Seek Time First) and FCFS (First Come First Serve)?

Q10GATE 20041 markMCQ−0.33 if wrong
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is First Come First Served (FCFS). If FCFS is replaced by Shortest Seek Time First (SSTF), claimed by the vendor to give 50% better benchmark results, what is the expected improvement in the I/O performance of user programs?

Keep practising

Topics in Operating System

All CS topics ›