Deck 5: Advanced Data Modeling

Full screen (f)
exit full mode
Question
Within a specialization hierarchy,a supertype can exist only within the context of a subtype.
Use Space or
up arrow
down arrow
to flip the card.
Question
To model time-variant data,you must create a new entity in a M:N relationship with the original entity.
Question
The entity supertype contains the common characteristics and the entity subtypes contain the unique characteristics of each entity subtype.
Question
Some designs use redundant relationships as a way to simplify the design.
Question
Entity supertypes and subtypes are organized in a specialization hierarchy.
Question
One important inheritance characteristic is that all entity subtypes inherit their primary key attribute from their supertype.
Question
The relationships depicted within the specialization hierarchy are sometimes described in terms of "is-a" relationships.
Question
Entity subtypes do not inherit the relationships in which the supertype entity participates.
Question
Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.
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
Generalization is based on grouping unique characteristics and relationships of the subtypes.
Question
An entity supertype can have disjoint or overlapping entity subtypes.
Question
An entity cluster is a "virtual" entity type used to represent multiple entities and relationships in the ERD.
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
Implementing non-overlapping subtypes requires the use of one discriminator attribute for each 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 property of subtype discriminator enables an entity supertype to inherit the attributes and relationships of the subtype.
Question
At the implementation level,the supertype and its subtype(s)depicted in the specialization hierarchy maintain a 1:1 relationship.
Question
The completeness constraint can be partial or total.
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
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
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
At the implementation level,the supertype and its subtype(s)depicted in the specialization hierarchy maintain a ____ relationship.

A) self-referencing
B) 1:1
C) 1:M
D) M:N
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
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
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
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
Overlapping subtypes are subtypes that contain ____ subsets of the supertype entity set.

A) entity
B) subtypes
C) unique
D) nonunique
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
____ 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
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
An entity cluster is formed by combining multiple interrelated entities into ____.

A) a single abstract entity object
B) multiple abstract entity object
C) a single entity object
D) multiple entity objects
Question
A specialization hierarchy can have ____ level(s)of supertype/subtype relationships.

A) zero
B) only one
C) one or many
D) many
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
The relationships depicted within the ____ are sometimes described in terms of "is-a" relationships.

A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
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
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
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
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
____ keys work with primary keys to properly implement relationships in the relational model.

A) Foreign
B) Composite
C) Natural
D) Surrogate
Question
The "____" characteristic of a primary key states that:
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
Surrogate primary keys are especially helpful when there is no ____ key.

A) primary
B) natural
C) foreign
D) composite
Question
____ relationships occur when there are multiple relationship paths between related entities.

A) Redundant
B) Duplicated
C) Time-variant
D) Supertype
Question
The "____" characteristic of a primary key states that:
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
____ 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
____________________ completeness means that every supertype occurrence must be a member of at least one subtype.
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 "____" characteristic of a primary key states that:
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
Subtypes that contain nonunique subsets of the supertype entity set are known as ____________________ .
Question
An entity cluster is considered "virtual" or "____________________" in the sense that it is not actually an entity in the final ERD.
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
The ____________________ constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype.
Question
The _____________________________________________ is the result of adding more semantic constructs to the original entity relationship (ER)model.
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
Disjoint subtypes are also known as ____________________ subtypes.
Question
____________________ completeness means that not every supertype occurrence is a member of a subtype.
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
Specialization is based on grouping ____________________ characteristics and relationships of the subtypes.
Question
Describe specialization and generalization.
Question
The main concern with redundant relationships is that they remain ____________________ across the model.
Question
What is an entity cluster?
Question
The most common design trap is known as a(n)____________________.
Question
From a data modeling point of view,____________________ refer to data whose values change over time and for which you must keep a history of the data changes.
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 "____________________" and "not null" constraints.
Question
Explain the "no change over time" characteristic of a good primary key.
Question
In what two cases are composite primary keys particularly useful?
Question
Composite keys are useful as identifiers of weak entities,where the weak entity has a strong ____________________ relationship with the parent entity.
Question
What do specialization hierarchies do?
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 5: Advanced Data Modeling
1
Within a specialization hierarchy,a supertype can exist only within the context of a subtype.
False
2
To model time-variant data,you must create a new entity in a M:N relationship with the original entity.
False
3
The entity supertype contains the common characteristics and the entity subtypes contain the unique characteristics of each entity subtype.
True
4
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
5
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
6
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
7
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
8
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
9
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
10
Specialization is the top-down process of identifying lower-level,more specific entity subtypes from a higher-level entity supertype.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
11
Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
12
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
13
An entity supertype can have disjoint or overlapping entity subtypes.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
14
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
15
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
16
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
17
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
18
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
19
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
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
____ 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
22
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
23
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
24
At the implementation level,the supertype and its subtype(s)depicted in the specialization hierarchy maintain a ____ 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
25
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
26
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
27
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
28
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
29
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
30
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
31
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
32
____ 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
33
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
34
An entity cluster is formed by combining multiple interrelated entities into ____.

A) a single abstract entity object
B) multiple abstract entity object
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
35
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
36
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
37
The relationships depicted within the ____ are sometimes described in terms of "is-a" relationships.

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
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
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
40
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
41
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
42
____ 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
43
The "____" characteristic of a primary key states that:
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
44
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
45
____ 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
46
The "____" characteristic of a primary key states that:
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
47
____ 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
48
____________________ 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
49
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
50
The "____" characteristic of a primary key states that:
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
51
Subtypes that contain nonunique subsets of the supertype entity set are known as ____________________ .
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
52
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
53
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
54
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
55
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
56
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
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
____________________ 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
59
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
60
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
61
Describe specialization and generalization.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
62
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
63
What is an entity cluster?
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
64
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
65
From a data modeling point of view,____________________ 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
66
If you use a surrogate key,you must ensure that the candidate key of the entity in question performs properly through the use of "____________________" and "not null" constraints.
Unlock Deck
Unlock for access to all 70 flashcards in this deck.
Unlock Deck
k this deck
67
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
68
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
69
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
70
What do specialization hierarchies do?
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.