Skip to content

this Python program implements various CPU scheduling algorithms. using Django, Pandas, MatplotLib

License

Notifications You must be signed in to change notification settings

bnparham/scheduling-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Scheduling Algorithm

Overview

This Python program implements various CPU scheduling algorithms, including First-Come, First-Served (FCFS), Shortest Process Next (SPN), Highest Response Ratio Next (HRRN), and Round Robin. These algorithms simulate the process of selecting a process from the ready queue for execution on the CPU. CPU scheduling is a fundamental aspect of operating systems, and this project provides a practical implementation of different scheduling algorithms.

Technologies

Matplotlib Pandas Django

Prerequisites

Ensure you have Python installed. You can install the required packages using:

You can install them using:

pip install -r requirements.txt

Usage

Run the Django server:

python manage.py runserver

Open your web browser and go to http://localhost:8000.

Enter Arrival Time (AT) and CPU Burst Time (CBT) for each process.

Select a scheduling algorithm from the provided options.

Click on the "Submit" button.

The program will calculate and display the results, including Gantt charts and turnaround time.

Project Snapshots

Image Alt Text Image Alt Text

About

this Python program implements various CPU scheduling algorithms. using Django, Pandas, MatplotLib

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages