Menu

[Solved]Given Following Set Processes Corresponding Execution Times Ms Arrival Times Priority 1 Hi Q37129895

Given the following set of processes with correspondingexecution times (in ms), arrival times and priority (1 –highest).  For each scheduling algorithm:

  1. Construct a table showing which process is active and for howlong until all processes are completely serviced (as done inclass).
  2. Calculate the average waiting time and turnaround time.

Process ID

Burst (ms)

Arrival time

P1

9

0

P2

12

0

P3

3

0

P4

30

0

P5

20

0

P6

10

0

  1. First Come First Serve (FCFS)
  2. Shortest-job first (SJF non pre-emptive)

Process ID

Burst (ms)

Arrival time

Priority

P1

9

0

2

P2

12

5

1

P3

3

9

1

P4

30

25

2

P5

20

25

2

P6

2

45

1

  1. Shortest-job first (SJF non pre-emptive)
  2. Shortest-remaining time next (SJF pre-emptive)
  3. Round-robin (RR with 3 ms quantum)

6.Priority-based scheduling (with shortest job first)

Expert Answer


Answer to Given the following set of processes with corresponding execution times (in ms), arrival times and priority (1 – highe… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *