Which directory in a directory structure is the topmost directory on the disk?

2019

Which directory in a directory structure is the topmost directory on the disk?

Answer: B. RootConceptA hierarchical file system organizes directories as a tree of parent-child relationships. The root directory is the unique starting directory of that…

  1. A.

    Tree

  2. B.

    Root

  3. C.

    Subdirectory

  4. D.

    Base

Attempted by 34 students.

Show answer & explanation

Correct answer: B

Concept

A hierarchical file system organizes directories as a tree of parent-child relationships.

The root directory is the unique starting directory of that hierarchy; every other directory descends from it.

Application

The question asks for the directory at the top of the hierarchy. That term is root, so the answer is Root.

Contrast

  • Tree describes the overall hierarchical arrangement, not the top directory itself.

  • Subdirectory describes a directory contained within another directory.

  • Base is a general word for a starting point, not the standard file-system term used here.

Cross-check

In Unix-like systems, the path / denotes the root directory, and all other paths begin below it. This confirms Root.

Explore the full course: Isro

Loading lesson…