Select the incorrect statement about virtual memory (1) It increase the degree…
2023
Select the incorrect statement about virtual memory
(1) It increase the degree of multiprogramming.
(2) Does not allow address space to be shared by several process
(3) reduces the context switching overhead
(4) Less I/O or loading and unloading for individual user process
- A.
1, 2 and 3 only
- B.
3 and 4 only
- C.
2 and 3 only
- D.
2, 3 and 4 only
Attempted by 9 students.
Show answer & explanation
Correct answer: C
Option 3 : 2 and 3 only
Concept:
Virtual memory:
Virtual memory is a feature of an operating system (OS) that enables a computer to be able to compensate for the shortage of physical memory by transferring a page of data from RAM to disk storage.
→ It gives the illusion to the user that executes the huge amount of program on a small main memory.
→ It uses the concept of increase the address space.
Explanation:
Advantage of virtual memory:
(1) It increases the degree of multiprogramming
(2) Allow address spaces to be shared by several processes so that multiprogramming increased. [Statement (1) correct]
[Statement 2 wrong]
(3) Context switching occurs frequently between main memory and disk by swap-in and swap-out so context switching increases.
[Statement 3 wrong]
(4) Less I/O or loading or unloading of individual user processes
[Statement 4 correct]
Option 3 correct.
Important Points
More information:
Swap-in: Higher priority process can be swapped-in from the disk to the main memory with a lower priority process.
Swap-out: Lower priority process from memory can be swapped out so that a higher priority process can be executed.