I need the code completed. My professor said there wasn't much to change in the program.
OPERATING SYSTEMS - Homework 1 Undergraduate Students: Pick one question and solve in detail with coding and with a video presentation. For the video recording rules, please see below. Graduate Students: Pick one question and solve in detail with coding and with a video presentation. For the video recording rules, please see below. Give the draft solution for the other problem (video recording is not required, your code may be incomplete but you should comment it and give detailed explanation about your design). Q1. Write a C program to simulate the Round Robin Scheduling with time quantum. You are expected to modify the program we covered in class and posted in Week 6. That program uses time quantum of 1. You are expected to change it to use time quantum of a different positive integer (such as 5 or 10). Your task is to produce a plot (it is sufficient if you produce the data required for the plot as a table of quantum vs average turnaround time). The plot should look like Chapter 5 Slide 24. Use the following set of processes to run your program and show your work. #define NUM_PROCESSES 10 int arrivals[] = {0, 3, 6, 10, 11, 15, 19, 22, 25, 90}; int bursts[] = {8, 4, 5, 3, 10, 9, 10, 18, 11, 5}; Make sure you test your program by solving the problem on paper, for example (for your reference) for quantum of 10, my modified program produces the following output. … … … Completed Process-9 at time step-95 Waiting time for Process-0: 0 Waiting time for Process-1: 5 Waiting time for Process-2: 6 Waiting time for Process-3: 7 Waiting time for Process-4: 9 Waiting time for Process-5: 15 Waiting time for Process-6: 20 Waiting time for Process-7: 37 Waiting time for Process-8: 42 Waiting time for Process-9: 0 Average = 14.1