File System Recovery - Operating System Questions & Answers

1.

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

Answer: Option 'C'

​undone

2.

A circular buffer :

Basic Computer Knowledge Quiz

   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

Answer: Option 'A'

writes to the end of its space and then continues at the beginning

Basic Computer Knowledge Quiz

3.

Some directory information is kept in main memory or cache to ___________

Basic Computer Knowledge Quiz

   A.) fill up the cache
   B.) increase free space in secondary storage
   C.) decrease free space in secondary storage
   D.) speed up access

Answer: Option 'D'

speed up access

Basic Computer Knowledge Quiz

4.

A systems program such as fsck in ______ is a consistency checker.

   A.) UNIX
   B.) Windows
   C.) Macintosh
   D.) Solaris

Answer: Option 'A'

UNIX

5.

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

Answer: Option 'B'

compares the data in the directory structure with the data blocks on disk

6.

Each set of operations for performing a specific task is a _________

   A.) program
   B.) code
   C.) transaction
   D.) all of the mentioned

Answer: Option 'C'

​transaction

7.

A circular buffer :

   A.) overwrites older values as it goes
   B.) writes to the end of its space and then continues at the beginning
   C.) all of the mentioned
   D.) none of the mentioned

Answer: Option 'B'

writes to the end of its space and then continues at the beginning

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

Answer: Option 'C'

undone

9.

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

Answer: Option 'B'

it is removed from the log file

10.

Once the changes are written to the log, they are considered to be ________

   A.) committed
   B.) completed
   C.) aborted
   D.) none of the mentioned

Answer: Option 'A'

committed

File System Recovery - Operating System Questions & Answers Download Pdf

Recent Posts