MCQ Hive stays free thanks to ads. Please disable your ad blocker for this site so content and features keep working.
Operating System
Swap Space Management
Q
It is __________ to reread a page from the file system than to write it to swap space and then to reread it from there.
AA. Faster
BB. More expensive
CC. Better
DD. Slower
Correct Answer:
C. C. Better
Explanation:
This statement refers to the virtual memory concept in Operating Systems. If a page already exists in the file system (for example, as part of an executable file or a memory-mapped file), it is generally better to discard the page when memory is needed. If the page is required again later, the operating system can simply reload it from the original file instead of first writing it to swap space and then reading it back.