265 views
1 votes
1 votes
If the memory is 768 MB and the block’s size is 384 Bytes, what will be the size of the bitmap in Bytes?

I think it should be 2^21 Bytes, but I’m not quite sure.

Could you show me also your solution?

1 Answer

0 votes
0 votes
The total number of blocks would be 768MB/384B=2MB

In bit map each block is represented with a bit(1-the block is in use,0-block is in use),so there will 2^21 bits

which means the size of bitmap is 2^21/2^3 = 2^18 bytes.

So yes you are right,but it had to be 2^21 bits rather than bytes.

Related questions

0 votes
0 votes
2 answers
1
Daniel Nikolov asked Feb 4, 2019
358 views
If the memory is 768 MB and the block’s size is 384 Bytes, what will be the size of the bitmap in Bytes?I think it should be 2^21 Bytes, but I’m not quite sure.Could ...
0 votes
0 votes
1 answer
3
DanMal asked Jul 16, 2018
1,295 views
Hi guys , got big problem with this ask , i don't know how to solve it . I would be very thankful if someone help me ;)