✔ Scroll down and test yourself — answers are hidden under the “View Answer” button.
A. Simple attribute
B. Multivalued attribute
C. Weak entity
D. Derived attribute
Explanation:
Since a book can have more than one author, "authors" should be modeled as a multivalued attribute or as a separate related entity in logical design.
A. One-to-one relationship
B. One-to-many relationship
C. Many-to-many relationship
D. Recursive relationship
Explanation:
This is a many-to-many relationship between Customer and Account. An associative entity may be used to store additional attributes like account balance or ownership percentage.
A. Simple relationship
B. Associative entity
C. Weak entity
D. Derived attribute
Explanation:
The result is an attribute of the relationship between Patient and Test. This requires an associative entity to store attributes like test date and result value.
A. Strong entity
B. Weak entity
C. Multivalued attribute
D. Derived attribute
Explanation:
“Section” depends on “Course” for identification and cannot exist independently, making it a weak entity.
A. Add attributes to Order
B. Add attributes to Product
C. Use an associative entity Order_Product
D. Use derived attributes
Explanation:
Since quantity and price depend on the combination of Order and Product, an associative entity is required to store these relationship attributes.
A. One-to-one
B. One-to-many recursive
C. Many-to-many
D. Weak entity
Explanation:
This is a recursive one-to-many relationship where an Employee entity relates to itself as supervisor and subordinate.
A. Multivalued attribute
B. Weak entity
C. Derived attribute
D. Recursive relationship
Explanation:
Medicines are modeled as a weak entity related to the prescription entity, since their details exist in the context of a specific prescription.
A. One-to-one
B. One-to-many
C. Many-to-many
D. Recursive
Explanation:
This is a many-to-many relationship, often implemented via an associative entity (e.g., Booking) to store additional attributes like booking date.
A. Disjoint specialization
B. Overlapping specialization
C. Total specialization
D. Partial specialization
Explanation:
Overlapping specialization allows an entity to belong to multiple subtypes simultaneously.
A. Simple attribute
B. Derived attribute
C. Multivalued attribute
D. Weak entity
Explanation:
GPA is a derived attribute because it can be calculated from the grades of the student in various courses.
No comments:
Post a Comment