Chapter 7 "Use Cases" Homework

Created: Sep 26, 2007

Remember our four steps in creating use case models:

  1. Identify business actors... create an "Actor Glossary" (Figure 7-8, page 252)
  2. Identify use cases... create a "Use Case Glossary" (Figure 7-10, page 254)
  3. Construct a use case diagram... there's a crappy example in the book (Figure 7-11, page 256)
  4. Write use case narratives... there's a short example (Figure 7-12, page 257) and "extended" example (Figure 7-13, page 259)

Note: If you get stuck, creating a "Context Diagram" (Figure 7-9, page 253) may actually help speed your task. You can start with this to help you identify your actors, and then go from there. Seeing all those actors usually can get your juices flowing.

This homework is worth a point. You can work alone or with a buddy.

For the two problems below:

  • Do the first three steps: actors, use cases, and use case diagram. Do your diagram by hand. Make it a subset of your total use cases, if you like.
  • Do narratives for only two of your use cases. Do one in the book's "short" form and one in the "extended" form.
Bring your goodies to class on Monday.

good luck... yow, bill


1. Buying some glasses

Create a set of use cases for the process of buying glasses from the viewpoint of the patient. The first step is to see an eye doctor who will give you a prescription. Once you have a prescription, you go to a glasses store, where you select your frames and place the order for your glasses. And so on...

2. Renting a video

Create a set of use cases for a video store. Of course, you've got customers coming in renting videos and all that but don't forget to model how the videos get there in the first place.

william.krieger.faculty.noctrl.edu ~ wtkrieger@noctrl.edu