Disadvantages of Bit Vector/Bit Map

Q3. What are the disadvantages of Bit Vector/Bit Map?

Ans. Unfortunately, bit vectors are inefficient unless the entire vector is kept in main memory and is written to disk occasionally for recovery needs.

For example:

Block size = 212 bytes

Disk size = 230 bytes


n = 230/212

=> n = 230-12

=> n = 218 bytes

=> n = 32 KB

Leave a Reply

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

%d bloggers like this: