loading...

CS604 Operating Systems Assignment 3 Solution Fall 2012

Question 1: [Marks 5]
Let us consider a table given below.
Process Arrival Time Burst Time
————————————————————–
P1 0.0 8
P2 0.4 4
P3 1.0 1
Above table shows different processes arriving in the sequence listed in the table. By using FCFS scheduling
strategy, write down the average turnaround time for above processes.
Question 2: [Marks 15]
Let us consider a table given below.
PjTjArrival Time
P0 80 0
P1 20 10
P2 10 10
P3 20 80
P4 50 85
Above table shows different processes arriving in the sequence listed in the table.
Note: In the above case we are considering only a single processor.
a)  Draw Gantt chart according to Round Robin scheduling for above scenario. Time quantum is 15.
b)  Write down the turnaround time of P3 process according to Round Robin scheduling.
c)  Write down the average waiting time for the processes according to Round Robin scheduling.

Solution:




DOWNLOAD SOLUTION HERE
loading...
  • Theodyssey009

    Wrong solutions