← All topics
Quiz: File Allocation and Inode Numericals: questions with answers
9 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. With 1 KB blocks, 4-byte pointers, 10 direct, one single and one double indirect pointer, what is the maximum file size?
- Q2. 4 KB blocks, 4-byte pointers, 12 direct pointers. Which pointer covers logical block 500?
- Q3. The inode is in memory. How many disk reads are needed to read a data block reached through the double indirect pointer?
- Q4. How many disk reads does linked allocation need to read block 7 (counting from 0) of a file, if only the first block's address is known?
- Q5. Why is random access fast with FAT even though it is a linked method?
- Q6. A 16 GB disk has 4 KB blocks and 4-byte FAT entries. What is the FAT size?
- Q7. What does this print? (code)
- Q8. Which allocation method suffers most from external fragmentation?
- Q9. Why does the triple indirect pointer dominate the maximum file size?