Question: Problem 1 Consider the following processes: Process Arrival Time Processing Time A 0 5 B 1 4 C 3 3 D 4 2 E 8

Problem 1
Consider the following processes:
Process Arrival Time Processing Time
A 05
B 14
C 33
D 42
E 83
Show how the above processes execute over time on a single CPU system. Compute the completion time
for each process, the average turnaround time and the average normalized turnaround time for all processes
under each of the following schedulers:
(a) FCFS.
(b) Round Robin with (q =1)
(c) Round Robin with (q =2)
(d) Shortest Job First.
(e) Shortest Remaining Time First.
(f) HRRN.
(g) Multi-level Feedback with 2 queues. Queue serves 1 quantum (unit of time) at a time while queue 2
serves 2 quantums at a time. All processes get serviced from queue 1 initially in FCFS fashion and if they
do not complete, they move to queue 2. Queue 2 runs a round robin scheduler. Assume that Queue 1 has
a higher priority than Queue 2, and assume that a process arriving to queue 1 cannot preempt an already
running process from queue 2 within its 2 quantum.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!