Use Cases & Essential Diagrams
Part 1: Use Cases (Chapter 7)
Textbook assignment (may be slightly altered from book):
7.5. Develop a complete use case for one of the following activities:
Making a withdrawal at an ATM
Using your charge card for a meal at a restaurant
Searching for books (on a specific topic) using an online bookstore
7.6. Write a user story for one of the activities listed in Problem 7.5.
7.7. Consider the use case you created in Problem 7.5 and write a nonfunctional requirement for the application.
Applying concepts: Use case diagram
7.1 Create a use case diagram for the use case you developed above. See Visio templates to help in creating your diagram.
Insert diagram as a jpeg below the responses to the textbook assignments.
Part 2: Diagrams
Textbook assignment :
8.3. The department of public works for a large city has decided to develop a Web-based pothole tracking and repair system (PHTRS). A description follows:
Citizens can log onto a website and report the location and severity of potholes. As potholes are reported they are logged within a “public works department repair system” and are assigned an identifying number, stored by street address, size , location , district , and repair priority . Work order data are associated with each pothole and include pothole location and size, repair crew identifying number, number of people on the crew, equipment assigned, hours ap(work in progress, repaired, temporary repair, not repaired), amount of filler material used, and cost of repair . Finally, a damage file is created to hold information about reported damage due to the pothole and includes the citizen’s name, address, phone number, type of damage, and dollar amount of damage. PHTRS is an online system; all queries are to be made interactively.
Draw a UML use case diagram PHTRS system. You’ll have to make a number of assumptions about the manner in which a user interacts with this system. Visio has templates to get you started.
8.4. Write two or three use cases that describe the roles of various actors in the PHTRS described in Problem 8.3.
8.5. Develop an activity diagram for one aspect of PHTRS. Visio has several templates you can use or create your own.
8.6. Develop a swimlane diagram for one or more aspects of PHTRS. You can find a base template in Visio for this or create your own.
8.7. Develop a class model for the PHTRS system presented in Problem 8.3. There are several templates in Visio for class models.
8.8. Develop a complete set of CRC model index cards on the product or system you chose as part of Problem 8.3. These can be created as tables in Word. Use the example in Figure 8.5 as a template for formatting.