CS FundamentalsModerateGATE CS
The disk head is at cylinder 53 and the request queue is 98, 183, 37, 122, 14, 124, 65, 67. What is the total head movement under SSTF scheduling?
- A. 236
- B. 640
- C. 208
- D. 299
Correct answer: A. 236
SSTF visits 65, 67, 37, 14, 98, 122, 124, 183, with movements 12 + 2 + 30 + 23 + 84 + 24 + 2 + 59 = 236 cylinders.
More Operating Systems questions
- A system has a 32-bit virtual address, 4 KB pages and 4-byte page-table entries, using a single-level page table. What is the size of the…
- A counting semaphore S is initialised to 3. Five processes each execute wait(S) once, with no signal(S) in between. How many of them are…
- Numbering all resource types and requiring every process to request resources only in increasing order of number prevents deadlock by…
- Three processes with bursts 10, 5 and 8 ms arrive together at time 0 in the order P1, P2, P3 and are scheduled by Round Robin with a…
- Preemptive priority scheduling (lower number = higher priority) is used for P1 (arrival 0, burst 7, priority 3), P2 (1, 4, 1), P3 (2, 2…
- Processes P1 (arrival 0, burst 8), P2 (1, 4), P3 (2, 9) and P4 (3, 5) are scheduled by SRTF (preemptive shortest remaining time first)…