ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > zstu-(2021-2022)-1 >
2019529628011_ENOCH KWATEH DONGBO_Homework#4 Version 0
๐Ÿ‘ค Author: by enochdongbogmailcom 2021-10-12 23:39:08
Write your own example with process set, arrive time and order, cpu burst time , etc; calculate each process's waiting time and average time for various algorithms on the example, considering preemptive and non-preemptive.

 

Given n processes with their burst times and arrival times,ย i am goingย to find the average waiting time and an average turn around time using FCFS scheduling algorithm. And secondly, considering preemptive and non-preemptive.

  1. Completion Time: Time at which the process completes its execution.

  2. Turn Around Time: Time Difference between completion time and arrival time. Turn Around Time = Completion Time โ€“ Arrival Time

  3. Waiting Time(W.T): Time Difference between turn around time and burst time.
    Waiting Time = Turn Around Time โ€“ Burst Time.


Please login to reply. Login

Reversion History

Loading...
No reversions found.