CS FundamentalsHardGATE CS
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 (the head goes to the last cylinder before reversing)?
- A. 314
- B. 240
- C. 391
- D. 332
Correct answer: D. 332
SCAN moving up: 50 → 199 (= 149) then back down to 16 (= 183), total 332. LOOK would reverse at 190 instead: 314.
More Operating Systems questions
- 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…
- A disk: 7200 RPM, 500 sectors per track, average seek 4 ms. A file of 2000 sectors is read (a) when stored contiguously on consecutive…