GATE - 2002 | OS | In the index allocation scheme of blocks to a file, the maximum

GATE - 2002 | OS | In the index allocation scheme of blocks to a file, the maximum
Posted on 24-02-2022

GATE - 2002 [Operating System]

Questions:

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 the above

     

Solution:

Option (C) is Correct.

No. of addressable blocks using one Index block (A) = Size of block/Size of block address.
No. of block addresses available for addressing one file(B) = No. of Maximum blocks we can use for the Index * No. of addressable blocks using one Index block(A)
Size of File = B * Size of Block

 

Thank You

Download App for Free PDF Download

GovtVacancy.Net Android App: Download

government vacancy govt job sarkari naukri android application google play store https://play.google.com/store/apps/details?id=xyz.appmaker.juptmh