Name: Atif Iqbal Roll Num: 192 Section: BSSE 4 A Subject: Operating System Assignment No2 Submitted To: MR Hassan
Name: Atif Iqbal Roll Num: 192 Section: BSSE 4 A Subject: Operating System Assignment No2 Submitted To: MR Hassan
Name: Atif Iqbal Roll Num: 192 Section: BSSE 4 A Subject: Operating System Assignment No2 Submitted To: MR Hassan
P2 P5 P1 P4 P3 P5 P1 P1 P1
0 1 4 7 8 10 12 15 18 19
Throughput:
Number of processes/Total time taken by processes
Throughput= 5/19
Throughput=0.26
Turnaround Time:
P1=19
P2=1
P3=10
P4=8
P5=12
=50/5
=10
Waiting Time:
P1= 9
P2=0
P3=8
P4=7
P5=7
=31/5
=6.2