Deck 5: Advanced Data Modeling
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/75
Play
Full screen (f)
Deck 5: Advanced Data Modeling
1
Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.
False
2
One important inheritance characteristic is that all entity subtypes inherit their primary key attribute from their supertype.
True
3
The property of a subtype discriminator enables an entity supertype to inherit the attributes and relationships of the subtype.
False
4
In specialization hierarchies with multiple levels of supertype and subtypes, a lower-level subtype can inherit only a few of the attributes and relationships from its upper-level supertypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
5
Implementing overlapping subtypes requires the use of one discriminator attribute for each subtype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
6
Entity subtypes do not inherit the relationships in which the supertype entity participates.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
7
An entity supertype can have disjoint or overlapping entity subtypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
8
The relationships depicted within the specialization hierarchy are sometimes described in terms of "is-a" relationships.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
9
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 75 flashcards in this deck.
Unlock Deck
k this deck
10
A subtype contains attributes that are common to all of its supertypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
11
The function of the primary key is to describe an entity.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
12
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 75 flashcards in this deck.
Unlock Deck
k this deck
13
Entity supertypes and subtypes are organized in a specialization hierarchy.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
14
Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
15
The entity supertype contains common characteristics, and the entity subtypes each contain their own unique characteristics.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
16
Within a specialization hierarchy, a supertype can exist only within the context of a subtype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
17
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 75 flashcards in this deck.
Unlock Deck
k this deck
18
To model time-variant data, one must create a new entity in an M:N relationship with the original entity.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
19
The completeness constraint can be partial or total.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
20
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 75 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following is a specialization hierarchy disjoint constraint scenario in case of partial completeness?
A) Subtype discriminator can be null.
B) Subtype discriminator cannot be null.
C) Each supertype occurrence is a member of only one subtype.
D) Each supertype occurrence is a member of at least one subtype.
A) Subtype discriminator can be null.
B) Subtype discriminator cannot be null.
C) Each supertype occurrence is a member of only one subtype.
D) Each supertype occurrence is a member of at least one subtype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
22
One important inheritance characteristic is that all entity subtypes inherit their _____ key attribute from their supertype.
A) primary
B) natural
C) foreign
D) surrogate
A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
23
In the context of total completeness, in a(n) _____, every supertype occurrence is a member of at least one subtype.
A) unique constraint
B) disjoint constraint
C) overlapping constraint
D) foreign key constraint
A) unique constraint
B) disjoint constraint
C) overlapping constraint
D) foreign key constraint
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
24
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
A) zero
B) only one
C) one or many
D) many
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
25
A specialization hierarchy can have _____ level(s) of supertype/subtype relationships.
A) zero
B) only one
C) one or many
D) many
A) zero
B) only one
C) one or many
D) many
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
26
Nonoverlapping subtypes are subtypes that contain a(n) _____ subset of the supertype entity set.
A) entity
B) subtypes
C) unique
D) nonunique
A) entity
B) subtypes
C) unique
D) nonunique
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
27
At the implementation level, the supertype and its subtype(s) depicted in a specialization hierarchy maintain a(n) _____ relationship.
A) self-referencing
B) 1:1
C) 1:M
D) M:N
A) self-referencing
B) 1:1
C) 1:M
D) M:N
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
28
Overlapping subtypes are subtypes that contain _____ subsets of the supertype entity set.
A) null
B) exclusive
C) solitary
D) nonunique
A) null
B) exclusive
C) solitary
D) nonunique
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
29
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
A) subtype discriminator
B) inheritance discriminator
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
30
The default comparison condition for the subtype discriminator attribute is the _____ comparison.
A) nonequality
B) less than
C) greater than
D) equality
A) nonequality
B) less than
C) greater than
D) equality
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
31
A partial completeness constraint is represented by _____.
A) a dotted line
B) two dashed lines
C) a single horizontal line under a circle
D) a double horizontal line over a circle
A) a dotted line
B) two dashed lines
C) a single horizontal line under a circle
D) a double horizontal line over a circle
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
32
The purpose of an entity_____ is to simplify an entity-relationship diagram (ERD) and thus enhance its readability.
A) constraint
B) cluster
C) interface
D) discriminator
A) constraint
B) cluster
C) interface
D) discriminator
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
33
A(n)_____ is a generic entity type that is related to one or more entity subtypes.
A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
34
In the context of total completeness, in a(n) _____, every supertype occurrence is a member of only one subtype.
A) foreign key constraint
B) nonunique constraint
C) overlapping constraint
D) disjoint constraint
A) foreign key constraint
B) nonunique constraint
C) overlapping constraint
D) disjoint constraint
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
35
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
A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
36
The extended entity relationship model (EERM) is sometimes referred to as the _____.
A) enclosed entity relationship model
B) enhanced entity relationship model
C) entity clustering relationship model
D) extended entity relationship diagram
A) enclosed 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 75 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following is a specialization hierarchy overlapping constraint scenario in case of partial completeness?
A) Subtype sets are unique.
B) Supertype has optional subtypes.
C) Subtype discriminators cannot be null.
D) Subtype does not have a supertype.
A) Subtype sets are unique.
B) Supertype has optional subtypes.
C) Subtype discriminators cannot be null.
D) Subtype does not have a supertype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
38
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
A) subtype discriminator
B) inheritance
C) specialization hierarchy
D) entity supertype
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
39
A total completeness constraint is represented by a _____.
A) smaller circle inside a bigger circle
B) rhombus inside a circle
C) double horizontal line under a circle
D) single horizontal line above a circle
A) smaller circle inside a bigger circle
B) rhombus inside a circle
C) double horizontal line under a circle
D) single horizontal line above a circle
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
40
_____ is the bottom-up process of identifying a higher-level, more generic entity supertype from lower-level entity subtypes.
A) Specialization
B) Generalization
C) Normalization
D) Total completeness
A) Specialization
B) Generalization
C) Normalization
D) Total completeness
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
41
_____ completeness means that not every supertype occurrence is a member of a subtype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
42
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
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 75 flashcards in this deck.
Unlock Deck
k this deck
43
The _____ is the result of adding more semantic constructs to the original entity relationship (ER) model.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
44
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 violation.
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
45
A _____ key is a real-world, generally accepted identifier used to uniquely identify real-world objects.
A) primary
B) natural
C) foreign
D) surrogate
A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
46
Specialization is based on grouping _____ characteristics and relationships of the subtypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
47
Unique values can be better managed when they are _____, because the database can use internal routines to implement a counter-style attribute that automatically increments values with the addition of each new row.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
48
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 75 flashcards in this deck.
Unlock Deck
k this deck
49
The "_____" characteristic of a primary key states that the primary key should not have embedded semantic meaning.
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-compliant
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
50
The "_____" characteristic of a primary key states that the primary key must uniquely identify each entity instance, must be able to guarantee unique values, and must not contain nulls.
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-complaint
A) unique values
B) nonintelligent
C) preferably single-attribute
D) security-complaint
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
51
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
A) foreign key
B) combination key
C) surrogate key
D) natural identifier
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
52
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 75 flashcards in this deck.
Unlock Deck
k this deck
53
A _____ is a primary key created by a database designer to simplify the identification of entity instances.
A) composite key
B) compound key
C) natural key
D) surrogate key
A) composite key
B) compound key
C) natural key
D) surrogate key
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
54
The _____ specifies whether each entity supertype occurrence must also be a member of at least one subtype.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
55
According to the "preferably single-attribute" characteristic of a primary key, the primary key:
A) must be able to guarantee unique attribute values.
B) should have the minimum number of attributes possible.
C) should have embedded semantic meaning associated with each attribute.
D) must be composed of attributes that are free from security risks or violations.
A) must be able to guarantee unique attribute values.
B) should have the minimum number of attributes possible.
C) should have embedded semantic meaning associated with each attribute.
D) must be composed of attributes that are free from security risks or violations.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
56
Subtypes that contain nonunique subsets of the supertype entity set are known as _____ subtypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
57
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
A) primary
B) natural
C) foreign
D) surrogate
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
58
_____ completeness means that every supertype occurrence must be a member of at least one subtype.
Unlock Deck
Unlock for access to all 75 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
A) 0:1
B) 1:1
C) 1:M
D) M:N
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
60
Disjoint subtypes are also known as _____ subtypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
61
Explain the two criteria that help a designer in determining when to use subtypes and supertypes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
62
A(n) _____ 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.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
63
A weak entity in a strong identifying relationship with a parent entity is normally used to represent a(n) _____ that is represented in the data model as two separate entities.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
64
From a data modeling point of view, _____ data refer to data whose values change over time and for which one must keep a history of the data changes.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
65
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 75 flashcards in this deck.
Unlock Deck
k this deck
66
A(n) _____ 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 75 flashcards in this deck.
Unlock Deck
k this deck
67
In which two cases are composite primary keys particularly useful?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
68
While using a surrogate key, one 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 75 flashcards in this deck.
Unlock Deck
k this deck
69
_____ keys work with primary keys to properly implement relationships in the relational model.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
70
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 75 flashcards in this deck.
Unlock Deck
k this deck
71
Differentiate between specialization and generalization.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
72
The main concern with redundant relationships is that they remain _____ across the model.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
73
One practical advantage of a(n) _____ key is that because it has no intrinsic meaning, values for it can be generated by the DBMS to ensure that unique values are always provided.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
74
Explain the "no change over time" characteristic of a primary key.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
75
What do specialization hierarchies do?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck