Deck 6: Relational Database Design

Full screen (f)
exit full mode
Question
The REA conceptual model can be implemented only with relational database software.
Use Space or
up arrow
down arrow
to flip the card.
Question
A conceptual database model is independent of any particular database software package.
Question
A physical database model is independent of any particular database software.
Question
In the relational database model each table represents either an entity or a relationship between entities.
Question
The order in which columns are placed in a relational database table is crucial to maintain referential integrity.
Question
Entity integrity refers to a primary key that will allow null values.
Question
The following pet table
The following pet table   is a good example of a relational table.<div style=padding-top: 35px> is a good example of a relational table.
Question
In the following pet table
In the following pet table   the shots received column is a repeating group because the column contains multiple values.<div style=padding-top: 35px> the shots received column is a repeating group because the column contains multiple values.
Question
When converting a REA model into relational tables, each entity object becomes a relation.
Question
The rule for converting relationships for which the maximum participation cardinalities are many for both entities is to post the primary key of either entity into the table of the other entity.
Question
A concatenated relationship key contains fields from one relational database table.
Question
Efficient database design avoids null values as much as possible and uses the least amount of tables.
Question
Relationships may have attributes; these attributes should be attached to the relationship on an entity-relationship diagram or listed in the relationship section of an entity-relationship grammar.
Question
All About Pets needs to track information about quantities of inventory items sold in various sales transactions. For example, the enterprise needs to know 5 cans of puppy food, 1 leash, 2 sacks of kitty litter, and 4 cans of kitten food were sold in Sale 17. The most appropriate assignment for the quantity sold attribute is to the relationship between inventory type and sale.
Question
The view in which the field data types and field properties for a database table can be seen in Microsoft Access is called the datasheet view.
Question
Fields for which the data type is "text" may be used in calculations in queries.
Question
You will be able to join two fields of different data types together as long as the data values match exactly.
Question
Referential integrity determines whether or not null values are allowed in a field.
Question
To communicate to Microsoft Access the fact that a primary key of one entity has been posted as a foreign key in another table, one must simply use the same field name and data type in each of the two tables.
Question
A primary key in Microsoft Access can only contain one field.
Question
Each column of a relational table represents a (an)

A) Relation
B) Record
C) Attribute
D) Cardinality
E) Tuple
Question
The purpose of foreign keys is to

A) Uniquely and universally identify instances of the entity into which they are posted.
B) Link relations so the database can be used to store business data and to generate useful information.
C) Create null values in the database.
D) Determine minimum cardinalities of relationships between entities.
E) Determine maximum cardinalities of relationships between entities.
Question
In relational database design, the definition of a fact is:

A) The pairing of the primary key and candidate key.
B) The pairing of a candidate key data value with another attribute data value.
C) The placement of data into a cell.
D) A row in a table.
E) A foreign key.
Question
What potential problem exists in this table structure? <strong>What potential problem exists in this table structure?  </strong> A) The fact rule is violated if more than one account is at the same bank. B) The fact rule is violated if more than one account has the same account balance. C) The fact rule is violated if more than one bank has the same address. D) All of the above are potential problems. E) None of the above are potential problems. <div style=padding-top: 35px>

A) The "fact rule" is violated if more than one account is at the same bank.
B) The "fact rule" is violated if more than one account has the same account balance.
C) The "fact rule" is violated if more than one bank has the same address.
D) All of the above are potential problems.
E) None of the above are potential problems.
Question
In relational database design, a low load indicates

A) Most values of the attribute are expected to be null.
B) All values of the attribute are expected to be null.
C) All values of the attribute are expected to be non-null.
D) Most values of the attribute are expected to be non-null.
E) Nothing is known about how many values of the attribute will be null.
Question
When implementing the relationships of an entity-relationship diagram into relational tables, the first things you should consider are the _________ cardinalities to minimize _________.

A) minimum, redundancy
B) minimum, load
C) maximum, redundancy
D) maximum, load
E) maximum, null values
Question
On average, 99 out of 100 sales have related cash receipts (there is usually 1 sale out of 100 that either results in a sale return or becomes a bad debt). On average, 45 out of 100 cash receipts are related to sales (the company also generates revenue through rentals, which it keeps track of in a separate entity set; 50 out of 100 of its cash receipts result from those rentals, the other 5 out of 100 result from financing events). Considering both redundancy and load, which of the following would be the best relational table implementation solution?

A) Make a sale table, a cash receipt table, and a table for the relationship.
B) Make a sale table, a cash receipt table, and post the key of sale into the cash receipt table.
C) Make a sale table, a cash receipt table, and post the key of cash receipt into the sale table.
D) Both A and B are equally good solutions.
E) Both A and C are equally good solutions.
Question
The rule for converting conceptual model relationships with maximum participation cardinalities of "many to many" into relational database tables is

A) Create a separate table identified by the key attribute of the entity that has the most instances.
B) Create a relation that can have no attributes of its own.
C) Post the key attribute of either entity into the relation of the other entity.
D) Post the key attribute of the table with mandatory participation into the table with optional participation.
E) Create a separate table identified by a concatenated primary key comprised of the key attributes from both entity tables.
Question
If you have two entities that are related with a cardinality pattern of (1,1) - (1,N) how many tables must you include in a correctly designed database to represent this entity-relationship cluster?

A) one
B) two
C) three
D) four
E) five
Question
Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model? <strong>Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model?    </strong> A) Example 1 B) Example 2 C) Example 3 D) Example 4 E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model. <div style=padding-top: 35px> <strong>Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model?    </strong> A) Example 1 B) Example 2 C) Example 3 D) Example 4 E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model. <div style=padding-top: 35px>

A) Example 1
B) Example 2
C) Example 3
D) Example 4
E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model.
Question
Given the following set of relational database tables, what must have been the conceptual model's participation cardinalities between the entities Sale and Inventory? <strong>Given the following set of relational database tables, what must have been the conceptual model's participation cardinalities between the entities Sale and Inventory?  </strong> A) (1,N) Sale -- (1,1) Inventory B) (1,N) Sale -- (0,N) Inventory C) (0,N) Sale -- (1,N) Inventory D) (1,1) Sale -- (0,N) Inventory E) (0,1) Sale -- (0,1) Inventory <div style=padding-top: 35px>

A) (1,N) Sale -- (1,1) Inventory
B) (1,N) Sale -- (0,N) Inventory
C) (0,N) Sale -- (1,N) Inventory
D) (1,1) Sale -- (0,N) Inventory
E) (0,1) Sale -- (0,1) Inventory
Question
Disregarding minimum cardinalities, when converting conceptual models into relational tables

A) A "one to one" (maximum cardinalities) relationship should be implemented with a separate table.
B) All relationships, regardless of maximum cardinalities, should be implemented with the primary key of one entity posted into the other entity's table as a foreign key.
C) A "one to many" (maximum cardinalities) relationship should be implemented by posting the key of the one entity table into the many entity table.
D) All relationships, regardless of maximum cardinalities, should be implemented with separate relationship tables.
E) A "one to many" (maximum cardinalities) relationship should be implemented by posting the key of the many entity table into the one entity table.
Question
An auditor examined the database for Trent's Textiles Corporation. During her examination, she noticed two cash disbursements in the Cash Disbursements table had blanks (null values) in the vendor number field. Assuming no data entry error has occurred, what is the most plausible explanation for these blanks?

A) There is no plausible explanation - an error must have occurred.
B) Referential integrity was not established between Vendor and Cash Disbursement
C) The participation of Cash Disbursement in the relationship with Vendor is optional
D) The participation of Vendor in the relationship with Cash Disbursement is mandatory
E) The participation of Cash Disbursement in the relationship with Vendor is mandatory
Question
Imagine you are implementing the relationships of an entity-relationship diagram into relational table format. The rules for minimum cardinalities tell you to post the key of entity A into the table for entity B, and the rules for maximum cardinalities tell you to post the key of entity B into the table for entity A. What do you do?

A) Consider load, and if posting A into B would result in a low load, post A into B
B) Consider load, and if posting B into A would result in a low load, post B into A
C) Consider load, and if posting B into A would result in a high load, post B into A
D) Consider load, and if posting A into B would result in a high load, post A into B
E) Consider load, and if posting A into B would result in a medium load, post A into B
Question
For which of these relationships does an efficient relational implementation of relationship AB require posting a foreign key? (in other words, for which relationship(s) would you always post a foreign key instead of making a separate table) <strong>For which of these relationships does an efficient relational implementation of relationship AB require posting a foreign key? (in other words, for which relationship(s) would you always post a foreign key instead of making a separate table)  </strong> A) JK only B) JK and PQ only C) PQ only D) YZ only E) JK, PQ, and YZ <div style=padding-top: 35px>

