Question: Goals Understanding the structure of the PCB (Process Control Block) Understanding the working of Scheduling algorithms Imagine that your computer system has crashed, but a
Goals Understanding the structure of the PCB (Process Control Block) Understanding the working of Scheduling algorithms Imagine that your computer system has crashed, but a core dump was actually done before the computer was forced to shut down completely. The list of running processes (at the time of the crash) was saved in a file called "list of _processes.txt". Your program gets to play CPu scheduler (in other words, you as the designer of the Operating System, get to play the role of the CPU scheduler) You will first choose a time slice/time quantum. In this project, you will be implementing the ROUND ROBIN Scheduling Algorithm. A time slice of 4 units is recommended. You must write C code to open the saved file, run the processes until they all finish. Running process 31 for a time slice of 4 time units, for example, means that process 31 prints out the fir ,000 prime numbers. That was based on the assumption that process 31 gets to go first. If process 39 gets to go next, for the next 4 time units,it would print the next 4,000 prime numbers h process finishes, print a message on the screen saying "process
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
