Deck 5: Database Design

Full screen (f)
exit full mode
Question
To represent a M:N relationship in the relational model,an intersection table is created to represent the relationship itself.
Use Space or
up arrow
down arrow
to flip the card.
Question
The technique for representing E-R relationships in the relational model is dependent on the minimum cardinality.
Question
In the relational model,many-to-many relationships cannot be directly represented by relations the way 1:1 and 1:N relationships can.
Question
Which of the following is true when representing a 1:1 binary relationship using the relational model?

A) The key of the entity with the highest minimum cardinality must be placed in the other entity as a foreign key.
B) The key of each entity must be placed in the other as a foreign key.
C) The key of either entity is placed in the other as a foreign key.
D) The key of the entity with the most attributes must be placed in the other entity as a foreign key.
E) Both entities must have the same primary key.
Question
Which of the following is the correct technique for representing a 1:N relationship in the relational model?

A) The key of the entity on the one side is placed into the relation for the entity on the many side.
B) The key of the child is placed into the relation of the parent.
C) The key of either relation can be placed into the other relation.
D) The key of the entity on the many side is placed into the relation for the entity on the one side.
E) An intersection relation is created, and the keys from both parent entities are placed as keys in the intersection relation.
Question
For a 1:1 relationship,the key of each table should be placed in the other table as the foreign key.
Question
Microsoft Access uses the same pure N:M relationships that occur in data modeling.
Question
When applied to 1:N relationships,the term "parent" refers to the many side of the relationship since a child may have many parents.
Question
By default,Microsoft Access creates 1:1 relationships between tables.
Question
Relationships that are 1:1 do not require referential integrity constraints.
Question
Which of the following is the correct technique for representing a M:N relationship using the relational model?

A) An intersection relation is created, and the key of either entity is placed as a key in both the intersection relation and in the other relation.
B) An intersection relation is created with a surrogate key, which is placed in each of the parent entities.
C) An intersection relation is created, and the keys of both parent entities are placed as a composite key in the intersection relation.
D) The key from either relation is placed as a foreign key in the other relation.
E) None of the above
Question
To represent a 1:N relationship in the relational model,the key of either entity may be placed as a foreign key in the other entity.
Question
As far as Microsoft Access is concerned,there are no N:M relationships.
Question
To represent a 1:N relationship in the relational model,the key of the entity on the one side of the relationship is placed as a foreign key in the entity on the many side of the relationship.
Question
To create a 1:1 relationship in Microsoft Access,the Indexed property of the foreign key column must be set to Yes (No Duplicates).
Question
Given the tables
TABLE_A (Attribute1,Attribute2,Attribute3)
TABLE_B (Attribute4,Attribute5,Attribute6)
As shown in the figure below,which of the following would display the correct placement of foreign keys in the relational model?
<strong>Given the tables TABLE_A (Attribute1,Attribute2,Attribute3) TABLE_B (Attribute4,Attribute5,Attribute6) As shown in the figure below,which of the following would display the correct placement of foreign keys in the relational model?  </strong> A) TABLE_A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1) B) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4, Attribute5) TABLE _B (Attribute4, Attribute5, Attribute6) C) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1) D) TABLE _A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6) E) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute6) TABLE _B (Attribute4, Attribute5, Attribute6) <div style=padding-top: 35px>

A) TABLE_A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1)
B) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4, Attribute5) TABLE _B (Attribute4, Attribute5, Attribute6)
C) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1)
D) TABLE _A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6)
E) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute6) TABLE _B (Attribute4, Attribute5, Attribute6)
Question
As far as Microsoft Access is concerned,there are no 1:N relationships.
Question
Given the tables
PRODUCT (ProductID,Description,Cost)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
As shown in the figure below,which of the following would represent the correct placement of foreign keys?
<strong>Given the tables PRODUCT (ProductID,Description,Cost) SUPPLIER (SupplierID,ContactName,PhoneNumber) As shown in the figure below,which of the following would represent the correct placement of foreign keys?  </strong> A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) B) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) C) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) D) PRODUCT (ProductID, Description, Cost, ContactName) SUPPLIER (SupplierID, ContactName, PhoneNumber) E) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber) <div style=padding-top: 35px>

