HyperCase Additional Exercises

Chapter 18 - Object-Oriented Systems Analysis and Design Using UML

 

  1. Modify the CRC cards for the GEMS system by adding the following. You may need to modify the existing CRC cards by adding properties and collaborators.

    1. Add a new card for a Client. Each Client may work on many projects, has information such as name, address, telephone number, contact person. Each client may have many projects but is located in only one country.
    2. Add a new card for Country. Each project is done in only one country.
    3. Add a new card for Contact Person. Each contact person represents MRE locally within one country. Each country may have many contact persons.
    4. Add a new card for Deliverable. Each deliverable may be for many projects and each project may have many deliverables.

  2. Create CRC cards for the Ecommerce System. Include the following classes: Customer, Item, Order, Order Item.

  3. Modify the GEMS class diagram to include Requirements. Each resource may be capable of fulfilling several requirements, but each task has only one requirement.

  4. Create a class diagram for the Ecommerce System.

  5. Create a whole/part class diagram for a training package. Refer to the Blandford interview.

  6. Create a whole/part class diagram for an ecommerce order. Each order may contain many order-items.

  7. Create a gen/spec class diagram for an employee in the Training Unit. Each employee may be either a Physician, Writer, Graphic Designer, or Analyst.

  8. Write a use case description for Build Training Project. Refer to the Blandford interview for details.

  9. Create an activity diagram for the Logon User ID and Password use case. Refer to the use case specifications for details.

  10. Create an activity diagram for the Report Project Progress use case. Refer to the use case specifications for details.

  11. Create an activity diagram for the Add Client use case. Refer to the use case specifications for details.

  12. Create an activity diagram for the Add Resource use case. Refer to the use case specifications for details.

  13. Create an activity diagram for the Provide Project Status use case. Refer to the use case specifications for details.

  14. Create an activity diagram for the check out customer order for the Ecommerce System. Include sending an email order confirmation to the customer, sending the order to Terra Shipping and sending a shipping confirmation email to the customer when the details are returned from Terra Shipping.

  15. Create a sequence diagram for the main path of the Logon User ID and Password use case. Refer to the use case specifications for details.

  16. Create a sequence diagram for the main path of the Report Project Progress use case. Refer to the use case specifications for details.

  17. Create a sequence diagram for the main path of the Add Client use case. Refer to the use case specifications for details.

  18. Create a sequence diagram for the main path of the Add Resource use case. Refer to the use case specifications for details.

  19. Create a sequence diagram for the main path of the Provide Project Status use case. Refer to the use case specifications for details.

  20. Create a sequence diagram for the main path of the check out customer order for the Ecommerce System.

  21. Create a statechart diagram for the Assignment class. Assignments are created for tasks, resources are selected, hours are updated, and assignments are finished.

  22. Create a statechart diagram for the Task class. Tasks are created, but not started, planned, sometimes put on hold, currently being worked on, and are completed.

  23. Create a communication diagram for the Assignment class. Assignments are created for tasks, resources are selected, hours are updated, and assignments are finished.

  24. Create a communication diagram for the Task class. Tasks are created, but not started, planned, sometimes put on hold, currently being worked on, and are completed.

  25. Create a statechart diagram for an order in the Ecommerce system. Think about the different states that an order can exist in, such as created, waiting for item selection, inspected, packaged, shipped, received, damaged, returned.

  26. Create a communication diagram for an order in the Ecommerce system. Think about the different states that an order can exist in, such as created, waiting for item selection, inspected, packaged, shipped, received, damaged, returned.

  27. In a paragraph, describe where it would be useful to set cookies for the GEMS system. What kind of information would be useful to store in the cookie?

  28. In a paragraph, describe where it would be useful to set cookies for the Ecommerce system. What kind of information would be useful to store in the cookie?