Skip to content

pranav33317/OS-Scheduler-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A c program to simulate the different CPU scheduling algorithms. Four scheduling algorithms are implemented in the program:

  1. First In First Out (FIFO)
  2. Shortest Job First (SJF)
  3. Shortest Remaining Time First (SRTF)
  4. Round Robin (RR) The program accepts input for n processes (n>4), where each process has: ● Process ID: A unique identifier for the process. ● Arrival Time: The time at which the process arrives in the ready queue. ● Burst Time: The total time required by the process for execution. ● Time Quantum (TQ): The value of TQ should only be used in RR. For each scheduling algorithm, the program will: ● Calculate and display the order of execution of processes. ● Calculate and display the scheduling policy's Average Response Time and Average Turnaround Time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published