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

1.

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

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

Answer: Option 'A'

low level, complex

2.

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

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

Answer: Option 'A'

low level, complex

3.

The file organization module knows about :

   A.) files
   B.) logical blocks of files
   C.) physical blocks of files
   D.) all of the mentioned

Answer: Option 'D'

all of the mentioned

4.

The file organization module knows about :

   A.) files
   B.) logical blocks of files
   C.) physical blocks of files
   D.) all of the mentioned

Answer: Option 'D'

all of the mentioned

5.

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

6.

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

7.

For each file there exists a ___________ that contains information about the file, including ownership, permissions and location of the file contents.

   A.) metadata
   B.) file control block
   C.) process control block
   D.) all of the mentioned

Answer: Option 'B'

file control block

8.

For each file there exists a ___________ that contains information about the file, including ownership, permissions and location of the file contents.

   A.) metadata
   B.) file control block
   C.) process control block
   D.) all of the mentioned

Answer: Option 'B'

file control block

9.

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

10.

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

11.

During compaction time, other normal system operations _______ be permitted.

   A.) can
   B.) cannot
   C.) is
   D.) none of the mentioned

Answer: Option 'B'

​cannot

12.

During compaction time, other normal system operations _______ be permitted.

   A.) can
   B.) cannot
   C.) is
   D.) none of the mentioned

Answer: Option 'B'

​cannot

13.

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

14.

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

15.

In the linked allocation, the directory contains a pointer to the :
I. first block
II. last block

   A.) I only
   B.) II only
   C.) Both I and II
   D.) Neither I nor II

Answer: Option 'C'

Both I and II

16.

In the linked allocation, the directory contains a pointer to the :
I. first block
II. last block

   A.) I only
   B.) II only
   C.) Both I and II
   D.) Neither I nor II

Answer: Option 'C'

Both I and II

17.

There is no __________ with linked allocation.

   A.) internal fragmentation
   B.) external fragmentation
   C.) starvation
   D.) all of the mentioned

Answer: Option 'B'

​external fragmentation

18.

There is no __________ with linked allocation.

   A.) internal fragmentation
   B.) external fragmentation
   C.) starvation
   D.) all of the mentioned

Answer: Option 'B'

​external fragmentation

19.

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

20.

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