in Operating System recategorized by
5,814 views
4 votes
4 votes

How many disk blocks are required to keep list of free disk blocks in a $16$ GB hard disk with $1$ kB block size using linked list of free disk blocks ? Assume that the disk block number is stored in $32$ bits.

  1. $1024$ blocks 
  2. $16794$ blocks 
  3. $20000$ blocks 
  4. $1048576$ blocks 
in Operating System recategorized by
5.8k views

3 Answers

5 votes
5 votes
no. of disk blocks possible = 16GB/ 1KB = 16M disk blocks available

no. of disk block address possible to store in 1 disk block = 1kB/32bits = 256  address can be stored in 1 disk block

256 disk block address---------------------------> 1 disk block

16M disk block address----------------------------->   x

 x = 16M/256 =  65536...

NONE OF THE ABOVE

2 Comments

1 disk block = 1kB/32bits = 256

 

Why 32 bits is not converted to Bytes here? 

0
0
You can covert but answer will be same : 1kB/32bits = 1kB/ 4B = $\frac{2^{10}}{2^{2}}$ = 256
0
0
1 vote
1 vote
0 votes
0 votes
i am getting 2^16 wht is the right answer?
by
Answer:

Related questions