Question

    Which file structure allows for efficient retrieval of data using a hierarchical model?

    A Sequential File Correct Answer Incorrect Answer
    B Indexed File Correct Answer Incorrect Answer
    C Direct Access File Correct Answer Incorrect Answer
    D Hierarchical File Correct Answer Incorrect Answer
    E Relational File Correct Answer Incorrect Answer

    Solution

    A Hierarchical File structure organizes data in a tree-like model where records are arranged in a parent-child hierarchy. This allows for efficient data retrieval by following parent-child relationships, making it suitable for representing hierarchical data like organizational structures. a) Sequential File structures data in a linear order, which is not hierarchical. b) Indexed File provides efficient retrieval using indexes but is not specifically hierarchical. c) Direct Access File allows for data retrieval based on a key but does not organize data hierarchically. e) Relational File refers to a relational database structure, not a hierarchical file system.

    Practice Next