Q1Computer Architecture
Question
2 marks
Q.1. What is virtual memory?
Answer
Virtual memory is a memory management technique using secondary storage to extend the apparent size of main memory, giving each program the illusion of a large, contiguous address space managed transparently by the OS and MMU.
Virtual memory allows a program to execute even if its address space is larger than physical RAM, by keeping only actively used portions (pages/segments) in main memory and holding the rest on disk, with the OS and Memory Management Unit transparently handling address translation and swapping, giving each process the appearance of a large, private, contiguous memory space regardless of actual physical memory constraints.