helo guys...can some1 pls help me with this problem? That would be a great help..thanks...
Develop a PROGRAM to simulate a computer using the different scheduling algorithms - FCFS, SJN, SRT, Round Robin, [using a time quantum of 3 sec], given the following information:
Process Arrival Time Burst time
P1 0 10
P2 1 1
P3 2 2
P4 3 1
P5 4 5
a. Compute the waiting time and turnaround time for every job and for each of the scheduling algorithms.
b. Also compute the average waiting time and average turnaround time for each of the scheduling algorithms and determine which one gives the best results.
Show the experience that can be learned by changing the quantum and see the effect on Average Turnaround time and Average weighting time and present the results.
Develop a PROGRAM to simulate a computer using the different scheduling algorithms - FCFS, SJN, SRT, Round Robin, [using a time quantum of 3 sec], given the following information:
Process Arrival Time Burst time
P1 0 10
P2 1 1
P3 2 2
P4 3 1
P5 4 5
a. Compute the waiting time and turnaround time for every job and for each of the scheduling algorithms.
b. Also compute the average waiting time and average turnaround time for each of the scheduling algorithms and determine which one gives the best results.
Show the experience that can be learned by changing the quantum and see the effect on Average Turnaround time and Average weighting time and present the results.