Which of the following database model, we have a parent-child relationship A.…

2022

Which of the following database model, we have a parent-child relationship

A. hierarchical databases
B. network databases
C. relational databases

Choose the correct answer from the options below:

  1. A.

    A, B

  2. B.

    A, C

  3. C.

    B, C

  4. D.

    A, B, C

Attempted by 2344 students.

Show answer & explanation

Correct answer: A

Answer: hierarchical databases and network databases.

Explanation:

  • Hierarchical databases: use a tree structure where each child record has a single parent, making parent-child relationships explicit and primary to the model.

  • Network databases: use owner-member (set) links between records; these links can represent parent-child relationships and allow more flexible (including many-to-many) connections than a strict tree.

  • Relational databases: do not impose an inherent parent-child structure. Relationships are expressed through tables and foreign keys rather than a built-in parent-child model.

Therefore, the models that have parent-child relationships are the hierarchical and network database models.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor