Which of the following is/are true about multilevel directory?

Which of the following is/are true about multilevel directory?

Answer: A. Inconsistency problem may occur; C. Searching time for the file is lessCorrect statements: Inconsistency problem may occur; Searching time for the file is less. Inconsistency problem may occur — True. If separate directory…

  1. A.

    Inconsistency problem may occur

  2. B.

    Easy to implement

  3. C.

    Searching time for the file is less

  4. D.

    Two files cannot have the same in different categories

Attempted by 32 students.

Show answer & explanation

Correct answer: A, C

Correct statements: Inconsistency problem may occur; Searching time for the file is less.

  • Inconsistency problem may occur — True. If separate directory entries refer to distinct physical copies of the same logical file and one copy is modified without updating the others, the copies diverge and inconsistency results. File systems typically avoid this by using a single file descriptor (inode) referenced from multiple directory entries or by using links.

  • Easy to implement — False. Multilevel (hierarchical) directories require management of directory trees, pathname resolution, and extra metadata, making them more complex to implement than a single-level directory.

  • Searching time for the file is less — True. Organizing files into directories and subdirectories narrows the search space. Locating a file usually involves traversing a specific path rather than scanning an entire flat namespace, which reduces average search time.

  • Two files cannot have the same in different categories — False. Hierarchical directories allow files with the same name in different directories because the complete pathname (directory path plus filename) is unique. If the option meant duplicate physical copies across directories, those can exist but may lead to inconsistency unless managed.

Explore the full course: Isro

Loading lesson…