Skip to content

Deevyam/CPU-Scheduling-Algorithm-Simulator-in-Java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

In this project, I have developed and implemented several CPU scheduling algorithms, including First-Come-First-Serve (FCFS), Shortest Job First (SJF), Priority Scheduling (Non-preemptive), and Round Robin. These algorithms play a vital role in process management within operating systems, aiming to optimize CPU utilization and ensure effective process handling. Each algorithm is meticulously coded in Java, offering a clear, structured, and efficient approach to CPU scheduling. I encourage you to explore the code, and I welcome any feedback or suggestions you may have

Tech Stack

  • Programming language - Java

Implemented Algorithms

Click to view implemented algorithms
  • First-Come-First-Serve (FCFS)
    • Processes are executed in the order they arrive in the ready queue.
  • Shortest Job First (SJF)
    • Processes with the shortest burst time are executed first.
  • Priority Scheduling (Non-preemptive)
    • Processes are executed based on their priority. If two processes have the same priority, they are executed based on arrival time.
  • Round Robin
    • Each process is assigned a fixed time in cyclic order, ensuring that all processes get a fair share of CPU time.

About

Implementation of OS Scheduling Algorithms like FCFS , SJF , PriorityScheduling , RoundRobin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages