CS FundamentalsVery hardGATE CS
Disk cylinders 0–199, head at 100 moving toward 0. Requests: 23, 89, 132, 42, 187, 9, 155, 61. Under C-SCAN moving DOWN (service while moving toward 0, then jump to 199 and continue downward), counting the jump as movement, what is the total distance?
- A. 366
- B. 167
- C. 324
- D. 287
Correct answer: A. 366
100 → 0 (100), jump 0 → 199 (199), then down to the lowest remaining request above 100, which is 132: 199 − 132 = 67. Total 366. Without counting the jump: 167.
More Operating Systems questions
- Disk cylinders 0–199, head at 100. Requests: 23, 89, 132, 42, 187, 9, 155, 61. What is the total head movement under FCFS and under SSTF?
- What is printed (ignoring order)? (Every fork() succeeds.) c int main() { for (int i = 0; i < 3; i++) { if (fork() == 0) { printf("%d "…
- How many numbers are printed in total, and what is their sum? (Every fork() succeeds; output unbuffered.) c int main() { for (int i = 0; i…
- Round Robin, quantum 2, processes (arrival, burst): A (0, 3), B (1, 5), C (2, 2), D (3, 4), E (4, 1). A process arriving exactly when a…
- Processes spend 60% of their time waiting for I/O, independently. Using CPU utilisation = 1 − pⁿ, what is the minimum degree of…
- How many of these statements about CPU scheduling are correct? 1. SJF minimises average waiting time among non-preemptive algorithms when…