Operating System Questions & Answers – File System Implementation – Recovery

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “File System Implementation – Recovery”.

1. Some directory information is kept in main memory or cache to ___________
a) fill up the cache
b) increase free space in secondary storage
c) decrease free space in secondary storage
d) speed up access
View Answer

Answer: d
Explanation: None.

2. A systems program such as fsck in ______ is a consistency checker.
a) UNIX
b) Windows
c) Macintosh
d) Solaris
View Answer

Answer: a
Explanation: None.

3. A consistency checker __________________ and tries to fix any inconsistencies it finds.
a) compares the data in the secondary storage with the data in the cache
b) compares the data in the directory structure with the data blocks on disk
c) compares the system generated output and user required output
d) all of the mentioned
View Answer

Answer: b
Explanation: None.
advertisement
advertisement

4. Each set of operations for performing a specific task is a _________
a) program
b) code
c) transaction
d) all of the mentioned
View Answer

Answer: c
Explanation: None.

5. Once the changes are written to the log, they are considered to be ________
a) committed
b) aborted
c) completed
d) none of the mentioned
View Answer

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

6. When an entire committed transaction is completed, ___________
a) it is stored in the memory
b) it is removed from the log file
c) it is redone
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

7. What is a circular buffer?
a) writes to the end of its space and then continues at the beginning
b) overwrites older values as it goes
c) all of the mentioned
d) none of the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

8. All the changes that were done from a transaction that did not commit before the system crashed, have to be _________
a) saved
b) saved and the transaction redone
c) undone
d) none of the mentioned
View Answer

Answer: c
Explanation: None.

Sanfoundry Global Education & Learning Series – Operating System.

Here’s the list of Best Books in Operating System.

advertisement

To practice all areas of Operating System, here is complete set on 1000+ Multiple Choice Questions and Answers on 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.