Single Level Paging Implementation in Python
Single Level Paging Implementation in Python
Experiment Title:
Objective:
To implement the concept of Single-Level Paging in Python, and to understand the process
of logical to physical address translation using paging. Also, calculate important parameters
such as the number of pages, page table size, and frame size.
Theory:
Paging is a memory management scheme that eliminates the need for contiguous allocation
of physical memory. It divides the program's logical address space into blocks of the same
size called pages, and the physical memory into blocks of the same size called frames. The
page table maps the logical pages to the physical frames.
The operating system maintains a page table that stores the mapping between page numbers
and frame numbers.
Algorithm: