Question:medium

What is the purpose of the ‘virtual memory’ in an operating system?

Show Hint

Virtual memory helps programs use more memory than the physical RAM by utilizing disk space as an extension of memory.
Updated On: Jan 16, 2026
  • To increase the physical RAM capacity
  • To allow programs to use more memory than physically available
  • To encrypt data stored in memory
  • To optimize CPU scheduling
Show Solution

The Correct Option is B

Solution and Explanation

Virtual memory enables an operating system to utilize hard disk space as an extension of RAM. This allows programs to access more memory than physically present by transferring data between RAM and the disk. Consequently, the system appears to possess greater memory capacity, leading to more efficient program execution, especially when physical memory is constrained.
- Option (A) is incorrect because virtual memory does not augment physical RAM; it expands memory access by using disk space.
- Option (C) is incorrect as encrypting memory data is not a function of virtual memory; this is typically managed by separate security features.
- Option (D) is incorrect because optimizing CPU scheduling is unrelated to virtual memory, which is solely concerned with memory management.
Therefore, option (B) is correct, as it accurately describes virtual memory's ability to grant programs access to more memory than is physically available.
Was this answer helpful?
0