2 2 votes Consider three processes with the following CPU burst times: $P_1=2, P_2=7$, and $P_3=10$. All processes arrive at time $t=0$. The system uses Round Robin scheduling with a time quantum $Q=4$.Calculate the Average Turnaround Time (TAT) for these processes. Operating System goclasses operating-system goclasses-cs-dpp goclasses-cs-dpp-day-198 goclasses-os-practice-questions numerical-answers + – GO Classes 254 views answer comment Share Follow Print See 1 comment 1 1 comment reply singhsanrachana1011 commented Jul 10 reply Follow flag Turnaround time= completion time - arrival time. All processes arrive at t=0 so eventually turnaround time= completion time here. P1=2 P2=13 P3=19 So avg turnaround time=(2+13+19)/3=11.33 0 0 replyShare Please log in or register to add a comment.
1 1 vote $0-2: P_1$ (Finishes). $T A T=2$.$2-6: P_2$ $($Remains $3).$$6-10: P_3$ $($Remains $6).$$10-13: P_2$ (Finishes). $T A T=13$.$13-17$ : $P_3$ $($Remains $2).$$17-19: P_3$ (Finishes). $T A T=19$.Avg TAT $=(2+13+19) / 3=34 / 3=11.33$. GO Classes answered Feb 16 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote $0-2: P_1$ (Finishes). $T A T=2$.$2-6: P_2$ $($Remains $3).$$6-10: P_3$ $($Remains $6).$$10-13: P_2$ $($Finishes). $T A T=13$.$13-17$ : $P_3$ $($Remains $2).$$17-19: P_3$ (Finishes). $T A T=19$.Avg TAT $=(2+13+19) / 3=34 / 3=11.33$. GO Classes answered Feb 16 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.