A) JK only
B) JK and PQ only
C) PQ only
D) YZ only
E) JK, PQ, and YZ
Question
When creating a table in Microsoft Access, which of the following fields should ALWAYS be specified as a "Number" field (and should thus NEVER be specified as either a "Date", "Currency", or "Text" field)?

A) Quantity sold
B) Customer number
C) Social security number
D) Invoice number
E) Total sales dollar amount
Question
In Microsoft Access, enabling the "Cascade Update Related fields" option in the relationship layout accomplishes which of the following:

A) If the end user makes a change in the primary table it will change data in all tables.
B) If the end user makes a change in an unrelated table the primary table will be updated.
C) If the end user makes a change in the primary table the same change will be automatically be made in the related table.
D) If the end user makes a change in the related table the same change will be automatically be made in the primary table.
E) If the end user makes a change in an unrelated table, the related table will be updated.
Question
Which of the following pieces of data would most likely be stored (rather than derived via a query) in a relational database based on the REA model and implemented in Microsoft Access?

A) The number of different inventory items purchased from a vendor during a month.
B) An individual customer's accounts receivable balance on a specific date.
C) The quantity on hand of a particular inventory item on a specific date.
D) Actual unit selling price of an inventory item on a specific sale.
E) The balance of the company's checking account on a specific date.
Question
Which of the implementation choices depicted below represents the most appropriate Microsoft Access implementation of the Sale-Inventory relationship portrayed in this conceptual model? <strong>Which of the implementation choices depicted below represents the most appropriate Microsoft Access implementation of the Sale-Inventory relationship portrayed in this conceptual model?  </strong> A) Implementation Choice 1 B) Implementation Choice 2 C) Implementation Choice 3 D) Implementation Choice 4 E) Implementation Choices 1 and 2 are equally correct Access implementations of the relationship. <div style=padding-top: 35px>

A) Implementation Choice 1
B) Implementation Choice 2
C) Implementation Choice 3
D) Implementation Choice 4
E) Implementation Choices 1 and 2 are equally correct Access implementations of the relationship.
Question
Given the following relationship layout from Microsoft Access, which set of tables has data that is consistent with referential integrity? <strong>Given the following relationship layout from Microsoft Access, which set of tables has data that is consistent with referential integrity?  </strong> A) Table Choice 1 B) Table Choice 2 C) Table Choice 3 D) Table Choice 4 E) None of the table set choices have data with referential integrity. <div style=padding-top: 35px>

