CS FundamentalsModerateAccenture · Capgemini technical pattern

Processes (arrival, burst): P1 (0, 4), P2 (1, 3), P3 (2, 6), P4 (4, 2). What is the average turnaround time under FCFS?

  1. A. 4.25
  2. B. 8
  3. C. 9
  4. D. 7.5

Correct answer: B. 8

Completion times: P1 4, P2 7, P3 13, P4 15. Turnaround = completion − arrival: 4, 6, 11, 11, average 32/4 = 8. 4.25 is the average waiting time; 9 forgets to subtract arrival times for P2.

More Operating Systems questions

Exams that ask this topic