Consider the following bitmap technique for tracking free space in a file. For each block in the file, two bits are maintained in the bitmap. If the block is between 0 and 30 percent full the bits are 00, between 30 and 60 percent the bits are 01, between 60 and 90 percent the bits are 10, and above 90 percent the bits are 11. Such bitmaps can be kept in memory even for quite large files.
a. Describe how to keep the bitmap up-to-date on record insertions and deletions.
b. Outline the benefit of the bitmap technique over free lists when searching for free space and when updating free space information.

  • CreatedJanuary 28, 2011
  • Files Included
Post your question