Required:
Identify the classes and associations in the following narrative and draw a class diagram with multiplicities. Then answer questions 1 to 8 below:
Paige ran a small frozen yogurt shop. She bought several flavors of frozen yogurt mix from her yogurt supplier. She bought plastic cups in several sizes from another supplier. She bought cones from a third supplier. She counts yogurt and cones as inventory, but she treats the cups as operating expense and doesn’t track any cup inventory.
1. How many classes did you include in your diagram?
2
3
4
5
2. Which of the following best describes the names of the classes that you selected for your diagram?
Yogurt, Cones, Supplier
Inventory, Purchases, Suppliers
Plastic cups, Paige, Cones
Paige, Yogurt Shop, Supplier
3. If there is an association between a SUPPLIERS class and a PURCHASES class, which of the following best describes the multiplicities next to the PURCHASES class? Assume that SUPPLIERS are added to the database before the first purchase.
Minimum 0, Maximum 1
Minimum 0, Maximum *
Minimum 1, Maximum 1
Minimum 1, Maximum *
There is no association between SUPPLIERS and PURCHASES in the model
4. If there is an association between a SUPPLIERS class and a PURCHASES class, which of the following best describes the multiplicities next to the SUPPLIERS class? Assume that SUPPLIERS are added to the database before the first purchase.
Minimum 0, Maximum 1
Minimum 0, Maximum *
Minimum 1, Maximum 1
Minimum 1, Maximum *
There is no association between SUPPLIERS and PURCHASES in the model
5. If there is an association between an INVENTORY class and a PURCHASES class, which of the following best describes the multiplicities next to the PURCHASES class? Assume that INVENTORY records are added to the database before the first purchase.
Minimum 0, Maximum 1
Minimum 0, Maximum *
Minimum 1, Maximum 1
Minimum 1, Maximum *
There is no association between INVENTORY and PURCHASES in the model
6. If there is an association between an INVENTORY class and a PURCHASES class, which of the following best describes the multiplicities next to the INVENTORY class? Assume that INVENTORY records are added to the database before the first purchase.
Minimum 0, Maximum 1
Minimum 0, Maximum *
Minimum 1, Maximum 1
Minimum 1, Maximum *
There is no association between INVENTORY and PURCHASES in the model
7. If there is an association between a PAIGE class and a SUPPLIERS class, which of the following best describes the multiplicities next to the PAIGE class? Assume that SUPPLIERS records are added to the database before the first purchase.
Minimum 0, Maximum 1
Minimum 0, Maximum *
Minimum 1, Maximum 1
Minimum 1, Maximum *
There is no association between PAIGE and SUPPLIERS in the model
8. Assume that Paige’s yogurt business expanded and Paige hired several employees to purchase inventory from suppliers. What class(es) and association(s) would you add to the diagram to track this information?
An EMPLOYEES class and an association between EMPLOYEES and PURCHASES.
An EMPLOYEES class and an association between EMPLOYEES and SUPPLIERS.
An EMPLOYEES class and an association between EMPLOYEES and INVENTORY.
An EMPLOYEES class and an association between EMPLOYEES and PAIGE.
None of these is a correct addition to the diagram.
| 1 | 3 |
| 2 | Inventory, Purchases, Suppliers |
| 3 | Minimum 1, Maximum * |
| 4 | Minimum 0, Maximum * |
| 5 | Minimum 1, Maximum * |
| 6 | Minimum 0, Maximum * |
| 7 | There is no association between PAIGE and SUPPLIERS in the model |
| 8 | An EMPLOYEES class and an association between EMPLOYEES and PURCHASES. |
Required: Identify the classes and associations in the following narrative and draw a class diagram with...
Please help
Please help. thank you
Prig·rnn n smell frozen yogurt shop. Sh. bought severnl flavors of fro en yogurt mix from her yegurt 8uPplier, Sh. bought 1. How meny classes did you include in your cliegram? 2 2, which of the following best describeらthe nermeちof the cle55e5 that you elected for your diegram? Ple, stic cups. P.ige. Cone5 ● Yogurt.cones. Supplier Paige. Yogurt Sh Supplier Inventory, Purchases Suppliers 3. lf th re iちⓜn ess cietion between ® SUPPLIERS ele界憋ⓝnd...
1. Which of the following best describes the meaning of the
multiplicities next to the number 1 in the preceding diagram?
Stocks are traded in only one exchange.
Stocks are traded in at least one exchange.
Stocks are traded in a minimum of zero exchanges.
Stocks are traded in a maximum of many exchanges.
Both c and d are correct.
2. Which of the following best describes the meaning of the
multiplicities next to the number 2 in the preceding...
Refer to the following integrated diagram, showing part of the
purchases and sales processes linked to the conversion process, for
Questions 11 through 25.
7
Refer to the association marked with the number 1 in the
preceding diagram. Which of the following is the best description
of the association?
Multiple Choice
Each supplier participates in a minimum of zero purchases.
Each supplier participates in at least one purchase.
Each supplier participates in a maximum of one purchase.
Supplier in the...
Refer to the association marked with the number 5 in the
preceding diagram. Which of the following is the best description
of the association?
A. Purchases increase the quantity-on-hand of inventory
items.
B. Each purchase includes a minimum of zero inventory items.
C. Each purchase includes a minimum of two inventory items.
D. A purchase may be associated with a maximum of one inventory
item.
E. None of these are a description of the association.
0.. Purchase Orders Inventory Purchases...
Use the following narrative to complete the UML class diagram with classes, associations, and multiplicities outlined below and then answer questions : The Multnomah County Library provides a variety of services to citizens of the county. First, the library offers a number of traditional books to be checked out by patrons. Each patron may check out up to 5 books at one time. Although library services are offered to all county citizens, each patron must obtain a library card to...
Multiple Choice
A) A cash disbursement must be made by the employee who made the
purchase.
B) An employee can make a maximum of one cash disbursement.
C) Each cash disbursement must be made by one employee.
D) A cash disbursement can be made by a combination of several
employees.
Saved Help Save & Exit Submit In the following diagram, which of the following provides the best interpretation of the multiplicities for the association between the cash disbursements and employees...
Draw a UML class diagram that describes the following things. Use the standard UML stereotypes where appropriate. Show visibility, but do not show method signatures, attribute types, constructors, or destructors. Where appropriate distinguish between class and instance attributes and between class and instance methods. (Assume that all are instance attributes/methods unless otherwise indicated.) When an attribute is not another class in the diagram, show it inside the appropriate compartment. Otherwise show it as an aggregation relationship, with the appropriate role...
2. Use the following list of attributes and Information from the UML Class Diagram to identify the number of the appropriate attribute for each blank In the table listing below. Attributes 1. Cash account # 2 Cash account balance 3. Check # 4. Check amount 5. Check date 6. Employee # 7. Employee name 8. Inventory category # 9. Inventory category description 10. Number of rental inventory Items available in this category 11. Purchase order # 12 Purchase order date...
Draw the domain class diagram for the following question. You should identify the necessary classes and the types of relationships connecting them, in order to closely model the provided information. Include the names, role names, and multiplicities for all associations. Provide the directionality for the aggregations and reflexive associations, if you use them in your diagram. Identify at least two attributes for each class. Methods are not required. Question: At a university, courses are offered as course sections, and a...
43. Using a generic conversion UML class diagram as a starting point, which of the following best describes how to find work-in-process inventory? Multiple Choice It is displayed in the UML class diagram as a Resource class. It is displayed in the UML class diagram as a Type Image class. It is calculated based on accumulated materials issued, labor and overhead. It is not displayed in the UML class diagram, but will become a table in the relational database as...