Which file organization allows efficient searching based on a sorted key?

2024

Which file organization allows efficient searching based on a sorted key?

  1. A.

    Heap file

  2. B.

    Ordered file

  3. C.

    Hashed file

  4. D.

    B-tree

Attempted by 128 students.

Show answer & explanation

Correct answer: B

Ordered files store records in sorted order by key, enabling efficient binary search and range queries. This organization allows the system to quickly locate specific records or ranges without scanning all data.

Explore the full course: Niacl Ao It Specialist