Shubhanshu-1507 / Sourcecode

Hacktoberfest2024
GNU General Public License v3.0
22 stars 256 forks source link

Add CPU Scheduling Algorithms (First-Come-First-Serve, Round Robin, etc.) #259

Open Singhal1808 opened 3 days ago

Singhal1808 commented 3 days ago

I would like to contribute by implementing CPU scheduling algorithms in this project. Scheduling algorithms are critical in operating systems for process management and ensuring optimal CPU utilization. Here's a list of algorithms I propose to implement:

-> First-Come-First-Serve (FCFS): A non-preemptive scheduling algorithm where the process that arrives first gets executed first. -> Round Robin (RR): A preemptive algorithm where each process is assigned a fixed time slot in a cyclic order. -> Shortest Job Next (SJN): A non-preemptive algorithm where the process with the shortest execution time is executed first. -> Priority Scheduling: Processes are executed based on their priority. Could be preemptive or non-preemptive.

Please assign this issue to me as I'd like to contribute this feature.

eeshsaxena commented 2 days ago

Assign me this issue i will do it.