Q2. The following metric shown the arrival time, the CPU time and the priority for a particular process in milliseconds (ms).
Process
Arrival Time (ms)
CPU cycle (ms)
Priority
A
0
7
2
B
4
C
8
1
D
6
E
9
3
(Assume a larger priority number implies a higher priority)
Draw a Gantt chart illustrating the execution of the above processes, and calculate theaverage turnaround timeandaverage waiting timebased on each of the following algorithms:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here