NIMCET 2009 Computer PYQ — In the virtual memory system, the address space specified by addr… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
NIMCET 2009 — Computer PYQ
NIMCET | Computer | 2009
In the virtual memory system, the address space specified by address lines of the CPU must be….than the physical memory size and……than the secondary storage size.
Choose the correct answer:
A.
smaller, smaller
B.
smaller, larger
C.
larger, smaller
(Correct Answer)
D.
larger, larger
Correct Answer:
larger, smaller
Explanation
To understand the relationship between different memory spaces in a Virtual Memory system, we look at the following definitions:
Virtual Address Space: This is the set of addresses that the CPU can generate. It is determined by the number of address lines. If a CPU has n address lines, it can address 2n locations.
Physical Memory (RAM): This is the actual hardware memory available. One of the main purposes of virtual memory is to allow programs to be larger than the actual physical RAM. Therefore, the virtual address space is typically larger than the physical memory size.
Secondary Storage (Hard Disk/SSD): This is where the entire virtual address space is actually stored (often in a swap file or partition). Since secondary storage must hold the entire program plus other data, the virtual address space assigned to a specific process must be smaller than the total secondary storage capacity available to the system.
Conclusion:
Virtual Address Space > Physical Memory
Virtual Address Space < Secondary Storage
Thus, the correct sequence is larger, smaller.
Explanation
To understand the relationship between different memory spaces in a Virtual Memory system, we look at the following definitions:
Virtual Address Space: This is the set of addresses that the CPU can generate. It is determined by the number of address lines. If a CPU has n address lines, it can address 2n locations.
Physical Memory (RAM): This is the actual hardware memory available. One of the main purposes of virtual memory is to allow programs to be larger than the actual physical RAM. Therefore, the virtual address space is typically larger than the physical memory size.
Secondary Storage (Hard Disk/SSD): This is where the entire virtual address space is actually stored (often in a swap file or partition). Since secondary storage must hold the entire program plus other data, the virtual address space assigned to a specific process must be smaller than the total secondary storage capacity available to the system.