Round Robin CPU Scheduling assignment help

computer science

Description

For this assignment please submit a single zip file. The zip file will contain your code

and a README pdf document with instructions on how to run your code. Include

one screenshot of your program running in the zip file as well.

Your objective is to create a program that simulates Round Robin CPU scheduling.

You could use the virtual machine from the first assignment to test your program to

make sure it will run.

Program Requirements:

The program you will create is used to generate a schedule of processes. The

processes are stored in a plaintext file. The program accepts two parameters. The

first parameter is the path of the processes file. The second parameter is the time

quantum. Your simulation should include the following:

Clock timestamps all events for processes, such as creation time, completion time,etc.


Process Creator creates processes at arrival time

CPU runs processes for a time slice (time quantum)

Queue FIFO Ready queue used by both the process creator and CPU

Process Arrival Time arrival time of new processes into the ready queue

Process Service Time amount of time required by the processes to complete execution

Time Quantum time each process can spend in the CPU before it is removed

Context Switch number of times a process is switched

Your program should also print out the following performance evaluation criteria:

CPU Utilization

Throughput

Average Waiting Time

Average Turnaround Time

Include a README pdf document as your project report. Your report should explain

CPU scheduling and how Round Robin works. Your report should detail your project

implementation and how to analyze the program output. You must include the

resulting output of your program using five different time quantum on the same

process list. You can either use screenshots or simply copy the output into your

report. The analysis of the results of the five runtimes should exhibit the

performance of the algorithm based on the size of the time quantum and how this

size impacts the outcome of the scheduling.


Sample Input:


Your program will be tested with an input file that has a certain format. It is a CSV

(comma space value) format that resembles a table. The three columns are Process

ID, Arrival Time and Burst Time. Each row is a process.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.