Ad
Sponsored by Sir Tauqeer
CLICK HERE TO JOIN SIR TAUQUEER WHATSAPP GROUP
FOR PREPARATION CLASSES AND JOBS UPDATES
Join Now

Virtual memory is primarily stored in?

A. RAM
B. Hard Disk
C. ROM
D. Cache Memory
Correct Answer: B. Hard Disk

The correct answer is Hard Disk. Virtual memory is a memory management technique where a computer compensates for physical memory (RAM) shortages by temporarily transferring data from RAM to disk storage. When the operating system needs more RAM than is physically available, it moves less frequently used pages of data from RAM to a designated area on the hard disk, known as a swap file or paging file. This process makes it seem as though the computer has more RAM than it actually does, allowing it to run larger programs or more programs concurrently, albeit with a performance penalty when data needs to be swapped back to RAM.

  • Option A, RAM (Random Access Memory), is incorrect. RAM is the primary physical memory that virtual memory extends. While virtual memory aims to mimic more RAM, the *overflow* or *extended* part is stored on the hard disk, not in RAM itself.

  • Option C, ROM (Read-Only Memory), is incorrect. ROM is non-volatile memory used for firmware and boot instructions and is not used for dynamic data storage like virtual memory.

  • Option D, Cache Memory, is incorrect. Cache memory is a very small, very fast memory located between the CPU and RAM, used to store frequently accessed data for quick retrieval. It is part of the memory hierarchy for speed optimization, not for extending main memory capacity like virtual memory.

Leave a Comment

Join Our WhatsApp Channel ×
Scroll to Top