File System Implementation - Allocation Methods - 2 - Operating System Questions & Answers

1.

Metadata includes :

   A.) all of the file system structure
   B.) contents of files
   C.) both file system structure and contents of files
   D.) none of the mentioned

Answer: Option 'C'

​both file system structure and contents of files

2.

When in contiguous allocation the space cannot be extended easily :

   A.) the contents of the file have to be copied to a new space, a larger hole
   B.) the file gets destroyed
   C.) the file will get formatted and lost all its data
   D.) none of the mentioned

Answer: Option 'A'

the contents of the file have to be copied to a new space, a larger hole

3.

A device driver can be thought of as a translator. Its input consists of _____ commands and output consists of _______ instructions.

   A.) high level, low level
   B.) low level, high level
   C.) complex, simple
   D.) low level, complex

Answer: Option 'A'

​high level, low level

4.

For processes to request access to file contents, they need to :

   A.) they need to run a seperate program
   B.) they need special interrupts
   C.) implement the open and close system calls
   D.) none of the mentioned

Answer: Option 'C'

implement the open and close system calls

5.

The major disadvantage with linked allocation is that :

   A.) internal fragmentation
   B.) external fragmentation
   C.) there is no sequential access
   D.) there is only sequential access

Answer: Option 'D'

there is only sequential access

File System Implementation - Allocation Methods - 2 - Operating System Questions & Answers Download Pdf

Recent Posts