Interview Q&A / Operating Systems

BeginnerQuick answer1 min readUpdated 3 Oct 2026

What is the difference between turnaround time, waiting time and response time?

SHORT ANSWER

Turnaround time is completion minus arrival. Waiting time is turnaround minus burst, the total time spent in the ready queue. Response time is the time from arrival to the first time the process gets the CPU.

Explain it simply

Think of ordering at a restaurant. Turnaround is the time from ordering until you finish your meal. Waiting is the time you sat with nothing happening. Response is how long until the waiter first reacts to you.

  • Turnaround time = completion time - arrival time
  • Waiting time = turnaround time - burst time
  • Response time = first CPU time - arrival time

Interactive systems care most about response time. Batch systems care about turnaround and throughput.

Example

FCFS with two processes:

ProcessArrivalBurst
P105
P213
text
| P1 (5)     | P2 (3) |
0            5        8

P1: completion 5, turnaround 5 - 0 = 5, waiting 5 - 5 = 0, response 0 - 0 = 0.

P2: completion 8, turnaround 8 - 1 = 7, waiting 7 - 3 = 4, response 5 - 1 = 4.

Under FCFS, response equals waiting because a process never gets the CPU twice. Under Round Robin they differ: a process may get its first slice early (small response time) but wait again later.

What to say in the interview

"Turnaround is completion minus arrival, waiting is turnaround minus burst, and response is first run minus arrival. In non-preemptive FCFS response and waiting are the same, but in Round Robin response is much smaller than total waiting."

Common mistakes

  • Calling response time the time until completion.
  • Forgetting that waiting time excludes the burst time.

#scheduling#metrics#worked-example

Related questions

Practise more Operating Systems questions

Test your recall with short answers, then return to the detailed explanations when you need context.

Open Operating Systems quick answers →

Get new questions like this by email

One short email when something new and useful lands. No spam, unsubscribe in one tap.

By subscribing you agree to the Privacy Policy.