Deck 8: Data Modeling Advanced Concepts

Full screen (f)
exit full mode
Question
An entity supertype can have disjoint or overlapping entity subtypes.
Use Space or
up arrow
down arrow
to flip the card.
Question
Specialization is the top-down process of identifying lower-level, more specific entity subtypes from a higher-level entity supertype.
Question
Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.
Question
Entity subtypes do not inherit the relationships in which the supertype entity participates.
Question
The property of subtype discriminator enables an entity supertype to inherit the attributes and relationships of the subtype.
Question
To model time-variant data, you must create a new entity in a M:N relationship with the original entity.
Question
Some designs use redundant relationships as a way to simplify the design.
Question
Implementing non-overlapping subtypes requires the use of one discriminator attribute for each subtype.
Question
One important inheritance characteristic is that all entity subtypes inherit their primary key attribute from their supertype.
Question
The entity supertype contains the common characteristics and the entity subtypes contain the unique characteristics of each entity subtype.
Question
Within a specialization hierarchy, a supertype can exist only within the context of a subtype.
Question
In specialization hierarchies with multiple levels of supertype/subtypes, a lower-level supertype inherits all of the attributes and relationships from all of its upper-level subtypes.
Question
The relationships depicted within the specialization hierarchy are sometimes described in terms of "is-a" relationships.
Question
A design trap occurs when a relationship is improperly or incompletely identified and is therefore represented in a way that is not consistent with the real world.
Question
Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.
Question
At the implementation level, the supertype and its subtype(s) depicted in the specialization hierarchy maintain a 1:1 relationship.
Question
An entity cluster is a "virtual" entity type used to represent multiple entities and relationships in the ERD.
Question
Generalization is based on grouping unique characteristics and relationships of the subtypes.
Question
Entity supertypes and subtypes are organized in a specialization hierarchy.
Question
The completeness constraint can be partial or total.
Question
Non-overlapping subtypes are subtypes that contain a(n) ____ subset of the supertype entity set.

A) entity
B) subtypes
C) unique
D) nonunique
Question
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed only once in the ____ relationship.

A) 0:1
B) 1:1
C) 1:M
D) M:N
Question
The most important characteristic of an entity is its ____ key, used to uniquely identify each entity instance.

A) primary
B) natural
C) foreign
D) surrogate
Question
The ____ depicts the arrangement of higher-level entity supertypes (parent entities) and lower-level entity subtypes (child entities).

A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Question
The extended entity relationship model (EERM) is sometimes referred to as the ____.

A) entity relationship model
B) enhanced entity relationship model
C) entity clustering relationship model
D) extended entity relationship diagram
Question
Partial completeness is symbolized by ____.

A) a dotted line
B) two dashed lines
C) a circle over a single line
D) a circle over a double line
Question
A ____ key is a real-world, generally accepted identifier used to uniquely identify real-world objects.

A) primary
B) natural
C) foreign
D) surrogate
Question
Overlapping subtypes are subtypes that contain ____ subsets of the supertype entity set.

A) entity
B) subtypes
C) unique
D) nonunique
Question
A specialization hierarchy can have ____ level(s) of supertype/subtype relationships.

A) zero
B) only one
C) one or many
D) many
Question
The property of ____ enables an entity subtype to inherit the attributes and relationships of the supertype.

A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Question
____ is the bottom-up process of identifying a higher-level, more generic entity supertype from lower-level entity subtypes.

A) Specialization
B) Generalization
C) Partial completeness
D) Total completeness
Question
A(n) ____ is the attribute in the supertype entity that determines to which entity subtype each supertype occurrence is related.

A) subtype discriminator
B) inheritance discriminator
C) specialization hierarchy
D) entity supertype
Question
If one exists, a data modeler uses a ____ as the primary key of the entity being modeled.

A) foreign key
B) combination key
C) surrogate key
D) natural identifier
Question
At the implementation level, the supertype and its subtype(s) depicted in the specialization hierarchy maintain a(n) ____ relationship.

A) self-referencing
B) 1:1
C) 1:M
D) M:N
Question
The primary key's main function is to uniquely identify a(n) ____ within a table.

