Advantages of Bit Vector/Bit Map

Q2. What are the Advantages of Bit Vector/Bit Map?

Ans. The main advantage of this approach is its relative simplicity and its efficiency in finding the first free block or n consecutive free blocks on the disk, indeed, many computers supply bit-manipulation instructions that can be used effectively for that purpose.

For example,

The Intel family starting with the 80386.

For finding the first free block on a system

(number of bits per word) x (number of 0-value words) + offset of first 1 bit.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

231 Views
%d bloggers like this: