Uploaded by xipos84366

Assignment 4

Assignment - IV (A4)
Due: Monday, Oct 11, 2021 11:59 pm IST
1. Write a C program to simulate the FIFO CPU scheduling algorithm.
2. Write a C program to simulate a non-preemptive shortest job first (SJF) CPU scheduling
Input - The program should take process ID, arrival time, and burst time of 5 processes from the
Output - The expected output is a Gantt chart of the schedule and average waiting time and the
average turnaround time of those processes.