All mock tests are FREE till 31 December — register to save your progress

Which of the statement is not true in regards to virtual memory?
(i) The main objective for using virtual memory is to increase the effective capacity of the memory system.
(ii) Size of the program can be as large as the size of the secondary memory.
(iii) Program and data are stored in the secondary memory.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. None of these

Explanation

Statement (i) is a true description of virtual memory's purpose — it lets the effective address space exceed physical RAM. Statement (ii) is also true: because only needed pages are kept resident and the rest live on disk, a program's size is limited by secondary storage capacity, not RAM size. Statement (iii) is true as well: the complete program and its data permanently reside in secondary memory, with pages brought into RAM only on demand. Since all three statements are actually correct, none of them is the false one, so the answer is None of these, option (iv).

More Programming Languages and Computer Graphics questions