CS FundamentalsHardGATE CS

How many of these statements about CPU scheduling are correct? 1. SJF minimises average waiting time among non-preemptive algorithms when all jobs are available at time 0. 2. Round Robin always gives a lower average turnaround time than FCFS. 3. SRTF can have more context switches than non-preemptive SJF on the same workload. 4. With equal-length jobs all arriving at time 0, RR with a small quantum gives a worse average turnaround time than FCFS.

  1. A. 2
  2. B. 4
  3. C. 3
  4. D. 1

Correct answer: C. 3

1, 3 and 4 are true. 2 is false: for equal jobs RR finishes all of them near the end, so its average turnaround is worse than FCFS (that is exactly statement 4).

More Operating Systems questions

Exams that ask this topic