Skip to content

Implementation of 4 different CPU scheduling algorithms in C

Notifications You must be signed in to change notification settings

acooperdh/cpu-scheduling

Repository files navigation

cpu-scheduling

Implementation of 4 different CPU scheduling algorithms in C completed for CSCI 3120

Tasks are read in from a text file named TaskSpec. Each Task is on it's own line in the file and is structure by task number, arrival time, burst time.

The Tasks are read in from the file and stored in a 4 queues, one for each algorithm.

The algorithms are ran consecutively, FSCS, RR, NPSJF, PSJF and their results are outputed to Output.txt

There is a 4 different algorithms used in this program

First Come First Serve

Round Robin

Shortest Job First Non-Preemptive

Shortest Job First Preemptive

About

Implementation of 4 different CPU scheduling algorithms in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published