🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CPU Scheduling: all 10 questions

Quiz: CPU Scheduling · Question 4 of 10

P1 (arrival 0, burst 4) and P2 (arrival 1, burst 2), FCFS. What is P2's waiting time?

P1 (arrival 0, burst 4) and P2 (arrival 1, burst 2), FCFS. What is P2's waiting time?

  1. A.0
  2. B.2
  3. C.3
  4. D.4
Answer & explanation

Correct answer: 3

P1 runs 0–4, P2 runs 4–6. TAT = 6 − 1 = 5, WT = 5 − 2 = 3.

Can you get the rest right without peeking?

Take the timed Quiz: CPU Scheduling quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →