DBMS CH06 – Flashcards

Unlock all answers in this set

Unlock answers
question
The binary constraint MUST NOT indicates that ________.
answer
a binary relationship includes value combinations that must not occur in a ternary relationship
question
When transforming an ID-dependent E-R data model relationship into a relational database design and the child entity is designed to use a surrogate key, then ________.
answer
the relationship changes to a non-ID-dependent relationship
question
In relational database design, ID-dependent entities are used to ________.
answer
handle associative relationships handle multivalued attributes represent N:M relationships handle archetype/instance relationships
question
Which of the following is not a step in the database design process?
answer
Create constraints and triggers
question
The binary constraint MUST COVER indicates that ________.
answer
a binary relationship includes a set of value combinations that must all occur in a ternary relationship
question
The ideal primary key is ________.
answer
numeric short fixed
question
To represent a one-to-many relationship in a relational database design ________.
answer
the key of the parent is placed as a foreign key into the child
question
The first step in transforming an extended E-R model into a relational database design is to ________.
answer
create a table for each entity
question
Each attribute of an entity becomes a(n) ________ of a table.
answer
column
question
Which of the following is not true of ternary relationships?
answer
Must involve at least one M:N relationship
question
A referential integrity constraint policy that insures that all rows containing a particular foreign key value in a table are eliminated from the table when the row containing the corresponding primary key value in a parent table is eliminated from the database is called ________.
answer
cascading deletes
question
Which of the following is not true about surrogate keys?
answer
They are nonunique within a table.
question
To which of the following actions are referential integrity constraints not applied?
answer
create
question
In a supertype-subtype structure, discriminator attributes ________.
answer
cannot be represented in a relational design require application logic to determine which subtypes correspond to a specific supertype instance
question
When representing a one-to-many relationship in a relational database design ________.
answer
the parent is always on the one side of the 'one-to-many' relationship
question
Which of the following is not true of recursive relationships?
answer
Even when the relationship is 1:N, a new table must be defined to represent the relationship.
question
Which of the following is not true about representing subtypes in a relational database design?
answer
All of the attributes of the supertype are added to the subtype relations.
question
One of the important properties of a column is whether or not it is ________.
answer
required
question
When transforming an ID-dependent E-R data model relationship into a relational database design, the referential integrity constraints should allow ________.
answer
parent updates to cascade
question
The identifier of the entity becomes the ________ of the corresponding table.
answer
primary key
question
A surrogate key should be considered when ________.
answer
the key contains a lengthy text field
question
When transforming an E-R data model into a relational database design, the key of the parent entity should be placed as part of the primary key into the child entity ________.
answer
when the child entity is ID-dependent
question
When transforming an ID-dependent E-R data model relationship into a relational database design and the parent entity has a surrogate primary key and the child entity has a data identifier, then the primary key of the child table should be ________.
answer
the parent's surrogate key + the child's data key the parent's surrogate key + a surrogate key in the child
question
Many-to-many relationships are represented by ________.
answer
an intersection table which has 1:N relationships with the two tables
question
A referential integrity constraint policy that guarantees that a row in a parent table always has a required entry in a child table ________.
answer
is known as a minimum cardinality enforcement action needs to be documented by the database development team
question
In many-to-many relationships in a relational database design ________.
answer
the keys of both tables are placed in a third table the keys of both tables are joined into a composite key
question
In a relational database design, all relationships are expressed by ________.
answer
creating a foreign key
question
When representing a 1:1 relationship in a relational database design ________.
answer
the key of either table may be placed as a foreign key into the other
question
A referential integrity constraint policy that insures that foreign key values in a table are correctly maintained when there is a change to the primary key value in the parent table is called ________.
answer
cascading updates
question
In many-to-many relationships in a relational database design ________.
answer
the intersection table is ID-dependent on both of the parents the minimum cardinality from the intersection table to the parents is always 1
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New