Quantcast
Channel: Active questions tagged operating-system+scheduling - Stack Overflow
Viewing all articles
Browse latest Browse all 209

whats the come back in this CPU scheduling algorithms task? [closed]

$
0
0

Consider the following set of processes:

Once each process is done processing its “Burst Time”, it goes to the waiting queue, then “Comes back” to the ready queue after the time shown.

You are required to simulate the CPU schedule for a period of 200 time units.

For each of the following scheduling algorithms, your program must show the Gantt chart, average waiting time, and average turnaround time.

1- First Come First Served.2- Shortest Job First.3- Shortest Remaining Time First.4- Round Robin, with q = 55- Preemptive Priority Scheduling, with aging; where priority is decremented by 1 if the process remains in the ready queue for 5 time units.6- Non-preemptive Priority Scheduling, with aging; where priority is decremented by 1 if the process remains in the ready queue for 5 time units.

For this assignment, you may use any programming language of your choosing.

ProcessArrival TimeBurst TimeComes back afterPriority
P101023
P21842
P331463
P44781
P56530
P57461
P78692

Hint: You should create a process that initially creates the 7 processes, and continuously updates the status of the processes, and another process that schedules those processes, and plots the results ,

my question is how do i use this come back time ?

the process must be finished why would it return to the ready queue?


Viewing all articles
Browse latest Browse all 209

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>