A) Table Choice 1
B) Table Choice 2
C) Table Choice 3
D) Table Choice 4
E) None of the table set choices have data with referential integrity.
Question
Why are redundancies in data inefficient and problematic?
Question
Columns in a relational database structure are also called ______ ______, _______ or _______.
Question
Rows in a relational database structure are also called ______ ______, ________ or ________.
Question
What is the purpose of a primary key attribute in a relational database table?
Question
What is the correct action to take when converting a conceptual entity-relationship model into relational tables for a relationship that has a participation cardinality pattern of (1,1) - (1,1)?
Question
Say you have been brought in to check the work of a person who developed a database for Marty's Manufacturing. The conceptual model for Marty's Manufacturing includes the following relationship:
Say you have been brought in to check the work of a person who developed a database for Marty's Manufacturing. The conceptual model for Marty's Manufacturing includes the following relationship:   The relational database tables, which are implemented in Microsoft Access, include a table for Production Order and a table for Production Run. The primary key of Production Order (PO) is posted into the Production Run table as a foreign key. You are required in your inspection to ensure that each minimum and maximum cardinality in the conceptual model is appropriately reflected in the table design. What should you look for in the table design to determine whether the 1 minimum on Production Run is appropriately reflected in the database tables?<div style=padding-top: 35px> The relational database tables, which are implemented in Microsoft Access, include a table for Production Order and a table for Production Run. The primary key of Production Order (PO) is posted into the Production Run table as a foreign key. You are required in your inspection to ensure that each minimum and maximum cardinality in the conceptual model is appropriately reflected in the table design. What should you look for in the table design to determine whether the 1 minimum on Production Run is appropriately reflected in the database tables?
Question
In Microsoft Access, how should one delete a relationship in the relationship layout?
Question
In Microsoft Access, does enabling cascade updates cause data entry of primary key values for new records to be automatically posted to the related foreign key fields? Explain your response.
Question
What is the first step in converting a conceptual entity-relationship model into relational database tables?
Question
Salespeople for the Coverall Insurance Company meet with customers and try to sell them one or more of the company's five insurance policies. If they are successful in their sales efforts they obtain a signed insurance policy from the customer and the initial check for the first premium. These are sent to the company's headquarters for processing. The contract is kept on file, and the check is given to the cashier for processing into one of the company's cash accounts. Policy payment reminders are mailed to the customer (monthly or quarterly, depending on the terms of the policy). The customer sends subsequent policy payments to the cashier for processing.
Below is a partial REA business process level conceptual model for Coverall. Convert this conceptual model into a logical model consisting of a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys.
Salespeople for the Coverall Insurance Company meet with customers and try to sell them one or more of the company's five insurance policies. If they are successful in their sales efforts they obtain a signed insurance policy from the customer and the initial check for the first premium. These are sent to the company's headquarters for processing. The contract is kept on file, and the check is given to the cashier for processing into one of the company's cash accounts. Policy payment reminders are mailed to the customer (monthly or quarterly, depending on the terms of the policy). The customer sends subsequent policy payments to the cashier for processing. Below is a partial REA business process level conceptual model for Coverall. Convert this conceptual model into a logical model consisting of a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys.  <div style=padding-top: 35px>
Question
Explain the relational logical structure that is used in relational databases.
Question
Describe the two ways in which the one-fact-one-place rule could be violated and explain how to prevent or fix the violations.
Question
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations.
The conceptual model from which the relational tables were derived is as follows:
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations. The conceptual model from which the relational tables were derived is as follows:   The relational tables include a Cash Account table and a Bank table as follows:  <div style=padding-top: 35px> The relational tables include a Cash Account table and a Bank table as follows:
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations. The conceptual model from which the relational tables were derived is as follows:   The relational tables include a Cash Account table and a Bank table as follows:  <div style=padding-top: 35px>
Question
Convert the following conceptual model into a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys in your tables. List any assumptions you make with regard to load for any of the tables.
Convert the following conceptual model into a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys in your tables. List any assumptions you make with regard to load for any of the tables.  <div style=padding-top: 35px>
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/54
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Relational Database Design
1
The REA conceptual model can be implemented only with relational database software.
False
2
A conceptual database model is independent of any particular database software package.
True
3
A physical database model is independent of any particular database software.
False
4
In the relational database model each table represents either an entity or a relationship between entities.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
5
The order in which columns are placed in a relational database table is crucial to maintain referential integrity.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
6
Entity integrity refers to a primary key that will allow null values.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
7
The following pet table
The following pet table   is a good example of a relational table. is a good example of a relational table.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
8
In the following pet table
In the following pet table   the shots received column is a repeating group because the column contains multiple values. the shots received column is a repeating group because the column contains multiple values.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
9
When converting a REA model into relational tables, each entity object becomes a relation.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
10
The rule for converting relationships for which the maximum participation cardinalities are many for both entities is to post the primary key of either entity into the table of the other entity.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
11
A concatenated relationship key contains fields from one relational database table.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
12
Efficient database design avoids null values as much as possible and uses the least amount of tables.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
13
Relationships may have attributes; these attributes should be attached to the relationship on an entity-relationship diagram or listed in the relationship section of an entity-relationship grammar.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
14
All About Pets needs to track information about quantities of inventory items sold in various sales transactions. For example, the enterprise needs to know 5 cans of puppy food, 1 leash, 2 sacks of kitty litter, and 4 cans of kitten food were sold in Sale 17. The most appropriate assignment for the quantity sold attribute is to the relationship between inventory type and sale.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
15
The view in which the field data types and field properties for a database table can be seen in Microsoft Access is called the datasheet view.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
16
Fields for which the data type is "text" may be used in calculations in queries.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
17
You will be able to join two fields of different data types together as long as the data values match exactly.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
18
Referential integrity determines whether or not null values are allowed in a field.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
19
To communicate to Microsoft Access the fact that a primary key of one entity has been posted as a foreign key in another table, one must simply use the same field name and data type in each of the two tables.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
20
A primary key in Microsoft Access can only contain one field.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
21
Each column of a relational table represents a (an)

A) Relation
B) Record
C) Attribute
D) Cardinality
E) Tuple
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
22
The purpose of foreign keys is to

