Difficulty: Easy
Correct Answer: 3
Explanation:
Introduction / Context:Relationship degree refers to the number of distinct entity types that participate in a single relationship. Binary involves two, ternary involves three, and higher-degree relationships involve more than three. Recognizing the degree helps determine how to implement the relationship in a relational schema.
Given Data / Assumptions:
Concept / Approach:A ternary relationship is not the same as three separate binary relationships; it captures a constraint that inherently involves three participants at once. In many cases, decomposing a ternary relation into binaries can lose semantics unless additional constraints are enforced.
Step-by-Step Solution:
Recall definition: “ternary” means degree three.Apply to ER design: three entity types participate in a single relationship instance.Select “3” as the correct answer.Verification / Alternative check:Model an example such as Supplier–Part–Project allocation; one relationship instance involves exactly these three types together.
Why Other Options Are Wrong:
Common Pitfalls:Rewriting a ternary into multiple binaries without constraints, which can permit invalid combinations not intended by the original model.
Final Answer:3
Discussion & Comments