A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
B) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
C) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
D) PRODUCT (ProductID, Description, Cost, ContactName) SUPPLIER (SupplierID, ContactName, PhoneNumber)
E) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber)
Question
The key for an intersection table is always the combination of the keys of the parent entities.
Question
In certain circumstances,there may be a preference as to which table in a 1:1 relationship contains the foreign key.
Question
As far as Microsoft Access is concerned,there are no ________.
Question
After a 1:1 relationship has been created between two tables in Microsoft Access,the Relationship Type of One-To-One appears in the ________.
Question
What relationship pattern is illustrated in the following schema?
VEHICLE (VehicleID,Cost)
CAR (VehicleID,NumberOfSeats)
TRUCK (VehicleID,CargoCapacity)
VehicleID in CAR must exist in VehicleID in VEHICLE
VehicleID in TRUCK must exist in VehicleID in VEHICLE

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Question
To create a 1:1 relationship between two tables in Microsoft Access,the Indexed property of the foreign key column must be set to ________.
Question
In many-to-many relationships 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) the keys of both tables are placed in a third table
D) the keys of both tables are joined into a composite key
E) Both C and D
Question
What relationship pattern is illustrated in the following schema?
PRODUCT (ProductID,Description)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
PRODUCT_SUPPLIER (ProductID,SupplierID,Cost)
ProductID in PRODUCT_SUPPLIER must exist in ProductID in PRODUCT
SupplierID in PRODUCT_SUPPLIER must exist in SupplierID in PRODUCT

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Question
Given the tables
PRODUCT (ProductID,Description,Cost)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
As shown in the figure below,which of the following would represent the correct placement of foreign keys?
<strong>Given the tables PRODUCT (ProductID,Description,Cost) SUPPLIER (SupplierID,ContactName,PhoneNumber) As shown in the figure below,which of the following would represent the correct placement of foreign keys?  </strong> A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) B) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) C) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) PRODUCT_SUPPLIER (ProductID, SupplierID, PhoneNumber) D) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber) E) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) PRODUCT_SUPPLIER (ProductID, SupplierID) <div style=padding-top: 35px>

A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
B) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
C) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
PRODUCT_SUPPLIER (ProductID, SupplierID, PhoneNumber)
D) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber)
E) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
PRODUCT_SUPPLIER (ProductID, SupplierID)
Question
How are 1:1,1:N and N:M relationships handled in Microsoft Access?
Question
By default,when Microsoft Access creates a relationship between two tables it creates a(n)________ relationship.
Question
Which of the following is not true about representing subtypes in a relational database design?

A) One table is created for the supertype and one for each subtype.
B) All of the attributes of the supertype are added to the subtype relations.
C) The key of the supertype is made the key of the subtypes.
D) A subtype and its supertype are representations of the same underlying table.
E) An instance of the supertype may be related to one instance each of several subtypes.
Question
As far as Microsoft Access is concerned,there are no ________.

A) 1:1 relationships
B) 1:N relationships
C) N:1 relationships
D) N:M relationships
E) recursive relationships
Question
Microsoft Access does not create N:M relationships because Microsoft Access creates databases based on ________.
Question
By default,when Microsoft Access creates a relationship between two tables,it creates a(n)________.

A) 1:1 relationship
B) 1:N relationship
C) N:M relationship
D) association relationship
E) recursive relationship
Question
To create a 1:1 relationship between two tables in Microsoft Access ________.

A) the Indexed property of the foreign key column must be set to No
B) the Indexed property of the foreign key column must be set to Yes (Duplicates OK)
C) the Indexed property of the foreign key column must be set to Yes (No Duplicates)
D) the Data Type of the foreign key column must be set to AutoNumber
E) the Smart Tag property of the foreign key column must be set to Foreign Key
Question
Microsoft Access does not create N:M relationships because ________.

A) Microsoft Access creates databases based on database designs instead of data models.
B) Microsoft Access creates databases based on data models instead of database designs.
C) Microsoft Access cannot implement association relationships.
D) Microsoft Access cannot implement supertype/subtype relationships.
E) Microsoft Access cannot implement recursive relationships.
Question
What is an association relationship,and how does it differ from an N:M relationship?
Question
In relational database design,ID-dependent entities are used to ________.