A) Uniquely and universally identify instances of the entity into which they are posted.
B) Link relations so the database can be used to store business data and to generate useful information.
C) Create null values in the database.
D) Determine minimum cardinalities of relationships between entities.
E) Determine maximum cardinalities of relationships between entities.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
23
In relational database design, the definition of a fact is:

A) The pairing of the primary key and candidate key.
B) The pairing of a candidate key data value with another attribute data value.
C) The placement of data into a cell.
D) A row in a table.
E) A foreign key.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
24
What potential problem exists in this table structure? <strong>What potential problem exists in this table structure?  </strong> A) The fact rule is violated if more than one account is at the same bank. B) The fact rule is violated if more than one account has the same account balance. C) The fact rule is violated if more than one bank has the same address. D) All of the above are potential problems. E) None of the above are potential problems.

A) The "fact rule" is violated if more than one account is at the same bank.
B) The "fact rule" is violated if more than one account has the same account balance.
C) The "fact rule" is violated if more than one bank has the same address.
D) All of the above are potential problems.
E) None of the above are potential problems.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
25
In relational database design, a low load indicates

A) Most values of the attribute are expected to be null.
B) All values of the attribute are expected to be null.
C) All values of the attribute are expected to be non-null.
D) Most values of the attribute are expected to be non-null.
E) Nothing is known about how many values of the attribute will be null.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
26
When implementing the relationships of an entity-relationship diagram into relational tables, the first things you should consider are the _________ cardinalities to minimize _________.

A) minimum, redundancy
B) minimum, load
C) maximum, redundancy
D) maximum, load
E) maximum, null values
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
27
On average, 99 out of 100 sales have related cash receipts (there is usually 1 sale out of 100 that either results in a sale return or becomes a bad debt). On average, 45 out of 100 cash receipts are related to sales (the company also generates revenue through rentals, which it keeps track of in a separate entity set; 50 out of 100 of its cash receipts result from those rentals, the other 5 out of 100 result from financing events). Considering both redundancy and load, which of the following would be the best relational table implementation solution?

A) Make a sale table, a cash receipt table, and a table for the relationship.
B) Make a sale table, a cash receipt table, and post the key of sale into the cash receipt table.
C) Make a sale table, a cash receipt table, and post the key of cash receipt into the sale table.
D) Both A and B are equally good solutions.
E) Both A and C are equally good solutions.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
28
The rule for converting conceptual model relationships with maximum participation cardinalities of "many to many" into relational database tables is

A) Create a separate table identified by the key attribute of the entity that has the most instances.
B) Create a relation that can have no attributes of its own.
C) Post the key attribute of either entity into the relation of the other entity.
D) Post the key attribute of the table with mandatory participation into the table with optional participation.
E) Create a separate table identified by a concatenated primary key comprised of the key attributes from both entity tables.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
29
If you have two entities that are related with a cardinality pattern of (1,1) - (1,N) how many tables must you include in a correctly designed database to represent this entity-relationship cluster?

A) one
B) two
C) three
D) four
E) five
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
30
Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model? <strong>Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model?    </strong> A) Example 1 B) Example 2 C) Example 3 D) Example 4 E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model. <strong>Which example relational tables contain data that best represents the cardinalities shown in the following conceptual model?    </strong> A) Example 1 B) Example 2 C) Example 3 D) Example 4 E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model.

A) Example 1
B) Example 2
C) Example 3
D) Example 4
E) None of the examples contains data that accurately represents the cardinalities depicted in the conceptual model.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
31
Given the following set of relational database tables, what must have been the conceptual model's participation cardinalities between the entities Sale and Inventory? <strong>Given the following set of relational database tables, what must have been the conceptual model's participation cardinalities between the entities Sale and Inventory?  </strong> A) (1,N) Sale -- (1,1) Inventory B) (1,N) Sale -- (0,N) Inventory C) (0,N) Sale -- (1,N) Inventory D) (1,1) Sale -- (0,N) Inventory E) (0,1) Sale -- (0,1) Inventory

A) (1,N) Sale -- (1,1) Inventory
B) (1,N) Sale -- (0,N) Inventory
C) (0,N) Sale -- (1,N) Inventory
D) (1,1) Sale -- (0,N) Inventory
E) (0,1) Sale -- (0,1) Inventory
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
32
Disregarding minimum cardinalities, when converting conceptual models into relational tables

