Question number 1
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:
Let us consider a table given below.
Pj | Tj | Arrival 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.
Deadline
Your assignment must be uploaded/submitted at or before Thursday, November 29, 2012