Question 8264 – Operating-Systems
May 12, 2024Question 126 – Theory-of-Computation
May 12, 2024Question 8636 – Operating-Systems
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 4 bytes in size. Given a 100 × 106 bytes disk on which the file system is stored and data block size is 103 bytes, the maximum size of a file that can be stored on this disk in units of 106 bytes is ________.
Correct Answer: A
Question 49 Explanation:
Number of entry in FAT
= Total disk size/ disk block size
= 100 × 106 / 103
= 100 × 103
∴ Total overhead = 100 × 103 × 4B
= 400 × 103 B
= 0.4 × 106 B
So, Maximum size of file that can be stored in disk is,
Total disk size – Total overhead
= 100 × 106 – 0.4 × 106
= 99.6 × 106 B
= Total disk size/ disk block size
= 100 × 106 / 103
= 100 × 103
∴ Total overhead = 100 × 103 × 4B
= 400 × 103 B
= 0.4 × 106 B
So, Maximum size of file that can be stored in disk is,
Total disk size – Total overhead
= 100 × 106 – 0.4 × 106
= 99.6 × 106 B
99.60
99.61
99.62
99.63
Subscribe
Login
0 Comments