A) attribute
B) entity instance or row
C) entity subtype
D) natural identifier
Question
Within a specialization hierarchy, every subtype can have ____ supertype(s) to which it is directly related.

A) zero
B) only one
C) one or many
D) many
Question
An entity cluster is formed by combining multiple interrelated entities into ____.

A) a single abstract entity object
B) multiple abstract entity objects
C) a single entity object
D) multiple entity objects
Question
The default comparison condition for the subtype discriminator attribute is the ____ comparison.

A) not equality
B) less than
C) greater than
D) equality
Question
____ is a generic entity type that is related to one or more entity subtypes.

A) A subtype discriminator
B) Inheritance
C) A specialization hierarchy
D) An entity supertype
Question
One important inheritance characteristic is that all entity subtypes inherit their ____ key attribute from their supertype.

A) primary
B) natural
C) foreign
D) surrogate
Question
Subtypes that contain nonunique subsets of the supertype entity set are known as ____________________ subtypes.
Question
____________________ completeness means that not every supertype occurrence is a member of a subtype.
Question
Surrogate primary keys are especially helpful when there is no ____ key.

A) primary
B) natural
C) foreign
D) composite
Question
Usually, a data modeler uses a natural identifier as the ____________________ of the entity being modeled, assuming that the entity has a natural identifier.
Question
The preferred placement for a foreign key when working with a 1:1 relationship is to ____.

A) use the same primary key for both entities
B) create a bridge entity
C) place a foreign key in one of the entities
D) place a foreign key in both entities
Question
____________________ completeness means that every supertype occurrence must be a member of at least one subtype.
Question
The "____" characteristic of a primary key states the following: The PK must uniquely identify each entity instance. A primary key must be able to guarantee unique values. It cannot contain nulls.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security complaint
Question
The "____" characteristic of a primary key states the following: The PK should not have embedded semantic meaning. An attribute with embedded semantic meaning is probably better used as a descriptive characteristic of the entity rather than as an identifier.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security compliant
Question
The "____" characteristic of a primary key states the following: The selected primary key must not be composed of any attribute(s) that might be considered a security risk or violation. For example, using a Social Security number as a PK in an EMPLOYEE table is not a good idea.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
Question
____ keys work with primary keys to properly implement relationships in the relational model.

A) Foreign
B) Composite
C) Natural
D) Surrogate
Question
The ____________________ constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype.
Question
Specialization is based on grouping ____________________ characteristics and relationships of the subtypes.
Question
The ____________________ is the result of adding more semantic constructs to the original entity relationship (ER) model.
Question
A ____ occurs when you have one entity in two 1:M relationships to other entities, thus producing an association among the other entities that is not expressed in the model.

A) surrogate primary keys
B) time-variant data
C) design trap
D) fan trap
Question
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed ____________________ in the M:N relationship.
Question
An entity cluster is considered "virtual" or "____________________" in the sense that it is not actually an entity in the final ERD.
Question
Disjoint subtypes are also known as ____________________ subtypes.
Question
When selecting a foreign key placement for a 1:1 relationship, place the PK of the entity on the mandatory side in the entity on the optional side as a FK, and make the FK mandatory when ____.

A) one side is mandatory and the other side is optional
B) one side participates in another relationship
C) both sides are optional
D) both sides are mandatory
Question
____ relationships occur when there are multiple relationship paths between related entities.

A) Redundant
B) Duplicated
C) Time-variant
D) Supertype
Question
____ data refer to data whose values change over time and for which you must keep a history of the data changes.

