Chapter 3: Enhanced Entity Relationship Model Flashcards
A subgrouping of the entities in an
entity type that is meaningful to
the organization and that shares
common attributes or relationships
distinct from other subgrouping
subtype
A generic entity type that has a
relationship with one or more
subtypes.
Supertype
What is the symbol that indicates that the entity is a subtype to a super type?
U shape connected to a circle
A property by which subtype
entities inherit values of all
attributes and instances of all
relationships of their supertype.
Attribute Inheritance
If a subtype has an instance, the instance is also an instance of the super type (T or F)
True
What situations would you consider to use a supertype/subtype relationship
- When attributes apply to some and not all instances of an entity
- When a subtype participate in a relationship unique to that subtype
From the two approaches of creating subtypes/supertype relationships, what approach does generalization and specialization take?
Generalization: Bottom-up
Specialization: Top-down
is the process of defining a more general entity type from a set of more specialized entity types
Generalization
Addresses whether an instance of a supertype must also be a member of at least one subtype.
Completeness Constraint
A rule that specifies that each
entity instance of a supertype must
be a member of some subtype in
the relationship
Total Specialization Rule
A rule that specifies that an entity
instance of a supertype is allowed
not to belong to any subtype.
Partial Specialization Rule
Completeness Constraint: What is the symbol to indicate that there is a total specialization rule?
Double line connecting from the supertype to the circle
Completeness Constraint: What symbol is used to indicate a partial specialization rule?
Single line connected from the supertype to the circle
A constraint that addresses
whether an instance of a supertype
may simultaneously be a member
of two (or more) subtypes
disjointness constraint
A rule that specifies that an
instance of a supertype may not
simultaneously be a member of
two (or more) subtypes.
Disjoint Rule
A rule that specifies that an
instance of a supertype may
simultaneously be a member of
two (or more) subtypes.
Overlap rule
Disjointness constraint: what symbol is used to represent disjoint and overlap rule?
A d or o inside the circle
An attribute of a supertype whose
values determine the target
subtype or subtypes.
Subtype discriminator
Subtype Discriminator: What type of attribute is used with a disjoint rule?
a simple attribute
Subtype Discriminator: What type of attribute is used for an overlap subtype?
a composite attribute
A supertype/subtype hierarchy is a hierarchical arrangement of
supertypes and subtypes, where
a subtype has only one supertype
The entity type at the top of the hierarchy is also called?
root
A subtype only inherits the attributes from its immediate supertype (T or F)
False. The subtype inherits the attiributes of supertypes until it reaches the root
is an iterative approach to breaking a system down into related components so that each component can be redesigned by
itself without destroying the connections with other components
Functional decomposition
A set of one or more entity types
and associated relationships
grouped into a single abstract
entity type.
Entity Cluster
An entity cluster can be made from combining strong and weak entities (T or F)
true
is a generic or template data model that can be reused as
a starting point for a data modeling project
Universal data model
Universal Data Model: A universal data model is the right model for your organization (T or F)
False. It is only a good starting point
Universal Data Model: What are the advantages of using UDMs
- evolved from cumulative experience
- takes less time and costs
- less likely to miss important components
- easier to evolve
- good starting point
- easier to read
- extensive use of supertype/subtype relationships promote reusing data and holistic view
- extensive use of many to many relationships and associative entities makes it flexible
- compatibility with vendor products
- easier to share data with other organizations
Universal Data Model: In general, business rules embedded in the purchased data cover all possible circumstances (T or F)
True
Universal Data Model:can find outliers, identify shifts in data distribution over time, and identify other
phenomena
Profiling
Universal Data Model: What is the most important challenge in customizing data models
Determining the business rules