Operating System Questions & Answers – Swap Space Management

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Swap Space Management”.

1. Virtual memory uses disk space as an extension of _________
a) secondary storage
b) main memory
c) tertiary storage
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

2. Using swap space significantly _________ system performance.
a) increases
b) decreases
c) maintains
d) does not affect
View Answer

Answer: b
Explanation: Disk access is much slower than memory access.

3. Linux __________ the use of multiple swap spaces.
a) allows
b) does not allow
c) may allow
d) none of the mentioned
View Answer

Answer: a
Explanation: Putting these swap spaces on separate disks reduces the load places on the I/O system.
advertisement
advertisement

4. A single swap space ______ reside in two places.
a) can
b) cannot
c) must not
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

5. If the swap space is simply a large file, within the file system, ____________ used to create it, name it and allocate its space.
a) special routines must be
b) normal file system routines can be
c) normal file system routines cannot be
d) swap space storage manager is
View Answer

Answer: b
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. For swap space created in a separate disk partition where no file system or directory structure is placed, _____________ used to allocate and deallocate the blocks.
a) special routines must be
b) normal file system routines can be
c) normal file system routines cannot be
d) swap space storage manager is
View Answer

Answer: d
Explanation: None.

7. When a fixed amount of swap space is created during disk partitioning, more swap space can be added only by?
I) repartitioning of the disk
II) adding another swap space elsewhere
a) only I
b) only II
c) both I and II
d) neither I nor II
View Answer

Answer: c
Explanation: None.
advertisement

8. In UNIX, two per process ________ are used by the kernel to track swap space use.
a) process tables
b) swap maps
c) memory maps
d) partition maps
View Answer

Answer: b
Explanation: None.

9. It is __________ to reread a page from the file system than to write it to swap space and then to reread it from there.
a) useless
b) less efficient
c) more efficient
d) none of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement

Sanfoundry Global Education & Learning Series – Operating System.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.