A) A "one to one" (maximum cardinalities) relationship should be implemented with a separate table.
B) All relationships, regardless of maximum cardinalities, should be implemented with the primary key of one entity posted into the other entity's table as a foreign key.
C) A "one to many" (maximum cardinalities) relationship should be implemented by posting the key of the one entity table into the many entity table.
D) All relationships, regardless of maximum cardinalities, should be implemented with separate relationship tables.
E) A "one to many" (maximum cardinalities) relationship should be implemented by posting the key of the many entity table into the one entity table.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
33
An auditor examined the database for Trent's Textiles Corporation. During her examination, she noticed two cash disbursements in the Cash Disbursements table had blanks (null values) in the vendor number field. Assuming no data entry error has occurred, what is the most plausible explanation for these blanks?

A) There is no plausible explanation - an error must have occurred.
B) Referential integrity was not established between Vendor and Cash Disbursement
C) The participation of Cash Disbursement in the relationship with Vendor is optional
D) The participation of Vendor in the relationship with Cash Disbursement is mandatory
E) The participation of Cash Disbursement in the relationship with Vendor is mandatory
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
34
Imagine you are implementing the relationships of an entity-relationship diagram into relational table format. The rules for minimum cardinalities tell you to post the key of entity A into the table for entity B, and the rules for maximum cardinalities tell you to post the key of entity B into the table for entity A. What do you do?

A) Consider load, and if posting A into B would result in a low load, post A into B
B) Consider load, and if posting B into A would result in a low load, post B into A
C) Consider load, and if posting B into A would result in a high load, post B into A
D) Consider load, and if posting A into B would result in a high load, post A into B
E) Consider load, and if posting A into B would result in a medium load, post A into B
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
35
For which of these relationships does an efficient relational implementation of relationship AB require posting a foreign key? (in other words, for which relationship(s) would you always post a foreign key instead of making a separate table) <strong>For which of these relationships does an efficient relational implementation of relationship AB require posting a foreign key? (in other words, for which relationship(s) would you always post a foreign key instead of making a separate table)  </strong> A) JK only B) JK and PQ only C) PQ only D) YZ only E) JK, PQ, and YZ

A) JK only
B) JK and PQ only
C) PQ only
D) YZ only
E) JK, PQ, and YZ
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
36
When creating a table in Microsoft Access, which of the following fields should ALWAYS be specified as a "Number" field (and should thus NEVER be specified as either a "Date", "Currency", or "Text" field)?

A) Quantity sold
B) Customer number
C) Social security number
D) Invoice number
E) Total sales dollar amount
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
37
In Microsoft Access, enabling the "Cascade Update Related fields" option in the relationship layout accomplishes which of the following:

A) If the end user makes a change in the primary table it will change data in all tables.
B) If the end user makes a change in an unrelated table the primary table will be updated.
C) If the end user makes a change in the primary table the same change will be automatically be made in the related table.
D) If the end user makes a change in the related table the same change will be automatically be made in the primary table.
E) If the end user makes a change in an unrelated table, the related table will be updated.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following pieces of data would most likely be stored (rather than derived via a query) in a relational database based on the REA model and implemented in Microsoft Access?

A) The number of different inventory items purchased from a vendor during a month.
B) An individual customer's accounts receivable balance on a specific date.
C) The quantity on hand of a particular inventory item on a specific date.
D) Actual unit selling price of an inventory item on a specific sale.
E) The balance of the company's checking account on a specific date.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
39
Which of the implementation choices depicted below represents the most appropriate Microsoft Access implementation of the Sale-Inventory relationship portrayed in this conceptual model? <strong>Which of the implementation choices depicted below represents the most appropriate Microsoft Access implementation of the Sale-Inventory relationship portrayed in this conceptual model?  </strong> A) Implementation Choice 1 B) Implementation Choice 2 C) Implementation Choice 3 D) Implementation Choice 4 E) Implementation Choices 1 and 2 are equally correct Access implementations of the relationship.

A) Implementation Choice 1
B) Implementation Choice 2
C) Implementation Choice 3
D) Implementation Choice 4
E) Implementation Choices 1 and 2 are equally correct Access implementations of the relationship.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
40
Given the following relationship layout from Microsoft Access, which set of tables has data that is consistent with referential integrity? <strong>Given the following relationship layout from Microsoft Access, which set of tables has data that is consistent with referential integrity?  </strong> A) Table Choice 1 B) Table Choice 2 C) Table Choice 3 D) Table Choice 4 E) None of the table set choices have data with referential integrity.