A) represent 1:1 relationships
B) represent 1:N relationships
C) represent N:M relationships
D) handle recursive relationships
E) eliminate the need for weak entities being converted to tables
Question
Explain the representation of a many-to-many strong entity relationship in a relational database design.
Question
In many-to-many relationships in a relational database design,________.

A) the intersection table is ID-dependent on one of the parents
B) the intersection table is ID-dependent on both of the parents
C) the minimum cardinality from the intersection table to the parents is always M
D) Both A and B
E) Both B and C
Question
Explain the representation of a one-to-many strong entity relationship in a relational database design.
Question
How are one-to-one recursive relationships addressed using the relational model?
Question
An example of a join in SQL is the situation where two attributes of two separate tables are compared for equality in a WHERE clause.
Question
All recursive relationships are 1:1.
Question
What relationship pattern is illustrated in the following schema?
EMPLOYEE (EmployeeID,OfficePhone,Manager)
Manager in EMPLOYEE must exist in EmployeeID in EMPLOYEE

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Question
Recursive relationships can be represented in the relational model using the same techniques that are used for binary relationships.
Question
The key of the parent entity becomes part of the key of an ID-dependent entity.
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 ________.

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
Question
By default,the identifier of the entity becomes the foreign key of the corresponding table.
Question
Which of the following is true about representing a weak entity with the relational model?

A) If the weak entity is existence-dependent, the key of the parent must be part of the key of the weak entity.
B) If the strong entity has a minimum cardinality of 1, the key of the weak entity must be part of the strong entity.
C) If the weak entity is ID-dependent, the key of the weak entity must be part of the key of the parent entity.
D) If the weak entity is ID-dependent, the key of the parent entity must be part of the key of the weak entity.
E) If the parent entity is existence-dependent, then the minimum cardinality of the weak entity is zero.
Question
If a weak entity is ID-dependent but not existence-dependent,it can be represented using the same techniques as a strong entity.
Question
One of the important properties of an attribute is whether or not it is required.
Question
Which of the following is not true of recursive relationships?

A) When the recursive relationship is M:N, an intersection table is created.
B) The rows of a single table can play two different roles.
C) The techniques for representing the tables are the same as for non-recursive relationships except the rows are in the same table.
D) Recursive relationships can be 1:1, 1:N, or M:N relationships.
E) Even when the relationship is 1:N, a new table must be defined to represent the relationship.
Question
The ideal primary key is short,numeric,and nonchanging.
Question
A surrogate key is appropriate when the primary key of a table contains a lengthy text field.
Question
An entity needs to be examined according to normalization criteria before creating a table from it in the relational database design.
Question
For a(n)________ weak entity,it is necessary to add the key of the parent entity to the weak entity's relation so that this added attribute becomes part of the weak entity's key.
Question
The first step in representing entities using the relational model is to determine which identifier will be used as the key.
Question
When creating a table in the relational database design from an entity in the extended E-R model,the attributes of the entity become the rows of the table.
Question
Explain the representation of ID-dependent weak entities using the relational model.
Question
A(n)________ is a relationship among entities of the same class.
Question
The identifier of the entity becomes the ________ of the corresponding table.

A) primary key
B) foreign key
C) supertype
D) subtype
E) either A or B
Question
The first step of database design is to define a table for each ________.
Question
To normalize a relation,the determinant of every functional dependency should be a(n)________.
Question
Write the schema to represent the entities below,including tables,the proper placement of the foreign key,and referential integrity constraint.
Write the schema to represent the entities below,including tables,the proper placement of the foreign key,and referential integrity constraint.  <div style=padding-top: 35px>
Question
A surrogate key should be considered when ________.

A) a relationship is M:N
B) a composite key is required
C) the key contains a lengthy text field
D) the key contains a number
E) an index needs to be created
Question
Relations should always be normalized to the highest degree possible.
Question
Each attribute of an entity becomes a(n)________ of a table.

