Database Chapter 5 Quiz

25 July 2022
4.7 (114 reviews)
25 test answers

Unlock all answers in this set

Unlock answers (21)
question
A _____ is a primary key created by a database designer to simplify the identification of entity instances.
answer
surrogate key
question
A _____ key is a real-world, generally accepted identifier used to uniquely identify real-world objects.
answer
natural
question
A primary key's main function is to uniquely identify a(n) _____ within a table.
answer
entity instance or row
question
A specialization hierarchy can have _____ level(s) of supertype/subtype relationships.
answer
many
question
A total completeness constraint is represented by _____.
answer
a double horizontal line under a circle
question
According to the "preferably single-attribute" characteristic of a primary key, the primary key:
answer
should have the minimum number of attributes possible.
question
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed only once in the _____ relationship.
answer
M:N
question
If one exists, a data modeler uses a _____ as the primary key of the entity being modeled.
answer
natural identifier
question
In the context of total completeness, in a(n) _____, every supertype occurrence is a member of only one subtype.
answer
disjoint constraint
question
In the context of total completeness, in a(n) _____, every supertype occurrence is a member of at least one subtype.
answer
overlapping constraint
question
Nonoverlapping subtypes are subtypes that contain a(n) _____ subset of the supertype entity set.
answer
unique
question
One important inheritance characteristic is that all entity subtypes inherit their _____ key attribute from their supertype.
answer
primary
question
Surrogate primary keys are especially helpful when there is no _____ key.
answer
natural
question
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.
answer
unique values
question
The _____ depicts the arrangement of higher-level entity supertypes (parent entities) and lower-level entity subtypes (child entities).
answer
specialization hierarchy
question
The "_____" characteristic of a primary key states that the primary key should not have embedded semantic meaning.
answer
nonintelligent
question
The extended entity relationship model (EERM) is sometimes referred to as the _____.
answer
enhanced entity relationship model
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 violation.
answer
security-compliant
question
The most important characteristic of an entity is its _____ key, used to uniquely identify each entity instance.
answer
primary
question
The preferred placement for a foreign key when working with a 1:1 relationship is to _____.
answer
place the foreign key in one of the entities
question
The property of _____ enables an entity subtype to inherit the attributes and relationships of the supertype.
answer
inheritance
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 _____.
answer
one side is mandatory and the other side is optional
question
Within a specialization hierarchy, every subtype can have _____ supertype(s) to which it is directly related.
answer
only one
question
_____ keys work with primary keys to properly implement relationships in the relational model.
answer
Foreign
question
_____ relationships occur when there are multiple relationship paths between related entities.
answer
Redundant