Chapter 5 Homework
Use the list of potential class names listed below. Identify the appropriate class name for each letter, A through F, in the diagram above. Enter the number of the class name next to the letter below. Potential class names: Accounts Receivable Beach Dude Products Cash Cash Receipts Clothing Lines Customers Customer Orders Customer Returns Sales Not a class in this Beach Dude diagram Enter the number of the class name next to the correct letter:
a. clothing lines b. beach dude products c. cash d. cash receipts e. not a class in this beach dude diagram f. customers
Which of the following is not part of the REA framework? Agents Type images Resources Events All of the choices are part of the REA framework.
all of the choices are part of the REA framework
Assume you are implementing a database from the preceding diagram. Which of these is the best way to implement the relationship identified by the number 5? Post the primary key of sales in inventory as a foreign key. Post the primary key of inventory in sales as a foreign key. Create a linking table between sales and inventory. All of these are acceptable. None of these are acceptable.
create a linking table between sales and inventory
The sales and collection process is the point of contact between the firm and which set of external business partners? Investors Customers Employees Vendors All of the choices are correct.
customers
Refer to the association marked with the number 7 in the preceding diagram. Assume that customers pay for all sales during the month in full at the end of the month. Which of the following is the best example of a business rule that constrains the association? Customers are allowed to pay for sales on credit. Customers must pay for sales at the time of the sale. Customers are prohibited from paying for sales on credit. Customers may delay payment for a sale upon approval by the manager. None of these are an example of an appropriate business rule for the association.
customers are allowed to pay for sales on credit
Refer to the association marked with the number 6 in the preceding diagram. Which of the following is the best description of the association? Each cash account may be associated with many cash receipts. Each cash account is associated with one cash receipt. Each cash account is associated with a minimum of one cash receipt. Each cash account is associated with a maximum of one cash receipt. None of these are a description of the association.
each cash account may be associated with many cash receipts
Refer to the association marked with the number 4 in the preceding diagram. Which of the following is the best description of the association? Each cash receipt may involve no customers. Each cash receipt is associated with only one customer. Each cash receipt may involve multiple customers. Each cash receipt is associated with a maximum of many customers. None of these are a description of the association.
each cash receipt is associated with only one customer
Refer to the association marked with the number 2 in the preceding diagram. Which of the following is the best description of the association? Each cash receipt may involve multiple employees. Each cash receipt may involve no employees. Each cash receipt is associated with only one employee. Each cash receipt is associated with a maximum of many employees. None of these are a description of the association.
each cash receipt is associated with only one employee
Refer to the association marked with the number 6 in the preceding diagram. Which of the following is the best description of the association? Each cash receipt is deposited into multiple cash accounts. Each cash receipt is associated with a minimum of zero cash accounts. Each cash receipt is associated with a maximum of many cash accounts. Each cash receipt is deposited into one cash account. None of these are a description of the association.
each cash receipt is deposited into one cash account
Refer to the association marked with the number 4 in the preceding diagram. Which of the following is the best description of the association? Each customer pays in cash at the time of the sale. Each customer is associated with a maximum of many cash receipts. Each customer is associated with more than one cash receipt. Each customer is associated with a minimum of one cash receipt. None of these are a description of the association.
each customer is associated with a maximum of many cash receipts
Refer to the association marked with the number 3 in the preceding diagram. Which of the following is the best description of the association? Each customer participates in a maximum of one sale. Each customer participates in at least one sale. Each customer participates in a minimum of zero sales. Each customer eventually participates in at least two sales. None of these are a description of the association.
each customer participates in a minimum of zero sales
Refer to the association marked with the number 1 in the preceding diagram. Which of the following is the best description of the association? Each employee participates in at least one sale. Each employee participates in a minimum of zero sales. Each employee participates in a maximum of one sale. Each employee participates in at least two sales. None of these are a description of the association.
each employee participates in a minimum of zero sales
Refer to the association marked with the number 5 in the preceding diagram. Which of the following is the best description of the association? Each inventory item must be sold at least once. Each inventory item may be sold many times. Each inventory item is associated with a minimum of one sale. Each inventory item is associated with a maximum of one sale. None of these are a description of the association.
each inventory item may be sold many times
Refer to the association marked with the number 3 in the preceding diagram. Which of the following is the best description of the association? Each sale is associated with a minimum of one customer. Each sale may involve multiple customers. Each sale is associated with a maximum of many customers. Each sale may involve no customers. None of these are a description of the association.
each sale is associated with a minimum of one customer
Refer to the association marked with the number 1 in the preceding diagram. Which of the following is the best description of the association? Each sale may involve multiple employees. Each sale may involve no employees. Each sale is associated with a minimum of one employee. Each sale is associated with a maximum of many employees. None of these are a description of the association.
each sale is associated with a minimum of one employee
Refer to the association marked with the number 5 in the preceding diagram. Which of the following is the best description of the association? Each sale may involve a maximum of many inventory items. Each sale may involve a minimum of zero inventory items. Each sale involves one inventory item. Each sale may involve two inventory items. None of these are a description of the association.
each sale may involve a maximum of many inventory items
What is the purpose of an intermediate error event? Indicates a change in flow due to a process exception Indicates the end of a process Indicates the start of a collapsed subprocess Describes the activities that will occur when there is not an error None of these choices are correct.
indicates a change in flow due to a process exception
Refer to the association marked with the number 5 in the preceding diagram. What is the best description of the type of inventory that this company sells? High-value items such as automobiles Customized products Items identified by UPC (bar codes) Tickets to concerts None of these correctly describes the type of inventory.
items identified by UPC (bar codes)
Refer to the association marked with the number 2 in the preceding diagram. Which of the following is the best description of the association? Only cashiers handle cash receipts. Each employee is associated with many cash receipts. One employee may be associated with many cash receipts. Each employee is associated with a minimum of one cash receipt. None of these are a description of the association.
one employee may be associated with many cash receipts
Assume you are implementing a database from the preceding diagram. Which of these is the best way to implement the relationship identified by the number 6? Post the primary key of cash in cash receipts as a foreign key. Post the primary key of cash receipts in cash as a foreign key. Create a linking table between cash and cash receipts. All of these are acceptable. None of these are acceptable.
post the primary key of cash in cash receipts as a foreign key
Assume you are implementing a database from the preceding diagram. Which of these is the best way to implement the relationship identified by the number 3? Post the primary key of customers in sales as a foreign key. Post the primary key of sales in customers as a foreign key. Create a linking table between sales and customers. All of these are acceptable. None of these are acceptable.
post the primary key of customers in sales as a foreign key
Refer to the association marked with the number 5 in the preceding diagram. Which of the following is the best example of a business rule that constrains the association? Sales are allowed if they include at least one inventory item. Sales are prohibited if they include more than one inventory item. Sales must include at least one inventory item. Sales are allowed with the manager's approval in advance. None of these are the best example of a business rule.
sales must include at least one inventory item
Which of the following describes message flows between pools? Orchestrations Sequence flows Choreography Intermediate events None of these choices are correct.
choreography
Refer to the association marked with the number 3 in the preceding diagram. What is the best interpretation if the minimum multiplicity next to Customers is 0 instead of 1? Some customers don't pay. Some customers place orders but don't pick up their items. Some sales are made in cash and customer information is not recorded. Some customers never buy anything. None of these interpret this situation appropriately.
some sales are made in cash and customer information is not recorded
Refer to the association marked with the number 7 in the preceding diagram. Assume that customers pay for all sales in full at the end of the month. Which of the following is the multiplicity that should be found next to the cash receipts class? 0..* *..* 0..1 1..1 1..*
0..1
Use the list of potential multiplicities listed below to identify the multiplicities that should replace the numbers, 1 to 16, on the diagram. Potential multiplicities: 0..0 0..1 1..1 0..* 1..* *..* Not an association for the Beach Dude diagram so no multiplicity required Enter the number of the correct multiplicity for each number on the diagram here.
1. 0..1 2. 0..* 3. 1..* 4. 1..1 5. 0..* 6. 1..* 7. 0..1 8. 0..* 9. 0..* 10. 0..* 11. 1..1 12. 0..* 13. 1..1 14. 1..1 15. Not an association for the Beach Dude diagram so no multiplicity required 16. Not an association for the Beach Dude diagram so no multiplicity required
Refer to the association marked with the number 7 in the preceding diagram. Assume that customers pay for all sales during the month in full at the end of the month. Which of the following is the multiplicity that should be found next to the sales class? 0..* *..* 0..1 1..1 1..*
1..*
Assume you are implementing a database from the preceding diagram. How many tables would the database include? 6 7 5 4 You can't tell from the information provided.
7