Question: 1. Write one single C/C++ program to simulate different scheduling algorithm in OS (functions)- Pre-emptive Algorithms - Shortest job remaining first - Priority (pre-emptive) -

 1. Write one single C/C++ program to simulate different scheduling algorithm

1. Write one single C/C++ program to simulate different scheduling algorithm in OS (functions)- Pre-emptive Algorithms - Shortest job remaining first - Priority (pre-emptive) - Round Robin Compare the algorithm and print which is having less waiting time. Consider the ready queue of OS, the process are present and maintained with their arrival time and expected burst time for execution. Some processes have priority which is also given. Consider the required data to run different scheduling algorithms and analyse the result with respect to average waiting time and turnaround time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!