jereznel
Quiz by , created more than 1 year ago

1 ITD 256 Quiz on Study Guide Chapter 5 & 6, created by jereznel on 09/06/2016.

101
1
0
jereznel
Created by jereznel almost 8 years ago
Close

Study Guide Chapter 5 & 6

Question 1 of 37

1

A circle across the relationship line near an entity indicates ________.

Select one of the following:

  • a maximum cardinality of "zero"

  • a maximum cardinality of "one"

  • a minimum cardinality of "optional"

  • a minimum cardinality of "required"

Explanation

Question 2 of 37

1

 A composite attribute is an attribute that ________.

Select one of the following:

  • Describes a characteristic of the relationship

  • Is Multivalued

  • Consists of a group of attributes

  • Is calculated at run-time

Explanation

Question 3 of 37

1

A for­-use­-by pattern must involve what kind of entity?

Select one of the following:

  • Weak entity with one identifying relationship

  • Strong entity

  • Supertype entity

  • Weak entity with two identifying relationships

Explanation

Question 4 of 37

1

A hash mark across the relationship line near an entity indicates ________.

Select one of the following:

  • A maximum cardinality of "zero"

  • A maximum cardinality of "one"

  • A minimum cardinality of "optional"

  • A minimum cardinality of "required"

Explanation

Question 5 of 37

1

 A line­-item pattern must involve what kind of entity?

Select one of the following:

  • Weak entity with one identifying relationship

  • Weak entity with two identifying relationships

  • Supertype entity

  • Strong entity

Explanation

Question 6 of 37

1

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

Select one of the following:

  • Incremental updates

  • Incremental deletes

  • Cascading deletes

  • Cascading updates

Explanation

Question 7 of 37

1

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

Select one of the following:

  • Cascading updates

  • Cascading deletes

  • Incremental updates

  • Incremental deletes

Explanation

Question 8 of 37

1

A surrogate key should be considered when ________.

Select one of the following:

  • A relationship is N:M

  • A composite key is required

  • The key contains a lengthy text field

  • The key contains a number

Explanation

Question 9 of 37

1

An attribute that determines which subtype should be used is a(n) ________.

Select one of the following:

  • Supertype

  • Subtype

  • Identifier

  • Discriminator

Explanation

Question 10 of 37

1

An entity that holds specialized attributes that distinguish it from one or more other similar entities is a ________.

Select one of the following:

  • Supertype

  • Parent

  • Subtype

  • Discriminator

Explanation

Question 11 of 37

1

An entity whose existence depends on the presence of another entity but whose identifier does not include the identifier of the other entity is a(n) ________.

Select one of the following:

  • ID­-dependent entity

  • Strong entity

  • Subtype entity

  • Weak entity

Explanation

Question 12 of 37

1

An entity whose identifier includes the identifier of another entity is a(n) ________.

Select one of the following:

  • Required Entity

  • Weak Entity

  • Optional Entity

  • Strong Entity

Explanation

Question 13 of 37

1

An identifier may be ________.

Select one of the following:

  • Optional

  • A relationship

  • Minimal

  • Composite

Explanation

Question 14 of 37

1

 An occurrence of a particular entity is called an ________.

Select one of the following:

  • Entity relationship

  • Entity class

  • Entity attribute

  • Entity instance

Explanation

Question 15 of 37

1

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

Select one of the following:

  • Alternate key

  • Primary key

  • Column

  • Foreign Key

Explanation

Question 16 of 37

1

Entities of a given type are grouped into an ________.

Select one of the following:

  • Entity attribute

  • Entity instance

  • Entity relationship

  • Entity class

Explanation

Question 17 of 37

1

In a minimum cardinality, minimums are generally stated as ________.

Select one of the following:

  • 0 or 1

  • M or N

  • 1 or N

  • One or many

Explanation

Question 18 of 37

1

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

Select one of the following:

  • Creating a supertype

  • Creating a subtype

  • Creating a primary key

  • Creating a foreign key

Explanation

Question 19 of 37

1

 In relational database design, ID­dependent entities are not used to ________.

Select one of the following:

  • handle associative relationships

  • represent relationships where the child identifier does not include the key of the parent

  • represent N:M relationships

  • handle archetype/instance relationships

Explanation

Question 20 of 37

1

Many­-to­-many relationships are represented by ________.

Select one of the following:

  • an intersection table which has M:N relationships with the two tables

  • two tables with a 1:N relationship

  • two tables with an M:N relationship

  • an intersection table which has 1:N relationships with the two tables

Explanation

Question 21 of 37

1

Many-­to­-many relationships are represented by ________.

Select one of the following:

  • an intersection table which has M:N relationships with the two tables

  • two tables with a 1:N relationship

  • two tables with an M:N relationship

  • an intersection table which has 1:N relationships with the two tables

