This repository contains a web-based simulation of the Worst Fit memory allocation algorithm. The simulation demonstrates how memory blocks are allocated to processes based on the Worst Fit strategy, which selects the largest available block for allocation.
- Input memory block sizes and process memory requirements.
- Simulates the Worst Fit algorithm to allocate memory to processes.
- Displays results in a clear table format, showing allocated blocks and remaining memory sizes.
- HTML
- CSS
- JavaScript
- Clone the repository:
git clone https://github.com/shancds/worst-fit-algorithm.git
- Navigate to the project directory:
cd worst-fit-algorithm
- Open the index.html file in any modern web browser to start using the simulation.
Enter memory block sizes and process memory requirements in the input fields. Click "Simulate Allocation" to see the results of the Worst Fit algorithm. The results will be displayed in a table, showing which blocks were allocated to each process and the remaining block sizes.
Thank you for Visit.. 😊!