Skip to content

A multi-level queue scheduling algorithm with 4 queues (RR, SJF_1, SJF_2, FCFS) . Each queue should be given a time quantum of 20 seconds, and the CPU should switch between queues after every 20 seconds. The user should be prompted to enter the number of processes along with their priority associated with each queue.

License

Notifications You must be signed in to change notification settings

Dilum-IR/CPU-Scheduling-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CPU - Multilevel Queue Scheduling Algorithm

A multi-level queue scheduling algorithm with 4 queues.
Each queue must be assigned a priority, with q0 having the highest priority and q3 having the lowest priority.

The following scheduling algorithms should be used for each queue:

  • q0 - Round Robin (RR)
  • q1 - Shortest Job First (SJF)
  • q2 - Shortest Job First (SJF)
  • q3 - First-In-First-Out (FIFO)

Each queue should be given a time quantum of 20 seconds, and the CPU should switch between queues after every 20 seconds. The user should be prompted to enter the number of processes along with their priority associated with each queue.

About

A multi-level queue scheduling algorithm with 4 queues (RR, SJF_1, SJF_2, FCFS) . Each queue should be given a time quantum of 20 seconds, and the CPU should switch between queues after every 20 seconds. The user should be prompted to enter the number of processes along with their priority associated with each queue.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages