Question: please answer q1 &q2 Assignment 3 on Priority and Round Robin (RR) algorithms Student name: Process Burst Time Arrival time Priority Pi 8 0 2
Assignment 3 on Priority and Round Robin (RR) algorithms Student name: Process Burst Time Arrival time Priority Pi 8 0 2 P2 2 2 5 P3 3 3 3 ... 3 UN N P4 6 4 P5 8 1 Use the above table to answer the questions below: Q1.Using the Priority algorithm: a) Draw the Gantt chart. b) Compute the waiting time for each process. c) Compute the average waiting time for all the processes d) Compute the turnaround time for each process Compute the average turnaround time for all processes. Q2. Using the Round Robin (RR) scheduling algorithm, with time quantum 2: Draw the Gantt chart. b) Compute the waiting time for each process. Compute the average waiting time for all the processes d) Compute the turnaround time for each process e) Compute the average turnaround time for all processes. c w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