A) column
B) primary key
C) foreign key
D) alternate key
E) either B or D
Question
Explain the pragmatic reason for using surrogate keys.
Question
From a pragmatic standpoint,the only important rule of normalization is that the determinant of every functional dependency must be a candidate key.
Question
Once a table has been defined,it should be examined according to ________ criteria.
Question
Explain the process of representing an entity using the relational model.
Question
The first step in transforming an extended E-R model into a relational database design is to ________.

A) create a table for each relationship
B) evaluate the entities against the normalization criteria
C) create a table for each entity
D) remove any recursive relationships
E) document referential integrity constraints
Question
There are cases where it is possible to normalize a table too far,in which case there may be a need for ________.
Question
To represent a many-to-many relationship in the relational model,a(n)________ table is used.
Question
One of the important properties of a column is whether or not it is ________.

A) found in more than one entity
B) required
C) character or numeric
D) subject to normalization
E) subject to denormalization
Question
After a 1:1 relationship has been created between two tables in Microsoft Access,the Relationship Type of One-To-One appears ________.

A) in the Relationship Type property of the primary key column in table Design View
B) in the Relationship Type property of the foreign key column in table Design View
C) in the table object in the Relationships window
D) in the Show Table dialog box
E) in the Edit Relationships dialog box
Question
Which of the following would be a reason to denormalize a relation?

A) Relax security
B) Lack of design time
C) End user preference
D) Improve performance
E) None of the above
Question
In terms of normalization,what do the letters BCNF stand for?

A) BCNF is not an abbreviation
B) Bryce-Cooper Normalization Functionality
C) Boyce-Code Normalization Functionality
D) Boyce-Codd Normal Form
E) Bryce-Cooper Normal Form
Question
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
Question
Which of the following is not true about surrogate keys?

A) They are identifiers that are supplied by the system, not the users.
B) They have no meaning to the users.
C) They are nonunique within a table.
D) They can be problematic when combining databases.
E) The DBMS will not allow their values to be changed.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/81
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 5: Database Design
1
To represent a M:N relationship in the relational model,an intersection table is created to represent the relationship itself.
True
2
The technique for representing E-R relationships in the relational model is dependent on the minimum cardinality.
False
3
In the relational model,many-to-many relationships cannot be directly represented by relations the way 1:1 and 1:N relationships can.
True
4
Which of the following is true when representing a 1:1 binary relationship using the relational model?

A) The key of the entity with the highest minimum cardinality must be placed in the other entity as a foreign key.
B) The key of each entity must be placed in the other as a foreign key.
C) The key of either entity is placed in the other as a foreign key.
D) The key of the entity with the most attributes must be placed in the other entity as a foreign key.
E) Both entities must have the same primary key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is the correct technique for representing a 1:N relationship in the relational model?

A) The key of the entity on the one side is placed into the relation for the entity on the many side.
B) The key of the child is placed into the relation of the parent.
C) The key of either relation can be placed into the other relation.
D) The key of the entity on the many side is placed into the relation for the entity on the one side.
E) An intersection relation is created, and the keys from both parent entities are placed as keys in the intersection relation.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
6
For a 1:1 relationship,the key of each table should be placed in the other table as the foreign key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
7
Microsoft Access uses the same pure N:M relationships that occur in data modeling.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
8
When applied to 1:N relationships,the term "parent" refers to the many side of the relationship since a child may have many parents.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
9
By default,Microsoft Access creates 1:1 relationships between tables.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
10
Relationships that are 1:1 do not require referential integrity constraints.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is the correct technique for representing a M:N relationship using the relational model?

