You are on page 1of 2

Name: Rukhsar Tariq

Roll No: 17137072

Section: Null

Course: Operating System

Submitted to: Sir Bilal Hashmi

Question:
CPU: 1 I/O CPU: 2 I/O CPU: 3 I/O CPU: 4 I/O

P1 10 10 5 10 5 5 5 5
P2 5 5 10 5 5 7 8 5
P3 10 5 6 5 10 6 8 6

Solution:
10 5 10 5 10 6 4 5 5
p1 p2 p3 p1 p2 p3 wait p1 p2

Turnaround time
p1 98
p2 106
p3 113
avg: 105.67
Rukhsar Tariq

17137072

Null

Operating System

Sir Bilal Hashmi

CPU: 5

5
8
7

10 5 2 8 8 5 8 7
p3 p1 wait p2 p3 p1 p2 p3

Total CPU wait: 6 units Efficieny: about 94%

You might also like