A) Time-sensitive
B) Time-variant
C) Historical
D) Change-based
Question
The most common design trap is known as a(n) ____________________.
Question
In what two cases are composite primary keys particularly useful?
Question
Describe specialization and generalization.
Question
If you use a surrogate key, you must ensure that the candidate key of the entity in question performs properly through the use of the "____________________" and "not null" constraints.
Question
Composite keys are useful as identifiers of weak entities, where the weak entity has a strong ____________________ relationship with the parent entity.
Question
Explain the "no change over time" characteristic of a good primary key.
Question
What is an entity cluster?
Question
What do specialization hierarchies do?
Question
From a data modeling point of view, ____________________ data refer to data whose values change over time and for which you must keep a history of the data changes.
Question
The main concern with redundant relationships is that they remain ____________________ across the model.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/70
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 8: Data Modeling Advanced Concepts
1
An entity supertype can have disjoint or overlapping entity subtypes.
True
2
Specialization is the top-down process of identifying lower-level, more specific entity subtypes from a higher-level entity supertype.
True
3
Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.
False
4
Entity subtypes do not inherit the relationships in which the supertype entity participates.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
5
The property of subtype discriminator enables an entity supertype to inherit the attributes and relationships of the subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
6
To model time-variant data, you must create a new entity in a M:N relationship with the original entity.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
7
Some designs use redundant relationships as a way to simplify the design.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
8
Implementing non-overlapping subtypes requires the use of one discriminator attribute for each subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
9
One important inheritance characteristic is that all entity subtypes inherit their primary key attribute from their supertype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
10
The entity supertype contains the common characteristics and the entity subtypes contain the unique characteristics of each entity subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
11
Within a specialization hierarchy, a supertype can exist only within the context of a subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
12
In specialization hierarchies with multiple levels of supertype/subtypes, a lower-level supertype inherits all of the attributes and relationships from all of its upper-level subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
13
The relationships depicted within the specialization hierarchy are sometimes described in terms of "is-a" relationships.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
14
A design trap occurs when a relationship is improperly or incompletely identified and is therefore represented in a way that is not consistent with the real world.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
15
Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
16
At the implementation level, the supertype and its subtype(s) depicted in the specialization hierarchy maintain a 1:1 relationship.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
17
An entity cluster is a "virtual" entity type used to represent multiple entities and relationships in the ERD.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
18
Generalization is based on grouping unique characteristics and relationships of the subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
19
Entity supertypes and subtypes are organized in a specialization hierarchy.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
20
The completeness constraint can be partial or total.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
21
Non-overlapping subtypes are subtypes that contain a(n) ____ subset of the supertype entity set.

A) entity
B) subtypes
C) unique
D) nonunique
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
22
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed only once in the ____ relationship.

A) 0:1
B) 1:1
C) 1:M
D) M:N
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
23
The most important characteristic of an entity is its ____ key, used to uniquely identify each entity instance.

A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
24
The ____ depicts the arrangement of higher-level entity supertypes (parent entities) and lower-level entity subtypes (child entities).

A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
25
The extended entity relationship model (EERM) is sometimes referred to as the ____.

A) entity relationship model
B) enhanced entity relationship model
C) entity clustering relationship model
D) extended entity relationship diagram
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
26
Partial completeness is symbolized by ____.

A) a dotted line
B) two dashed lines
C) a circle over a single line
D) a circle over a double line
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
27
A ____ key is a real-world, generally accepted identifier used to uniquely identify real-world objects.

A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
28
Overlapping subtypes are subtypes that contain ____ subsets of the supertype entity set.

A) entity
B) subtypes
C) unique
D) nonunique
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
29
A specialization hierarchy can have ____ level(s) of supertype/subtype relationships.

A) zero
B) only one
C) one or many
D) many
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
30
The property of ____ enables an entity subtype to inherit the attributes and relationships of the supertype.

A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
31
____ is the bottom-up process of identifying a higher-level, more generic entity supertype from lower-level entity subtypes.

A) Specialization
B) Generalization
C) Partial completeness
D) Total completeness
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
32
A(n) ____ is the attribute in the supertype entity that determines to which entity subtype each supertype occurrence is related.

A) subtype discriminator
B) inheritance discriminator
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
33
If one exists, a data modeler uses a ____ as the primary key of the entity being modeled.

A) foreign key
B) combination key
C) surrogate key
D) natural identifier
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
34
At the implementation level, the supertype and its subtype(s) depicted in the specialization hierarchy maintain a(n) ____ relationship.

A) self-referencing
B) 1:1
C) 1:M
D) M:N
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
35
The primary key's main function is to uniquely identify a(n) ____ within a table.

A) attribute
B) entity instance or row
C) entity subtype
D) natural identifier
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
36
Within a specialization hierarchy, every subtype can have ____ supertype(s) to which it is directly related.