A) Table Choice 1
B) Table Choice 2
C) Table Choice 3
D) Table Choice 4
E) None of the table set choices have data with referential integrity.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
41
Why are redundancies in data inefficient and problematic?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
42
Columns in a relational database structure are also called ______ ______, _______ or _______.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
43
Rows in a relational database structure are also called ______ ______, ________ or ________.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
44
What is the purpose of a primary key attribute in a relational database table?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
45
What is the correct action to take when converting a conceptual entity-relationship model into relational tables for a relationship that has a participation cardinality pattern of (1,1) - (1,1)?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
46
Say you have been brought in to check the work of a person who developed a database for Marty's Manufacturing. The conceptual model for Marty's Manufacturing includes the following relationship:
Say you have been brought in to check the work of a person who developed a database for Marty's Manufacturing. The conceptual model for Marty's Manufacturing includes the following relationship:   The relational database tables, which are implemented in Microsoft Access, include a table for Production Order and a table for Production Run. The primary key of Production Order (PO) is posted into the Production Run table as a foreign key. You are required in your inspection to ensure that each minimum and maximum cardinality in the conceptual model is appropriately reflected in the table design. What should you look for in the table design to determine whether the 1 minimum on Production Run is appropriately reflected in the database tables? The relational database tables, which are implemented in Microsoft Access, include a table for Production Order and a table for Production Run. The primary key of Production Order (PO) is posted into the Production Run table as a foreign key. You are required in your inspection to ensure that each minimum and maximum cardinality in the conceptual model is appropriately reflected in the table design. What should you look for in the table design to determine whether the 1 minimum on Production Run is appropriately reflected in the database tables?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
47
In Microsoft Access, how should one delete a relationship in the relationship layout?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
48
In Microsoft Access, does enabling cascade updates cause data entry of primary key values for new records to be automatically posted to the related foreign key fields? Explain your response.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
49
What is the first step in converting a conceptual entity-relationship model into relational database tables?
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
50
Salespeople for the Coverall Insurance Company meet with customers and try to sell them one or more of the company's five insurance policies. If they are successful in their sales efforts they obtain a signed insurance policy from the customer and the initial check for the first premium. These are sent to the company's headquarters for processing. The contract is kept on file, and the check is given to the cashier for processing into one of the company's cash accounts. Policy payment reminders are mailed to the customer (monthly or quarterly, depending on the terms of the policy). The customer sends subsequent policy payments to the cashier for processing.
Below is a partial REA business process level conceptual model for Coverall. Convert this conceptual model into a logical model consisting of a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys.
Salespeople for the Coverall Insurance Company meet with customers and try to sell them one or more of the company's five insurance policies. If they are successful in their sales efforts they obtain a signed insurance policy from the customer and the initial check for the first premium. These are sent to the company's headquarters for processing. The contract is kept on file, and the check is given to the cashier for processing into one of the company's cash accounts. Policy payment reminders are mailed to the customer (monthly or quarterly, depending on the terms of the policy). The customer sends subsequent policy payments to the cashier for processing. Below is a partial REA business process level conceptual model for Coverall. Convert this conceptual model into a logical model consisting of a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
51
Explain the relational logical structure that is used in relational databases.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
52
Describe the two ways in which the one-fact-one-place rule could be violated and explain how to prevent or fix the violations.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
53
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations.
The conceptual model from which the relational tables were derived is as follows:
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations. The conceptual model from which the relational tables were derived is as follows:   The relational tables include a Cash Account table and a Bank table as follows:  The relational tables include a Cash Account table and a Bank table as follows:
With respect to relational database design in Microsoft Access, explain the difference between enforcing referential integrity and creating a field property of required data entry. Use the following example to support your explanations. The conceptual model from which the relational tables were derived is as follows:   The relational tables include a Cash Account table and a Bank table as follows:
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
54
Convert the following conceptual model into a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys in your tables. List any assumptions you make with regard to load for any of the tables.
Convert the following conceptual model into a set of minimal relational database tables. Underline primary keys and write FK next to foreign keys in your tables. List any assumptions you make with regard to load for any of the tables.
Unlock Deck
Unlock for access to all 54 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 54 flashcards in this deck.