edited by
22,190 views
47 votes
47 votes

Which of the following statements is false?

  1. Virtual memory implements the translation of a program's address space into physical memory address space
  2. Virtual memory allows each program to exceed the size of the primary memory
  3. Virtual memory increases the degree of multiprogramming
  4. Virtual memory reduces the context switching overhead
edited by

2 Answers

Best answer
71 votes
71 votes

(D) should be the answer.

(A) - MMU does this translation but MMU is part of VM (hardware).

(B), (C) - The main advantage of VM is the increased address space for programs, and independence of address space, which allows more degree of multiprogramming as well as option for process security.

(D) - VM requires switching of page tables (this is done very fast via switching of pointers) for the new process and thus it is theoretically slower than without VM. In anyway VM doesn't directly decrease the context switching overhead.

edited by
22 votes
22 votes

VM increases the context switching overhead . VM is based on demand paging so more number of swaps == increase context switch , during page fault .

  1. Virtual memory implements the translation of a program's address space into physical memory address space

This statement is Correct.

 Virtual memory require both hardwire (main memory and TLB) and OS support ( to control those hardwire) , that actual translation from program's address space to physical address space is done by main memory .  so statement A is correct . That makes option A wrong.

Only statement D is false and it is the answer .

Answer:

Related questions

68.7k
views
4 answers
49 votes
Kathleen asked Sep 14, 2014
68,743 views
Consider a machine with $64$ MB physical memory and a $32$-bit virtual address space. If the page size s $4$ KB, what is the approximate size of the page table?$\text{16 MB}$\text{8 MB}$\text{2 MB}$\text{24 MB}$
13.1k
views
3 answers
37 votes
Kathleen asked Sep 14, 2014
13,075 views
Where does the swap space reside?RAMDiskROMOn-chip cache
10.7k
views
3 answers
45 votes
Kathleen asked Sep 14, 2014
10,728 views
Consider a disk with the following specifications: 20 surfaces, 1000 tracks/surface, 16 sectors/track, data density 1 KB/sector, rotation speed 3000 rpm. The operating ... CPU is held up for this disk I/O for cycle-stealing DMA transfer?
8.5k
views
2 answers
22 votes
Kathleen asked Sep 14, 2014
8,454 views
Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main ... increase the number of page faultsnever affect the number of page faults