✔ Scroll down and test yourself — answers are hidden under the “View Answer” button.
A. One-to-many relationship
B. Recursive relationship
C. Multivalued attribute
D. Derived attribute
Explanation:
Prerequisites are modeled as a recursive relationship within the Course entity, linking courses to other courses.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Weak entity
Explanation:
This is a many-to-many relationship between Doctor and Department, which may require an associative entity to store additional attributes like years of experience.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Derived attribute
Explanation:
This is a many-to-many relationship between Customer and Loan. An associative entity can capture relationship attributes like loan percentage owned by each customer.
A. Simple attribute
B. Derived attribute
C. Weak entity
D. Associative entity
Explanation:
The schedule is a relationship-specific entity, so an associative entity linking Patient and Prescription is appropriate.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Recursive
Explanation:
This is a many-to-many relationship between Student and Club, usually implemented with an associative entity to capture membership details.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Derived relationship
Explanation:
This is a many-to-many relationship between Booking and Passenger, typically implemented via an associative entity.
A. Simple attribute
B. Derived attribute
C. Multivalued attribute
D. Weak entity
Explanation:
BMI is a derived attribute because it can be calculated from other stored attributes like weight and height.
A. Simple attribute
B. Derived attribute
C. Composite attribute
D. Weak entity
Explanation:
Address is a composite attribute because it consists of multiple subparts (Street, City, ZIP).
A. Simple attribute
B. Weak entity
C. Derived attribute
D. Recursive relationship
Explanation:
Review is a weak entity because it depends on both Customer and Product for identification.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Derived relationship
Explanation:
This is a many-to-many relationship between Student and Exam, best implemented with an associative entity to store grades.
No comments:
Post a Comment