Dhroov 221070076 Assignment9
Dhroov 221070076 Assignment9
WaddDesai
Reg_no - 221070076
ASSIGNMENT - 9
AIM -
To implement paging technique.
THEORY -
The paging technique is a memory management scheme used by OS to manage memory
allocation for processes. It allows a computer to allocate memory in fixed-size blocks
called "pages," which are typically smaller than the total size of physical memory.
The paging technique involves dividing both the physical memory (RAM) and the logical
memory (used by processes) into fixed-size blocks. These blocks in physical memory are
called "frames," while those in logical memory are called "pages." The size of a page is the
same as the size of a frame.
When a process requests memory, the operating system allocates memory for the process
in terms of pages. The pages do not need to be contiguous in physical memory; they can
be scattered across different frames. The operating system maintains a data structure
called a page table to keep track of the mapping between logical pages and physical
frames.
CODE -
OUTPUT -
CONCLUSION-
In this experiment we have implemented the paging technique to simulate
memory allocation and management in an Operating System.