Skip to content

ManasaGanesh101/Page-Replacement-Algorithm-Visualizer-with-Python-Tkinter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page Replacement Algorithm Visualizer (Python + Tkinter)

A Python Tkinter-based visual tool to explore and understand Page Replacement Algorithms.
This interactive application displays real-time graphs of hit and miss ratios, helping you visualize how different algorithms perform.

✨ Features

  • Real-time graph plotting (using Matplotlib) for:
    • Hit Ratio
    • Miss Ratio
  • Multiple algorithms supported (FIFO, LRU, Optimal, etc.)
  • Customizable frame size — experiment with different memory constraints
  • Interactive GUI built with Tkinter and CustomTkinter
  • Educational tool for OS students and enthusiasts

Preview (a few sample screenshots of the app)

Homepage

Homepage

LRU Algorithm

LRU Algorithm

Visualization Window

Visualization Output

Getting Started

1. Clone the repository

git clone https://github.com/<your-username>/Page-Replacement-Algorithm-Visualizer-with-Python-Tkinter.git
cd Page-Replacement-Algorithm-Visualizer-with-Python-Tkinter

2. Next, run the main file, PRAC.py on your editor after installing customtkinter, tkinter and matplotlib modules.

About

This is a Python Tkinter-based Page Replacement Algorithm visualizer. The tool provides real-time graphs for miss and hit ratios, shedding light on the efficiency of various algorithms. The visualizer offers a hands-on experience, allowing users to customize the number of frames for a personalized exploration of page replacement techniques.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%