edited by
321 views
0 0 votes

Consider the following set of processes with the arrival time and length of CPU Burst time given in milli-seconds ($\mathrm{ms}$):

$\begin{array}{|c|c|c|} \hline \textbf{Process} & \textbf{Arrival Time} & \textbf{Burst Time} \\ \hline P_1 & 0 & 5 \\ \hline P_2 & 2 & 3 \\ \hline P_3 & 2 & 2 \\ \hline P_4 & 5 & 3 \\ \hline P_5 & 6 & 1 \\ \hline \end{array}$

What is the average turnaround time for these Processes with First Come First Serve (FCFS) scheduling Algorithm?

  1. $5.3$ $\mathrm{ms}$
  2. $6.4$ $\mathrm{ms}$
  3. $7.0$ $\mathrm{ms}$
  4. $8.2$ $\mathrm{ms}$

1 Answer

0 0 votes
 P1  P2  P3  P4  P5 

       5      8     10   13     14

completion time for 
p1-5
p2-8
p3-10
p4-13
p5-14
Formula for TurnAroundTime=Completion Time- Arrival Time
TurnAroudTime for P1,P2,P3,P4,P5 are 5, 6, 8, 8, 8 respctively
average turnaround time=(5+6+8+8+8)/5=35/5=7
Therefore the answer is 7
OPTION C

 

Answer:
Position:
Show:

Related questions

1 1 vote
1 1 answer
342
342 views
Shubham Sharma 2 asked Sep 10, 2025
342 views
Given the following processes with their times and priority (lower number indicates higher priority)$\begin{array}{|c|c|c|} \hline \textbf{Process} & \textbf{Burst Time} ...
0 0 votes
1 1 answer
333
333 views
Shubham Sharma 2 asked Sep 10, 2025
333 views
Which of the following does not interrupt a running process?DeviceTimerSchedulerPower Failure
1 1 vote
0 0 answers
214
214 views
Shubham Sharma 2 asked Sep 10, 2025
214 views
Consider the following set of processes with the arrival time and length of CPU Burst time given in milli-seconds ( $\mathrm{ms}$):$\begin{array}{|c|c|c|} \hline \textbf{...
0 0 votes
0 0 answers
206
206 views
Shubham Sharma 2 asked Sep 10, 2025
206 views
Consider the following set of processes with the arrival time and length of CPU Burst time given in milli-seconds ($\mathrm{ms}$):$\begin{array}{|c|c|c|} \hline \textbf{P...