1. Business
  2. Accounting
  3. required identify the classes and associations in the following narrative...

Question: required identify the classes and associations in the following narrative...

Question details

Required:

Identify the classes and associations in the following narrative and draw a class diagram with multiplicities. Then answer questions 1 to 8 below:

NUMBER 1 AND 2 ARE ALREADY ANSWERED... ANSWER 3-8!

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 (correct answer)

  • 4

  • 5

2. Which of the following best describes the names of the classes that you selected for your diagram?

  • Inventory, Purchases, Suppliers (correct answer)

  • Plastic cups, Paige, Cones

  • Paige, Yogurt Shop, Supplier

  • Yogurt, Cones, 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.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution