</>
ShikshaCSLearn. Code. Grow.
🔍
☕ Support Us
ShikshaCSâ€ēPractice Problems
OSMediumMemory Management

Explain Virtual Memory and Paging

📋 Problem

Explain what virtual memory is and how paging helps implement it.

🧭 Approach

Virtual memory lets a program use more memory than physically available RAM, by using disk space as an extension. Paging divides both the program's memory (into 'pages') and physical RAM (into 'frames') of equal fixed size. A page table maps each virtual page to a physical frame — pages not currently needed can be swapped out to disk, and brought back in (a 'page fault') when accessed again.

← Back to all Problems