Abstract:
One of the most fundamental yet challenging aspects
of computer science is understanding how an operating system
manages memory. While students often grasp theoretical concepts
such as First Fit, Best Fit, and Worst Fit, they struggle to visualize
these strategies in real-world contexts. This paper introduces
a visualization tool developed in Python using the Tkinter
framework, which demonstrates in real time how memory blocks
are allocated, fragmented, and utilized.
This interactive approach transforms abstract computational
concepts into tangible experiences, improving conceptual understanding. Experimental results show that the Best Fit algorithm
achieves optimal memory utilization with minimal fragmentation,
the First Fit algorithm performs fastest but yields moderate
fragmentation, and the Worst Fit algorithm preserves large blocks
initially but increases fragmentation over time [1], [2]. These results support the idea that visualization enhances comprehension
of operating system concepts [3], [4].