Filters
Question type

Study Flashcards

To represent a one-to-many relationship in a relational database design ________.


A) the key of the child is placed as a foreign key into the parent
B) the key of the parent is placed as a foreign key into the child
C) an intersection table must be created
D) the key of the table on the "many" side is placed in the table on the "one" side
E) the keys of both tables are joined into a composite key

Correct Answer

verifed

verified

To represent a 1:1 binary relationship in a relational database design,the key of one table is placed into the second table.

Correct Answer

verifed

verified

The design transformation for all IS-A relationships can be summarized by the phrase "place the key of the parent table in the child table."

Correct Answer

verifed

verified

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 ________.


A) the parent's surrogate key + the child's data key
B) the parent's surrogate key + a surrogate key in the child
C) either A or B will work,and neither way is preferable
D) either A or B will work,and method A is preferable
E) either A or B will work,but method B is preferable

Correct Answer

verifed

verified

When representing a 1:1 relationship in a relational database design ________.


A) the key of each table must be placed as foreign keys into the other
B) the key of either table may be placed as a foreign key into the other
C) the key of both tables must be the same
D) the intersection table gets the key from both relations
E) B and C

Correct Answer

verifed

verified

What are the four sets of minimum cardinalities that can be present in a 1:N binary relationship?

Correct Answer

verifed

verified

If we use the labels parent and child to...

View Answer

One of the important properties of an attribute is whether or not it is required.

Correct Answer

verifed

verified

When the parent entity is required (M)in a relationship,every row of the child table must have a valid,non-null value of the foreign key.

Correct Answer

verifed

verified

To which of the following actions are referential integrity constraints not applied?


A) create
B) insert
C) modify
D) delete
E) referential integrity constraints are applied to all of the listed actions

Correct Answer

verifed

verified

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 ________.


A) when the child entity is ID-dependent
B) when the child entity is non-ID-dependent
C) when the child entity has a 1:1 relationship with the parent entity
D) when the child entity has a 1:N relationship with the parent entity
E) when the child entity has a recursive relationship with the parent entity

Correct Answer

verifed

verified

To represent a 1:N relationship in a relational database design,an intersection table is created.

Correct Answer

verifed

verified

Each entity in the extended E-R model is represented as a table in the relational database design.

Correct Answer

verifed

verified

Explain the representation of a many-to-many strong entity relationship in a relational database design.

Correct Answer

verifed

verified

Many-to-many relationships cannot be dir...

View Answer

When the parent entity has a surrogate key,the enforcement actions are the same for both parent and child.

Correct Answer

verifed

verified

False

A surrogate key is a unique,system-supplied identifier used as the primary key of a table.

Correct Answer

verifed

verified

Each attribute of an entity becomes a(n) ________ of a table.


A) column
B) primary key
C) foreign key
D) alternate key
E) B or D

Correct Answer

verifed

verified

To represent an M:N relationship in a relational database design,a table is created to represent the relationship itself.

Correct Answer

verifed

verified

In many-to-many relationships in a relational database design the primary keys of both tables are joined into a composite primary key in the intersection table.

Correct Answer

verifed

verified

In a relational database design,all relationships are expressed by ________.


A) creating a primary key
B) creating a foreign key
C) creating a supertype
D) creating a subtype
E) creating a line between entities

Correct Answer

verifed

verified

B

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 cascading changes.

Correct Answer

verifed

verified

False

Showing 1 - 20 of 103

Related Exams

Show Answer