Consider a system that uses directory structure to implement file system. The…

Consider a system that uses directory structure to implement file system. The block size in this system is 4KB and only one block is sufficient for storing the entire directory structure with directory entry size of 32bits. What is the maximum number of file pointer possible in this machine?

Answer: D. 1024Explanation: Each entry is of size 32bits or 4 bytes. One block of 4KB can contain 4KB/4B = 1K=1024 entries or pointers to the files.

  1. A.

    128

  2. B.

    256

  3. C.

    512

  4. D.

    1024

Attempted by 74 students.

Show answer & explanation

Correct answer: D

Explanation:

Each entry is of size 32bits or 4 bytes. One block of 4KB can contain 4KB/4B = 1K=1024 entries or pointers to the files.

Explore the full course: Isro

Loading lesson…