Skip to content

MahimaSinghRathore/cpu-scheduling-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ CPU Scheduling Simulator

A simple web-based tool to simulate and compare classic CPU Scheduling Algorithms:
FCFS, SJF, Priority, Round Robin.

βœ… Features

  • Supports 4 algorithms
  • Takes Arrival Time, Burst Time, Priority, Time Quantum
  • Shows:
    • Completion Time (CT)
    • Turnaround Time (TAT)
    • Waiting Time (WT)
    • Response Time (RT)
  • Displays results in a clean table
  • Runs locally in any browser

πŸ—‚οΈ Tech Used

  • Python + Flask (backend)
  • HTML/CSS + Bootstrap (frontend)
  • Jinja2 (templating)

πŸ“‚ Structure

cpu-scheduling-simulator/ β”œβ”€β”€ app.py β”œβ”€β”€ templates/index.html β”œβ”€β”€ requirements.txt β”œβ”€β”€ README.md

πŸš€ How to Run

Clone

git clone https://github.com/MahimaSinghRathore/cpu-scheduling-simulator.git cd cpu-scheduling-simulator

Install

pip install Flask

Run

python app.py Open http://127.0.0.1:5000/ in your browser.

πŸ“Œ Future Ideas

Gantt Chart view Preemptive SJF & Priority Export as PDF/CSV

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published