Question: CPU scheduler will decide which process should be given the CPU for its execution. For this it uses different algorithm to choose among the process.

CPU scheduler will decide which process should be given the CPU for its execution. For this it uses different algorithm to choose among the process. One among that Algorithm is Priority algorithm. In this algorithm the processes will be given the priorities. The process which is having the highest priority is allocated the cup first After finishing the request, the CPU is allocated to the next highest priority and soon. Write an algorithm and C program for the Priority algorithm.

Step by Step Solution

3.35 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Given Write An algorithm ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!