Question: Language: C, C++, and Java Requirements i. We have learned many kinds of CPU scheduling methods 1. First-Come, First-Served Scheduling 2. Shortest-Job-First Scheduling 3. Priority

Language: C, C++, and Java Requirements i. We have learned many kinds of CPU scheduling methods 1. First-Come, First-Served Scheduling 2. Shortest-Job-First Scheduling 3. Priority Scheduling 4. Round-Robin Scheduling 5. Multilevel Queue Scheduling ii. Among the above scheduling scheme, I hope you would pick one method and simulate the CPU scheduling procedure iii. First, you are supposed to implement CPU scheduler iv. Next, you need to populate multiple processes. The processes should be managed by your system from the viewpoint of the Operating Systems. This requires that you maintain the corresponding PCBs. Before the creation of processes, it would be bette:r to design the behavior scenario of each process v. The scheduler should show the (concurrent) sequence how the prcesses are selected to run their tasks and release (return) their turn to the other processes vi. Most importantly, you have to combine the CPU scheduler with the synchronization mechanism in order to prevent multiple processes from accessing the shared resources including system timer, counter on the queue, etc. The scenario should include a certain situation which show that you included the synchronization scheme on thee CPU scheduler
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