Explanation

Question 22 of 37

1

Maximum cardinality refers to ________.

Select one of the following:

  • the most instances of one entity class that can be involved in a relationship instance with another entity class

  • whether or not an instance of one entity class is required to be related to an instance of another entity class

  • the minimum number of entity classes involved in a relationship

  • whether or not an entity is a weak entity

Explanation

Question 23 of 37

1

Minimum cardinality refers to ________.

Select one of the following:

  • the most instances of one entity class that can be involved in a relationship with one instance of another entity class

  • whether or not an entity is a weak entity

  • the minimum number of entity classes involved in a relationship

  • whether or not an instance of one entity class is required to be related to an instance of another entity class

Explanation

Question 24 of 37

1

Recursive relationships can have all of the following maximum cardinalities except ________.

Select one of the following:

  • 1:1

  • N:M

  • 1:N

  • M:M

Explanation

Question 25 of 37

1

Supertype/subtype entities are said to have a(n) ________ relationship.

Select one of the following:

  • HAS­-A

  • Redundant

  • IS-A

  • Recursive

Explanation

Question 26 of 37

1

The binary constraint must cover indicates that ________.

Select one of the following:

  • a table includes values that must occur in a ternary relationship

  • a binary relationship includes a set of value combinations that must all occur in a ternary relationship

  • a specific binary relationship must be included in a ternary relationship

  • a table includes values that must occur in a binary relationship

Explanation

Question 27 of 37

1

The binary constraint must not indicates that ________.

Select one of the following:

  • a table includes values that must not occur in a ternary relationship

  • a binary relationship includes value combinations that must not occur in a ternary relationship

  • a table includes values that must not occur in a binary relationship

  • a specific binary relationship must not be included in a ternary relationship

Explanation

Question 28 of 37

1

The characteristics of a thing are described by its ________.

Select one of the following:

  • Identifiers

  • Attributes

  • Objects

  • Entities

Explanation

Question 29 of 37

1

The first step in transforming an extended E­R model into a relational database design is to ________.

Select one of the following:

  • create a table for each relationship

  • create a table for each entity

  • remove any recursive relationships

  • evaluate the entities against the normalization criteria

Explanation

Question 30 of 37

1

The identifier of the entity becomes the ________ of the corresponding table.

Select one of the following:

  • Subtype

  • Supertype

  • Primary Key

  • Foreign Key

Explanation

Question 31 of 37

1

To represent a multivalued attribute in an E­-R model, ________.

Select one of the following:

  • create a new ID­dependent entity with a 1:1 relationship

  • create a new weak, but not ID­dependent entity with a 1:N relationship

  • create a new ID­dependent entity with a 1:N relationship

  • create a new strong entity with a 1:1 relationship

Explanation

Question 32 of 37

1

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

Select one of the following:

  • an intersection table must be created

  • the key of the table on the "many" side is placed in the table on the "one" side

  • the key of the parent is placed as a foreign key into the child

  • the key of the child is placed as a foreign key into the parent

Explanation

Question 33 of 37

1

To represent an archetype/instance pattern in an E­R model, ________.

Select one of the following:

  • create a new ID­-dependent entity with a 1:1 relationship

  • create a new ID­-dependent entity with a 1:N relationship

  • create a new weak, but not ID-­dependent entity with a 1:N relationship

  • create a new strong entity with a 1:1 relationship

Explanation

Question 34 of 37

1

To represent an association pattern in an E-­R model, ________.

Select one of the following:

  • create a new ID-­dependent entity with a N:1 relationships to two parent entities

  • create a new weak, but not ID­-dependent entity with a 1:1 relationship to one other entity

  • create a new strong entity with a 1:1 relationship to one other entity

  • create a new ID­-dependent entity with a 1:1 relationship to one other entity

Explanation

Question 35 of 37

1

When an entity has a relationship to itself, we have a(n) ________.

Select one of the following:

  • supertype/subtype relationship

  • archetype/instance relationship

  • recursive relationship

  • Both supertype/subtype relationship and recursive relationship are correct

Explanation

Question 36 of 37

1

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

Select one of the following:

  • the intersection table gets the key from both relations

  • the key of each table must be placed as foreign keys into the other

  • the key of either table may be placed as a foreign key into the other

  • the key of both tables must be the same

Explanation

Question 37 of 37

1

When representing a one­to­many relationship in a relational database design, ________.

Select one of the following:

  • the parent is always on the one side of the "one-­to­-many" relationship

  • either parent or child can be on the one side of the "one­-to­-many" relationship, and the choice is arbitrary

  • either parent or child can be on the one side of the "one­-to­-many" relationship, and special criteria indicate which table should be on the one side

  • the child is always on the one side of the "one-­to­-many" relationship

Explanation