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

1.

_______ and ________ are the most common strategies used to select a free hole from the set of available holes.

   A.) First fit, Best fit
   B.) Worst fit, First fit
   C.) Best fit, Worst fit
   D.) None of the mentioned

Answer: Option 'A'

​First fit, Best fit

2.

_______ and ________ are the most common strategies used to select a free hole from the set of available holes.

   A.) First fit, Best fit
   B.) Worst fit, First fit
   C.) Best fit, Worst fit
   D.) None of the mentioned

Answer: Option 'A'

​First fit, Best fit

3.

The first fit and best fit algorithms suffer from :

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

Answer: Option 'B'

​external fragmentation

4.

The first fit and best fit algorithms suffer from :

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

Answer: Option 'B'

​external fragmentation

5.

To solve the problem of external fragmentation, ________ needs to be done periodically.

   A.) compaction
   B.) check
   C.) formatting
   D.) replacing memory

Answer: Option 'A'

compaction

6.

To solve the problem of external fragmentation, ________ needs to be done periodically.

   A.) compaction
   B.) check
   C.) formatting
   D.) replacing memory

Answer: Option 'A'

compaction

7.

If too little space is allocated to a file

   A.) the file will not work
   B.) there will not be any space for the data, as the FCB takes it all
   C.) the file cannot be extended
   D.) the file cannot be opened

Answer: Option 'C'

​the file cannot be extended

8.

If too little space is allocated to a file

   A.) the file will not work
   B.) there will not be any space for the data, as the FCB takes it all
   C.) the file cannot be extended
   D.) the file cannot be opened

Answer: Option 'C'

​the file cannot be extended

9.

One difficulty of contiguous allocation is :

   A.) finding space for a new file
   B.) inefficient
   C.) costly
   D.) time taking

Answer: Option 'A'

​finding space for a new file

10.

One difficulty of contiguous allocation is :

   A.) finding space for a new file
   B.) inefficient
   C.) costly
   D.) time taking

Answer: Option 'A'

​finding space for a new file

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

Recent Posts