Skills101
← All practice quizzes

Quiz: File Allocation and Inode Numericals

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

The file-system numericals that appear in GATE and semester exams — maximum file size with direct and indirect pointers, which pointer reaches a given byte, disk accesses for contiguous, linked and indexed allocation, and the size of a FAT or free-space bitmap.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    Blocks are 2 KB and disk addresses are 4 bytes. How many pointers fit in one block?

  2. Question 2

    With 1 KB blocks, 4-byte pointers, 10 direct, one single and one double indirect pointer, what is the maximum file size?

  3. Question 3

    4 KB blocks, 4-byte pointers, 12 direct pointers. Which pointer covers logical block 500?

  4. Question 4

    The inode is in memory. How many disk reads are needed to read a data block reached through the double indirect pointer?

  5. Question 5

    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?

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →