← 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?
- A.Turnaround 16, waiting 10
- B.Turnaround 20, waiting 14
- C.Turnaround 16, waiting 6
- 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 →