I designed an entity relationship diagram (ERD) with the goal of creating two child entities ( Show Right now, I am doing this manually by
creating two attributes ( Attached below is the ERD I mentioned
earlier so the hierarchy is clear. The discriminator (d) is meant to represent a disjoint (overlapping) subtype, and the double lines represent a total completeness constraint, such that all the member of the parent For reference, a disjoint subtype is defined as:
And total completeness is defined as:
https://www.google.com/books/edition/Database_Systems_Design_Implementation_M/4JN4CgAAQBAJ Chapter 05: Advanced Data Modeling True / False 1. The entity supertype contains common characteristics, and the entity subtypes each contain their own unique characteristics. a. True b. Fals e ANSWER: True DIFFICULTY: Difficulty: Easy REFERENCES: 5-1a Entity Supertypes and Subtypes LEARNING OBJ ECTIVES: 05.01 - Describe the main extended entity relationship (EER) model constructs and how they are represented in ERDs and EERDs 2. Entity supertypes and subtypes are organized in a specialization hierarchy. a. True b. Fals e ANSWER: True DIFFICULTY: Difficulty: Easy REFERENCES: 5-1b Specialization Hierarchy LEARNING OBJ ECTIVES: 05.01 - Describe the main extended entity relationship (EER) model constructs and how they are represented in ERDs and EERDs 3. The relationships depicted within the specialization hierarchy are sometimes described in terms of “is-a” relationships. a. True b. Fals e ANSWER: True DIFFICULTY: Difficulty: Moderate REFERENCES: 5-1b Specialization Hierarchy LEARNING OBJ ECTIVES: 05.01 - Describe the main extended entity relationship (EER) model constructs and how they are represented in ERDs and EERDs 4. Within a specialization hierarchy, a supertype can exist only within the context of a subtype. a. True b. Fals e ANSWER: False DIFFICULTY: Difficulty: Easy REFERENCES: 5-1b Specialization Hierarchy LEARNING OBJ ECTIVES: 05.01 - Describe the main extended entity relationship (EER) model constructs and how they are represented in ERDs and EERDs Copyright Cengage Learning. Powered by Cognero.Page 1 What are the types of completeness constraints?The completeness constraint can be partial or total. Partial completeness (symbolized by a circle over a single line) means that not every supertype occurrence is a member of a subtype; that is, there may be some supertype occurrences that are not members of any subtype.
What is completeness constraint?A constraint about generalization hierarchies. A completeness constraint means that every entity in a supertype has a related entity in one of the subtypes. In other words, the union of the set of entities in the subtypes equals the set of entities in the supertype.
What is an attribute in the supertype entity that determines to which subtype the supertype occurrence is related called?A subtype discriminator is the attribute in the supertype entity that is used to determine to which entity subtype the supertype occurrence is related. For any given supertype occurrence, the value of the subtype discriminator will determine which subtype the supertype occurrence is related to.
When a supertype entity instance can be only one of its subtypes at a time the subtypes are called?Disjoint subtypes, also known as nonoverlapping subtypes, are subtypes that contain a unique subset of the supertype entity set; in other words, each entity instance of the supertype can appear in only one of the subtypes.
|