Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE CS 1999 | Question 36

  • Difficulty Level : Medium
  • Last Updated : 25 Oct, 2018

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

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :