86.9k views
1 vote
given a block size of 16kb and a disk that holds 100gb of data (using 32 bit addresses), how big can a file be if you have single index block in an indexed file management scheme?

User Smolla
by
7.7k points

1 Answer

4 votes

Final answer:

Using a single 16KB index block in an indexed file management system, with 32-bit addresses, the maximum file size is 64MB. This is calculated based on each 4-byte address in the index block pointing to another 16KB block.

Step-by-step explanation:

The question pertains to the maximum size of a file in an indexed file management system given a block size of 16KB and a disk capacity of 100GB using 32-bit addresses.

In an indexed file management system, each entry in an index block points to a data block.

The size of a 32-bit address is 4 bytes, so a block of 16KB can contain 4,096 (16 * 1024 / 4) addresses.

Each of these addresses points to a separate data block of 16KB, therefore, with a single index block, the maximum file size would be 4,096 blocks * 16KB per block, which equals 65,536KB or 64MB (65,536KB / 1,024KB per MB).

User Morric
by
8.8k points