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:
Thus, the correct sequence is larger, smaller.