443 views

2 Answers

1 votes
1 votes

#f bits we can store in a block = 128B = 2^10 bits

#f blocks = 2GB/128B = 2^24

1 block can store information about ------------------------2^10 blocks

#f blocks needed to store---------------------------------------2^24 blocks

= 2^14 blocks are needed for bit mapping

each block size = 2^7

total space req = 2^7*2^14 =2^21 = 2MB

edited by
0 votes
0 votes
I am getting  2MB

total number of bolck in File is  =  2GB/128B

                                                  =  16 M block

and each Block Need  1 bit in Bit map then total 16 M bit are needed to represent Bit Map in memory

memory for Bit map in Byte  = 16M bit / 8 bit

                                              =  2MB

Related questions

4 votes
4 votes
3 answers
1
Shivangi Parashar 2 asked Nov 27, 2018
5,629 views
A bit-map can be used to keep track of which blocks are free in a file-system’s partition on disk.Assuming, 1 KB block size and a disk size of 40 GB, what is the size o...
0 votes
0 votes
3 answers
2
anonymous asked Jun 17, 2018
412 views
For disk size of $768 \hspace{0.1cm}MB$ and block size of $384 \hspace{0.1cm} bytes$ what would be the bitmap size in bytes(as a power of $2$)iI represented $768 \hspace{...
2 votes
2 votes
4 answers
3
iarnav asked Apr 15, 2017
4,058 views
A $1$TB Disk with $4$-KB blocks require $32$MB to store its bit map?Kindly explain how.
2 votes
2 votes
2 answers
4
pC asked Dec 12, 2015
5,232 views
For a Hard disk of Capacity 20 MB . Disk block address of 16 bits and disk block size of 1 KB . The number of disk blocks required to store all the Free Blocks using Bitm...