🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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 →
  1. Q1. With 1 KB blocks, 4-byte pointers, 10 direct, one single and one double indirect pointer, what is the maximum file size?
  2. Q2. 4 KB blocks, 4-byte pointers, 12 direct pointers. Which pointer covers logical block 500?
  3. Q3. The inode is in memory. How many disk reads are needed to read a data block reached through the double indirect pointer?
  4. 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?
  5. Q5. Why is random access fast with FAT even though it is a linked method?
  6. Q6. A 16 GB disk has 4 KB blocks and 4-byte FAT entries. What is the FAT size?
  7. Q7. What does this print? (code)
  8. Q8. Which allocation method suffers most from external fragmentation?
  9. Q9. Why does the triple indirect pointer dominate the maximum file size?