CS FundamentalsVery hardGATE CS
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 199 to 0 as head movement, what is the total distance moved?
- A. 192
- B. 341
- C. 391
- D. 332
Correct answer: C. 391
Up to 199: 149; jump 199 → 0: 199; then up to the highest pending lower request 43: 43. Total 391. Not counting the return gives 192; C-LOOK gives 341.
More Operating Systems questions
- 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…
- A Unix-style inode has 10 direct pointers and one single-, one double- and one triple-indirect pointer. Blocks are 1 KB and pointers are 4…