GATE | GATE-CS-2002 | Question 47
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends on :
(A) the size of the blocks, and the size of the address of the blocks.
(B) the number of blocks used for the index, and the size of the blocks.
(C) the size of the blocks, the number of blocks used for the index, and the size of the address of the blocks.
(D) None of these
In the index allocation method, an index block stores the address of all the blocks allocated to a file.
When indexes are created, the maximum number of blocks given to a file depends upon the size of the index which tells how many blocks can be there and size of each block(i.e. same as depending upon the number of blocks for storing the indexes and size of each index block).
Thus, option (B) is correct.
Please comment below if you find anything wrong in the above post.
Quiz of this Question
Please Login to comment...