Question: Help me plzzzzzz operiting system ... Write a c program to implement a First-Come- First-Serve (FCFS) and Shortest-Job-First (SJF) scheduling algorithms. Your program should first

Help me plzzzzzz operiting system
...
 Help me plzzzzzz operiting system ... Write a c program to

Write a c program to implement a First-Come- First-Serve (FCFS) and Shortest-Job-First (SJF) scheduling algorithms. Your program should first prompt the user to select which algorithm to use FCFS or SJF. Then, your program will input a list of process ID and burst time for each process to be run on the CPU. The list is terminated by 0 O for both the process ID and burst time. Your program should draw a Gantt chart that shows the scheduling order of the processes using the selected scheduling algorithm. Also print the turnaround and waiting time for each process along with the average turnaround and waiting times for all process. Make sure that you have a friendly user interface and display very helpful messages

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!