A) zero
B) only one
C) one or many
D) many
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
37
An entity cluster is formed by combining multiple interrelated entities into ____.

A) a single abstract entity object
B) multiple abstract entity objects
C) a single entity object
D) multiple entity objects
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
38
The default comparison condition for the subtype discriminator attribute is the ____ comparison.

A) not equality
B) less than
C) greater than
D) equality
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
39
____ is a generic entity type that is related to one or more entity subtypes.

A) A subtype discriminator
B) Inheritance
C) A specialization hierarchy
D) An entity supertype
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
40
One important inheritance characteristic is that all entity subtypes inherit their ____ key attribute from their supertype.

A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
41
Subtypes that contain nonunique subsets of the supertype entity set are known as ____________________ subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
42
____________________ completeness means that not every supertype occurrence is a member of a subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
43
Surrogate primary keys are especially helpful when there is no ____ key.

A) primary
B) natural
C) foreign
D) composite
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
44
Usually, a data modeler uses a natural identifier as the ____________________ of the entity being modeled, assuming that the entity has a natural identifier.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
45
The preferred placement for a foreign key when working with a 1:1 relationship is to ____.

A) use the same primary key for both entities
B) create a bridge entity
C) place a foreign key in one of the entities
D) place a foreign key in both entities
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
46
____________________ completeness means that every supertype occurrence must be a member of at least one subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
47
The "____" characteristic of a primary key states the following: The PK must uniquely identify each entity instance. A primary key must be able to guarantee unique values. It cannot contain nulls.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security complaint
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
48
The "____" characteristic of a primary key states the following: The PK should not have embedded semantic meaning. An attribute with embedded semantic meaning is probably better used as a descriptive characteristic of the entity rather than as an identifier.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security compliant
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
49
The "____" characteristic of a primary key states the following: The selected primary key must not be composed of any attribute(s) that might be considered a security risk or violation. For example, using a Social Security number as a PK in an EMPLOYEE table is not a good idea.

A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
50
____ keys work with primary keys to properly implement relationships in the relational model.

A) Foreign
B) Composite
C) Natural
D) Surrogate
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
51
The ____________________ constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
52
Specialization is based on grouping ____________________ characteristics and relationships of the subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
53
The ____________________ is the result of adding more semantic constructs to the original entity relationship (ER) model.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
54
A ____ occurs when you have one entity in two 1:M relationships to other entities, thus producing an association among the other entities that is not expressed in the model.

A) surrogate primary keys
B) time-variant data
C) design trap
D) fan trap
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
55
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed ____________________ in the M:N relationship.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
56
An entity cluster is considered "virtual" or "____________________" in the sense that it is not actually an entity in the final ERD.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
57
Disjoint subtypes are also known as ____________________ subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
58
When selecting a foreign key placement for a 1:1 relationship, place the PK of the entity on the mandatory side in the entity on the optional side as a FK, and make the FK mandatory when ____.

A) one side is mandatory and the other side is optional
B) one side participates in another relationship
C) both sides are optional
D) both sides are mandatory
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
59
____ relationships occur when there are multiple relationship paths between related entities.

A) Redundant
B) Duplicated
C) Time-variant
D) Supertype
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
60
____ data refer to data whose values change over time and for which you must keep a history of the data changes.

A) Time-sensitive
B) Time-variant
C) Historical
D) Change-based
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
61
The most common design trap is known as a(n) ____________________.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
62
In what two cases are composite primary keys particularly useful?
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
63
Describe specialization and generalization.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
64
If you use a surrogate key, you must ensure that the candidate key of the entity in question performs properly through the use of the "____________________" and "not null" constraints.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
65
Composite keys are useful as identifiers of weak entities, where the weak entity has a strong ____________________ relationship with the parent entity.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
66
Explain the "no change over time" characteristic of a good primary key.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
67
What is an entity cluster?
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
68
What do specialization hierarchies do?
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
69
From a data modeling point of view, ____________________ data refer to data whose values change over time and for which you must keep a history of the data changes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
70
The main concern with redundant relationships is that they remain ____________________ across the model.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 70 flashcards in this deck.