6 votes 6 votes Consider the processes P1, P2, P3 arrived in the sequence P2, P3, P1 and the burst time of the processes are 3, 3, 24 respectively. What is the average TAT?? Himani Srivastava asked Oct 11, 2015 Himani Srivastava 7.6k views answer comment Share Follow See 1 comment See all 1 1 comment reply vijju532 commented Oct 7, 2018 reply Follow Share in these type of problems how to know that which scheduling algo is using ??? whether it is fcfs sjf ? 0 votes 0 votes Please log in or register to add a comment.
7 votes 7 votes Process No Burst Time Arrival Time Completion Time TAT=(CT-AT) P1 3 0 30 30 P2 3 0 3 3 P3 24 0 27 27 Avg TAT=(30+3+27)/3=60/3=20 As Arrival Time is not given consider all the processes arriving at time 0 but assume that there is a priority is execution of process as per the order P2-P3-P1. sripo answered Jan 14, 2018 sripo comment Share Follow See 1 comment See all 1 1 comment reply vivek43v commented Jun 17, 2018 reply Follow Share the answer u are given is wrong 0 votes 0 votes Please log in or register to add a comment.
3 votes 3 votes where $\text{TAT}(P_i)$ is the Turn Around Time of process $P_i$ & $n$ is the total number of processes participating in the scheduling algorithm. amarVashishth answered Oct 11, 2015 amarVashishth comment Share Follow See all 4 Comments See all 4 4 Comments reply Brij Mohan Gupta commented Sep 12, 2016 i edited by Brij Mohan Gupta Sep 12, 2016 reply Follow Share Ans will be 13 0 votes 0 votes humblegeek commented Dec 12, 2016 reply Follow Share Will we take burst time for processes to be 3,3,24 (for P1,P2,P3)? 0 votes 0 votes Bhavya Jain commented Sep 15, 2017 reply Follow Share Arrival time isn't given, so how to find TAT for eah process? Bcz only the order is given and not arrival time. 0 votes 0 votes Brij Mohan Gupta commented Sep 15, 2017 reply Follow Share @Bhavya take AT as zero. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes From the definition itself ...TAT is defined as TAT = WT + BT….. From the given schedule ,we can say that WT of each process is ‘0’ and BT of each process is 3,3,24 Finding out the average TAT….. Avg of TAT = Avg of BT + Avg of WT (wt=0) Avg of BT = 3+3+24/3 = 10 Therefore Avg TAT is 10. Hope You got it…. nagasudheer answered Sep 28, 2020 nagasudheer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 10 May be coz we can calculate turn around time as (24+3+3)/3 = 10 hence average turn around time should be 10. Correct Me if I am wrong.!! vupadhayay answered Oct 2, 2017 vupadhayay comment Share Follow See 1 comment See all 1 1 comment reply Ganesh Thampi commented Jan 11, 2018 reply Follow Share Well even though the AT is not given the order in which they arrive is - p2-p3-p1. So p3 is completed after p2 and p1 after p3. so the answer should be (3+27+30)/3 = 20. 0 votes 0 votes Please log in or register to add a comment.