Question: NOTE: -- Plz include all the necessary files and give step by step solution and it's screenshots. Part I: Using C, C++, Java, Python, or..,

 NOTE: -- Plz include all the necessary files and give stepby step solution and it's screenshots. Part I: Using C, C++, Java,Python, or.., design and implement a simulation program for process management inan operating system, in particular short-term (CPU) scheduling. Be sure your implementation

NOTE: -- Plz include all the necessary files and give step by step solution and it's screenshots.

Part I: Using C, C++, Java, Python, or.., design and implement a simulation program for process management in an operating system, in particular short-term (CPU) scheduling. Be sure your implementation is purely a simulation and nothing more! There is no need to use fork0 or other process-related system calls. All of the following should be simulated. Further, do not use real-time measurements for this project. Simulate elapsed time using a (global?) variable. Be sure to have your program run with absolutely no user interaction whatsoever. Use the defaults noted in the project specifications. Processes A process is a program in execution. For this project, processes are ready to use the CPU or are actively using the CPU. Ignore l/O for now (this greatly simplifies the model). Your system must support m CPUs (start m at 1). Label your CPUs with capital letters starting at A (i.e. A, B C, etc.). Build an easily tunable program that simulates the creation and execution of n processes numbered 1-n (consider these the process IDs). Each process requires a specified amount of CPU time to complete its CPU burst. Specify these times using random numbers in the range 50-400ms. Use a default value of 20 for n (though test with other values, too) Using these initial conditions, your simulation program must simulate each of the following scheduling algorithms (one at a time and with the same initial conditions, each starting at time O!)

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!