This repository contains implementations of various scheduling algorithms in different programming languages. Each algorithm is implemented in separate files.
FIFO.cscontains the C# implementation of the FIFO scheduling algorithm.- The
Processclass represents a process with its process ID, arrival time, and burst time. - The
FIFOAlgorithmclass implements the FIFO algorithm using a queue data structure. - The
Mainmethod inFIFO.csdemonstrates how to use the FIFO algorithm with sample processes.
FIFO.javacontains the Java implementation of the FIFO scheduling algorithm.- Similar to the C# implementation, it includes the
ProcessandFIFOAlgorithmclasses. - The
Mainmethod inFIFO.javademonstrates how to use the FIFO algorithm with sample processes.
RoundRobin.javacontains the Java implementation of the Round Robin scheduling algorithm.- The
Processclass represents a process with its process ID, arrival time, burst time, and remaining burst time. - The
RoundRobinclass implements the Round Robin algorithm using a queue data structure and a time quantum. - The
mainmethod inRoundRobin.javademonstrates how to use the Round Robin algorithm with sample processes.
SJFAlgorithm.javacontains the Java implementation of the Shortest Job First (SJF) scheduling algorithm.- Similar to other implementations, it includes the
Processclass. - The
SJFAlgorithmclass implements the SJF algorithm using a priority queue to prioritize processes based on burst time. - The
mainmethod inSJFAlgorithm.javademonstrates how to use the SJF algorithm with sample processes.
Enjoy exploring the different scheduling algorithms in the SchedulingALGO repository!