CS FundamentalsHardGATE CS
Disk cylinders 0–199; the head is at 50. Requests in arrival order: 82, 170, 43, 140, 24, 16, 190. What is the total head movement under SSTF (ties broken toward the lower cylinder)?
- A. 642
- B. 208
- C. 314
- D. 332
Correct answer: B. 208
SSTF order: 43, 24, 16, 82, 140, 170, 190. Total = 208 cylinders. FCFS would cost 642, LOOK (moving up) 314 and SCAN (moving up) 332.
More Operating Systems questions
- Disk cylinders 0–199; head at 50, moving toward 199. Requests: 82, 170, 43, 140, 24, 16, 190. What is the total head movement under SCAN…
- Disk cylinders 0–199; head at 50, moving toward 199. Requests: 82, 170, 43, 140, 24, 16, 190. Under C-SCAN, counting the return sweep from…
- Disk cylinders 0–199; head at 50, moving toward 199. Requests: 82, 170, 43, 140, 24, 16, 190. Under C-LOOK, counting the jump from the…
- Disk cylinders 0–199; head at 100, moving toward higher cylinders. Requests: 55, 58, 39, 18, 90, 160, 150, 38, 184. Which algorithm gives…
- Under SSTF, which situation can make a request wait indefinitely?
- A disk spins at 6000 RPM, has 200 sectors of 512 B per track, and an average seek time of 6 ms. What is the average time to read 8…