📖 9. Virtual Memory
📖 From Operating System • 386 questions available
About 9. Virtual Memory
Virtual memory is a fantastic trick that makes your computer think it has much more memory (RAM) than it actually does. It does this by using a portion of your hard drive or SSD as an extension of the main memory. This "virtual" space allows programs that are larger than the available RAM to still run, and it lets you run many more programs at once. It's like an overflow area for your workspace, allowing you to work on a huge project even if your desk (RAM) is small.
The magic of virtual memory works through a technique called "demand paging." Instead of loading an entire program into RAM all at once, the OS only loads the pages that are currently needed. If a program needs a page that isn't in RAM, the OS brings it in from the virtual memory on the disk. If RAM gets full, the OS moves some less-used pages back to the disk. This entire process is hidden from the user and the program, making it seem like there is an unlimited supply of fast memory, which is essential for modern multitasking.
Practice MCQs for 9. Virtual Memory. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
🔄 Last updated: 2026-07-26