Skip to content
Exercise 8 · Q2

Q.What is the relationship between arrival time, burst time, completion time and waiting time?

Puducherry CbseNCERTSubjective· 2mImportance★★★★★est
50% · 53/106 Questions
✓ Free question

Turnaround time =CT−AT=\text{CT}-\text{AT} and waiting time == turnaround time −- burst time, so WT=CT−AT−BT\boxed{\text{WT}=\text{CT}-\text{AT}-\text{BT}}.

Turnaround Time (TAT)=CT−AT\text{Turnaround Time (TAT)}=\text{CT}-\text{AT};   Waiting Time (WT)=TAT−BT=CT−AT−BT\;\text{Waiting Time (WT)}=\text{TAT}-\text{BT}=\text{CT}-\text{AT}-\text{BT}.

Symbols: AT == arrival time (when the process enters the ready queue), BT == burst time (CPU time needed), CT == completion time (when the process finishes), WT == waiting time (time spent waiting in the ready queue).

  1. Turnaround time is the total time a process spends in the system, from arrival to completion: TAT=CT−AT\text{TAT}=\text{CT}-\text{AT}.
  2. Of that total time, the CPU actually runs the process for its burst time BT; the rest is spent waiting.
  3. Hence WT=TAT−BT=(CT−AT)−BT=CT−AT−BT\text{WT}=\text{TAT}-\text{BT}=(\text{CT}-\text{AT})-\text{BT}=\text{CT}-\text{AT}-\text{BT}.
  4. Rearranging gives the completion time: CT=AT+BT+WT\text{CT}=\text{AT}+\text{BT}+\text{WT}.
  5. Example (FCFS): a process with AT=2\text{AT}=2, BT=5\text{BT}=5, finishing at CT=12\text{CT}=12 has TAT=12−2=10\text{TAT}=12-2=10 and WT=10−5=5\text{WT}=10-5=5; check CT=2+5+5=12\text{CT}=2+5+5=12. ✓\checkmark
✓Final answer

Waiting Time=Completion Time−Arrival Time−Burst Time\text{Waiting Time}=\text{Completion Time}-\text{Arrival Time}-\text{Burst Time}, equivalently CT=AT+BT+WT\text{CT}=\text{AT}+\text{BT}+\text{WT} and Turnaround Time=CT−AT\text{Turnaround Time}=\text{CT}-\text{AT}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.