A) An intersection relation is created, and the key of either entity is placed as a key in both the intersection relation and in the other relation.
B) An intersection relation is created with a surrogate key, which is placed in each of the parent entities.
C) An intersection relation is created, and the keys of both parent entities are placed as a composite key in the intersection relation.
D) The key from either relation is placed as a foreign key in the other relation.
E) None of the above
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
12
To represent a 1:N relationship in the relational model,the key of either entity may be placed as a foreign key in the other entity.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
13
As far as Microsoft Access is concerned,there are no N:M relationships.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
14
To represent a 1:N relationship in the relational model,the key of the entity on the one side of the relationship is placed as a foreign key in the entity on the many side of the relationship.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
15
To create a 1:1 relationship in Microsoft Access,the Indexed property of the foreign key column must be set to Yes (No Duplicates).
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
16
Given the tables
TABLE_A (Attribute1,Attribute2,Attribute3)
TABLE_B (Attribute4,Attribute5,Attribute6)
As shown in the figure below,which of the following would display the correct placement of foreign keys in the relational model?
<strong>Given the tables TABLE_A (Attribute1,Attribute2,Attribute3) TABLE_B (Attribute4,Attribute5,Attribute6) As shown in the figure below,which of the following would display the correct placement of foreign keys in the relational model?  </strong> A) TABLE_A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1) B) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4, Attribute5) TABLE _B (Attribute4, Attribute5, Attribute6) C) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1) D) TABLE _A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6) E) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute6) TABLE _B (Attribute4, Attribute5, Attribute6)

A) TABLE_A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1)
B) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4, Attribute5) TABLE _B (Attribute4, Attribute5, Attribute6)
C) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute4) TABLE _B (Attribute4, Attribute5, Attribute6, Attribute1)
D) TABLE _A (Attribute1, Attribute2, Attribute3) TABLE _B (Attribute4, Attribute5, Attribute6)
E) TABLE _A (Attribute1, Attribute2, Attribute3, Attribute6) TABLE _B (Attribute4, Attribute5, Attribute6)
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
17
As far as Microsoft Access is concerned,there are no 1:N relationships.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
18
Given the tables
PRODUCT (ProductID,Description,Cost)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
As shown in the figure below,which of the following would represent the correct placement of foreign keys?
<strong>Given the tables PRODUCT (ProductID,Description,Cost) SUPPLIER (SupplierID,ContactName,PhoneNumber) As shown in the figure below,which of the following would represent the correct placement of foreign keys?  </strong> A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) B) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) C) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) D) PRODUCT (ProductID, Description, Cost, ContactName) SUPPLIER (SupplierID, ContactName, PhoneNumber) E) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber)

A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
B) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
C) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
D) PRODUCT (ProductID, Description, Cost, ContactName) SUPPLIER (SupplierID, ContactName, PhoneNumber)
E) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber)
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
19
The key for an intersection table is always the combination of the keys of the parent entities.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
20
In certain circumstances,there may be a preference as to which table in a 1:1 relationship contains the foreign key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
21
As far as Microsoft Access is concerned,there are no ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
22
After a 1:1 relationship has been created between two tables in Microsoft Access,the Relationship Type of One-To-One appears in the ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
23
What relationship pattern is illustrated in the following schema?
VEHICLE (VehicleID,Cost)
CAR (VehicleID,NumberOfSeats)
TRUCK (VehicleID,CargoCapacity)
VehicleID in CAR must exist in VehicleID in VEHICLE
VehicleID in TRUCK must exist in VehicleID in VEHICLE

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
24
To create a 1:1 relationship between two tables in Microsoft Access,the Indexed property of the foreign key column must be set to ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
25
In many-to-many relationships 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) the keys of both tables are placed in a third table
D) the keys of both tables are joined into a composite key
E) Both C and D
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
26
What relationship pattern is illustrated in the following schema?
PRODUCT (ProductID,Description)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
PRODUCT_SUPPLIER (ProductID,SupplierID,Cost)
ProductID in PRODUCT_SUPPLIER must exist in ProductID in PRODUCT
SupplierID in PRODUCT_SUPPLIER must exist in SupplierID in PRODUCT

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
27
Given the tables
PRODUCT (ProductID,Description,Cost)
SUPPLIER (SupplierID,ContactName,PhoneNumber)
As shown in the figure below,which of the following would represent the correct placement of foreign keys?
<strong>Given the tables PRODUCT (ProductID,Description,Cost) SUPPLIER (SupplierID,ContactName,PhoneNumber) As shown in the figure below,which of the following would represent the correct placement of foreign keys?  </strong> A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) B) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID) C) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) PRODUCT_SUPPLIER (ProductID, SupplierID, PhoneNumber) D) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber) E) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber) PRODUCT_SUPPLIER (ProductID, SupplierID)

A) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
B) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber, ProductID)
C) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
PRODUCT_SUPPLIER (ProductID, SupplierID, PhoneNumber)
D) PRODUCT (ProductID, Description, Cost, SupplierID) SUPPLIER (SupplierID, ContactName, PhoneNumber)
E) PRODUCT (ProductID, Description, Cost) SUPPLIER (SupplierID, ContactName, PhoneNumber)
PRODUCT_SUPPLIER (ProductID, SupplierID)
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
28
How are 1:1,1:N and N:M relationships handled in Microsoft Access?
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
29
By default,when Microsoft Access creates a relationship between two tables it creates a(n)________ relationship.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is not true about representing subtypes in a relational database design?

A) One table is created for the supertype and one for each subtype.
B) All of the attributes of the supertype are added to the subtype relations.
C) The key of the supertype is made the key of the subtypes.
D) A subtype and its supertype are representations of the same underlying table.
E) An instance of the supertype may be related to one instance each of several subtypes.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
31
As far as Microsoft Access is concerned,there are no ________.

A) 1:1 relationships
B) 1:N relationships
C) N:1 relationships
D) N:M relationships
E) recursive relationships
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
32
Microsoft Access does not create N:M relationships because Microsoft Access creates databases based on ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
33
By default,when Microsoft Access creates a relationship between two tables,it creates a(n)________.

A) 1:1 relationship
B) 1:N relationship
C) N:M relationship
D) association relationship
E) recursive relationship
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
34
To create a 1:1 relationship between two tables in Microsoft Access ________.

A) the Indexed property of the foreign key column must be set to No
B) the Indexed property of the foreign key column must be set to Yes (Duplicates OK)
C) the Indexed property of the foreign key column must be set to Yes (No Duplicates)
D) the Data Type of the foreign key column must be set to AutoNumber
E) the Smart Tag property of the foreign key column must be set to Foreign Key
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
35
Microsoft Access does not create N:M relationships because ________.

A) Microsoft Access creates databases based on database designs instead of data models.
B) Microsoft Access creates databases based on data models instead of database designs.
C) Microsoft Access cannot implement association relationships.
D) Microsoft Access cannot implement supertype/subtype relationships.
E) Microsoft Access cannot implement recursive relationships.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
36
What is an association relationship,and how does it differ from an N:M relationship?
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
37
In relational database design,ID-dependent entities are used to ________.

A) represent 1:1 relationships
B) represent 1:N relationships
C) represent N:M relationships
D) handle recursive relationships
E) eliminate the need for weak entities being converted to tables
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
38
Explain the representation of a many-to-many strong entity relationship in a relational database design.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
39
In many-to-many relationships in a relational database design,________.

A) the intersection table is ID-dependent on one of the parents
B) the intersection table is ID-dependent on both of the parents
C) the minimum cardinality from the intersection table to the parents is always M
D) Both A and B
E) Both B and C
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
40
Explain the representation of a one-to-many strong entity relationship in a relational database design.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
41
How are one-to-one recursive relationships addressed using the relational model?
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
42
An example of a join in SQL is the situation where two attributes of two separate tables are compared for equality in a WHERE clause.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
43
All recursive relationships are 1:1.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
44
What relationship pattern is illustrated in the following schema?
EMPLOYEE (EmployeeID,OfficePhone,Manager)
Manager in EMPLOYEE must exist in EmployeeID in EMPLOYEE

A) Association relationship
B) Intersection relationship
C) Recursive relationship
D) Strong entity relationship
E) Supertype/subtype relationship
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
45
Recursive relationships can be represented in the relational model using the same techniques that are used for binary relationships.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
46
The key of the parent entity becomes part of the key of an ID-dependent entity.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
47
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
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
48
By default,the identifier of the entity becomes the foreign key of the corresponding table.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
49
Which of the following is true about representing a weak entity with the relational model?

A) If the weak entity is existence-dependent, the key of the parent must be part of the key of the weak entity.
B) If the strong entity has a minimum cardinality of 1, the key of the weak entity must be part of the strong entity.
C) If the weak entity is ID-dependent, the key of the weak entity must be part of the key of the parent entity.
D) If the weak entity is ID-dependent, the key of the parent entity must be part of the key of the weak entity.
E) If the parent entity is existence-dependent, then the minimum cardinality of the weak entity is zero.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
50
If a weak entity is ID-dependent but not existence-dependent,it can be represented using the same techniques as a strong entity.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
51
One of the important properties of an attribute is whether or not it is required.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
52
Which of the following is not true of recursive relationships?

