Computer Science, asked by nazumazid786, 23 days ago

priority scheduling with arrival time in c


Answers

Answered by harinismart007
0

Explanation:

First input the processes with their arrival time, burst time and priority.

First process will schedule, which have the lowest arrival time, if two or more processes will have lowest arrival time, then whoever has higher priority will schedule first.

Now further processes will be schedule according to the arrival time and priority of the process. (Here we are assuming that lower the priority number having higher priority). If two process priority are same then sort according to process number.

Note: In the question, They will clearly mention, which number will have higher priority and which number will have lower priority.

Once all the processes have been arrived, we can schedule them based on their priority.

Similar questions