Which database organization uses parent-child relationships to organize data in a tree-like structure?

Source: JAMB · 2024

Which database organization uses parent-child relationships to organize data in a tree-like structure?

  1. Relational
  2. Hierarchical ✓
  3. Object-oriented
  4. Network
Explanation

Hierarchical databases organize data like a family tree with parents and children. Each parent can have many children, but each child has only one parent. This tree structure works well for naturally hierarchical data.

Relational databases use tables with rows and columns. Object-oriented databases store objects. Network databases allow more complex relationships than hierarchies.

Your computer’s file system is hierarchical. Folders contain subfolders in a clear parent-child structure.

Was this explanation helpful?