Open In App

GATE | GATE CS 1999 | Question 36

Like Article
Like
Save
Share
Report

Which of the following is/are advantages of virtual memory?

a) Faster access to memory on an average.

b) Processes can be given protected address spaces.

c) Linker can assign addresses independent of where the program will be loaded in physical memory.

d) Programs larger than the physical memory size can be run.
(A) a and b
(B) b and c
(C) b and d
(D) All of the above


Answer: (C)

Explanation: Virtual memory provides an interface through which processes access the physical memory. So,
A. Swapping of pages increases time while virtual memory concept is there and it slower the execution as compared to Direct access from physical memory. So, it is false.
B. Without virtual memory, it is difficult to give protected address space to processes as they will be accessing physical memory directly. So, it is true
C. Some other method can be used to assign addresses independent of where the program. so it is false.
D. Virtual memory allows a process to run using a virtual address space which is larger in size then the address of physical memory and pages are swapped in between physical memory and virtual memory when physical memory gets full. So, it is True.

So, statement (b) and (d) are Correct.


Quiz of this Question


Last Updated : 25 Oct, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads