Use Cases 2 - PowerPoint PPT Presentation

About This Presentation
Title:

Use Cases 2

Description:

(see link from ANGEL course page) 8. Refining Use Cases. Describe sequences ... Brief description: User places food in microwave and cooks it for desired period ... – PowerPoint PPT presentation

Number of Views:14
Avg rating:3.0/5.0
Slides: 20
Provided by: jimw3
Category:
Tags: angel | cases | food | use

less

Transcript and Presenter's Notes

Title: Use Cases 2


1
Use Cases 2
  • CSSE 371 Software Requirements and Specification
    Mark Ardis, Rose-Hulman InstituteSeptember 20,
    2004

2
Outline
  • Computing in 1968
  • Template for use cases
  • Extending use cases
  • Including use cases

3
Computing in 1968
4
Computing in 1968
5
Computing in 1968
6
Computing in 1968
7
Doug Engelbart Video
  • (see link from ANGEL course page)

8
Refining Use Cases
  • Describe sequences of events for flows
  • Describe pre-conditions
  • Describe post-conditions
  • Fill in special requirements

9
Use Case Template
  1. Name
  2. Brief description
  3. Actors
  4. Basic flow
  5. Alternate flows
  6. Pre-conditions
  7. Post-conditions
  8. Special requirements

10
Microwave Example
Cook Food
User
11
Cook Food Use Case 1/4
  1. Name Cook Food
  2. Brief description User places food in microwave
    and cooks it for desired period of time at
    desired power level.
  3. Actors User

12
Cook Food Use Case 2/4
  • Basic flow
  • User opens door and places food in unit
  • User enters time for cooking
  • User pushes start button
  • Unit cooks food
  • Unit beeps

13
Cook Food Use Case 3/4
  • Alternate flows
  • User cancels time before starting
  • User cancels cooking before finished
  • User selects reduced power level before pushing
    start button

14
Cook Food Use Case 4/4
  • Pre-conditions
  • Unit is plugged in
  • Unit is in ready state
  • Post-conditions
  • Food is cooked or user cancelled operation
  • Special requirements
  • Timer should display remaining time to finish
    while cooking
  • Default power setting should be "high"

15
Extending Use Cases
  • Extend an existing use case instead of redefining
    it

16
Microwave Extension
ltltextendgtgt
User
17
Including Use Cases
  • Frequent sequences of events may be defined as
    use cases
  • Including a use case is like calling a subroutine

18
Microwave Inclusion
ltltincludegtgt
User
19
Cook Food Inclusion
  • Basic flow
  • User opens door and places food in unit
  • User performs Set Timer use case
  • User pushes start button
  • Unit cooks food
  • Unit beeps
Write a Comment
User Comments (0)
About PowerShow.com