CS FundamentalsHardGATE CS
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?
- A. 269 and 839
- B. 839 and 265
- C. 762 and 269
- D. 839 and 269
Correct answer: D. 839 and 269
FCFS adds |100−23| + |23−89| + ... = 839. SSTF order: 89, 61, 42, 23, 9, 132, 155, 187, total 269.
More Operating Systems questions
- 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…
- Three jobs of 10 ms each arrive at time 0. Compare the average turnaround time under FCFS and under Round Robin with a 1 ms quantum (no…