A) When the recursive relationship is M:N, an intersection table is created.
B) The rows of a single table can play two different roles.
C) The techniques for representing the tables are the same as for non-recursive relationships except the rows are in the same table.
D) Recursive relationships can be 1:1, 1:N, or M:N relationships.
E) Even when the relationship is 1:N, a new table must be defined to represent the relationship.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
53
The ideal primary key is short,numeric,and nonchanging.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
54
A surrogate key is appropriate when the primary key of a table contains a lengthy text field.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
55
An entity needs to be examined according to normalization criteria before creating a table from it in the relational database design.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
56
For a(n)________ weak entity,it is necessary to add the key of the parent entity to the weak entity's relation so that this added attribute becomes part of the weak entity's key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
57
The first step in representing entities using the relational model is to determine which identifier will be used as the key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
58
When creating a table in the relational database design from an entity in the extended E-R model,the attributes of the entity become the rows of the table.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
59
Explain the representation of ID-dependent weak entities using the relational model.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
60
A(n)________ is a relationship among entities of the same class.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
61
The identifier of the entity becomes the ________ of the corresponding table.

A) primary key
B) foreign key
C) supertype
D) subtype
E) either A or B
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
62
The first step of database design is to define a table for each ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
63
To normalize a relation,the determinant of every functional dependency should be a(n)________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
64
Write the schema to represent the entities below,including tables,the proper placement of the foreign key,and referential integrity constraint.
Write the schema to represent the entities below,including tables,the proper placement of the foreign key,and referential integrity constraint.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
65
A surrogate key should be considered when ________.

A) a relationship is M:N
B) a composite key is required
C) the key contains a lengthy text field
D) the key contains a number
E) an index needs to be created
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
66
Relations should always be normalized to the highest degree possible.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
67
Each attribute of an entity becomes a(n)________ of a table.

A) column
B) primary key
C) foreign key
D) alternate key
E) either B or D
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
68
Explain the pragmatic reason for using surrogate keys.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
69
From a pragmatic standpoint,the only important rule of normalization is that the determinant of every functional dependency must be a candidate key.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
70
Once a table has been defined,it should be examined according to ________ criteria.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
71
Explain the process of representing an entity using the relational model.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
72
The first step in transforming an extended E-R model into a relational database design is to ________.

A) create a table for each relationship
B) evaluate the entities against the normalization criteria
C) create a table for each entity
D) remove any recursive relationships
E) document referential integrity constraints
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
73
There are cases where it is possible to normalize a table too far,in which case there may be a need for ________.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
74
To represent a many-to-many relationship in the relational model,a(n)________ table is used.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
75
One of the important properties of a column is whether or not it is ________.

A) found in more than one entity
B) required
C) character or numeric
D) subject to normalization
E) subject to denormalization
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
76
After a 1:1 relationship has been created between two tables in Microsoft Access,the Relationship Type of One-To-One appears ________.

A) in the Relationship Type property of the primary key column in table Design View
B) in the Relationship Type property of the foreign key column in table Design View
C) in the table object in the Relationships window
D) in the Show Table dialog box
E) in the Edit Relationships dialog box
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
77
Which of the following would be a reason to denormalize a relation?

A) Relax security
B) Lack of design time
C) End user preference
D) Improve performance
E) None of the above
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
78
In terms of normalization,what do the letters BCNF stand for?

A) BCNF is not an abbreviation
B) Bryce-Cooper Normalization Functionality
C) Boyce-Code Normalization Functionality
D) Boyce-Codd Normal Form
E) Bryce-Cooper Normal Form
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
79
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
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
80
Which of the following is not true about surrogate keys?

A) They are identifiers that are supplied by the system, not the users.
B) They have no meaning to the users.
C) They are nonunique within a table.
D) They can be problematic when combining databases.
E) The DBMS will not allow their values to be changed.
Unlock Deck
Unlock for access to all 81 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 81 flashcards in this deck.