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

Quiz: OS Interview Questions · Question 7 of 10

A process arrives at time 4, needs 6 units of CPU and completes at time 20. What are its turnaround and waiting times?

A process arrives at time 4, needs 6 units of CPU and completes at time 20. What are its turnaround and waiting times?

  1. A.Turnaround 16, waiting 10
  2. B.Turnaround 20, waiting 14
  3. C.Turnaround 16, waiting 6
  4. D.Turnaround 14, waiting 8
Answer & explanation

Correct answer: Turnaround 16, waiting 10

Turnaround = 20 − 4 = 16; waiting = 16 − 6 = 10.

Can you get the rest right without peeking?

Take the timed Quiz: OS Interview Questions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →