use case presentation

Upload: jona-lyne

Post on 08-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Use Case Presentation

    1/35

    `

    One of the primary challenges is the ability toelicit the correct and necessary systemrequirements from the stakeholders andspecify them in a manner understandable tothem so those requirements can be verified

    and validated.

    1

    The hardest single part of building a software system is deciding precisely

    what to build. No other part of the conceptual work is a difficult as

    establishing the detailed technical requirements, including all the interfaces

    to people, to machines, and to other software systems. No other work so

    cripples the resulting system if done wrong. No other part is more difficult to

    rectify later. Fred Brooks

    4/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    2/35

    2Source: The Standish Group International, Inc., Chaos: A Recipe forSuccess

    canceled

    before

    completion

    Over budget,

    late, or without

    needed features

    4/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    3/35

    User-centered development a process ofsystems development based on understandingthe needs of the stakeholders and the reasonswhy the system should be developed.

    Use-case modeling

    the process of modelinga systems functions in terms of businessevents, who initiated the events, and how thesystem responds to those events. Use-case modeling has roots in object-oriented

    modeling.

    Gaining popularity in non-object developmentenvironments because of its usefulness incommunicating with users.

    Compliments traditional modeling tools.

    34/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    4/35

    ` Provides tool for capturing functionalrequirements.

    ` Assists in decomposing system into manageablepieces.

    ` Provides means of communicating withusers/stakeholders concerning systemfunctionality in language they understand.

    ` Provides means of identifying, assigning, tracking,

    controlling, and managing system developmentactivities.

    ` Provides aid in estimating project scope, effort,and schedule.

    44/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    5/35

    ` Aids in defining test plans and test cases.

    ` Provides baseline for user documentation.

    ` Provides tool for requirements traceability.

    ` Provides starting point for identification of data

    objects or entities.

    ` Provides specifications for designing user andsystem interfaces.

    ` Provides means of defining database access

    requirements.` Provides framework for driving the system

    development project.

    54/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    6/35

    Use case a behaviorally related sequence of steps(scenario), both automated and manual, for the purposeof completing a single business task. Description of system functions from the perspective of external

    users in terminology they understand.

    Use-case diagram a diagram that depicts theinteractions between the system and external systemsand users. graphically describes who will use the system and in what ways

    the user expects to interact with the system.

    Use-case narrative a textual description of thebusiness event and how the user will interact with thesystem to accomplish the task.

    64/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    7/35

    7-74/25/2011Prepared by Jonalyn G. Ebron for Adv

    Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    8/35

    Use case subset of the overall system functionality

    Represented by a horizontal ellipse with name

    of use case above, below, or inside the ellipse.

    Actor anyone or anything that needs to interact with

    the system to exchange information.

    human, organization, another information system,

    external device, even time.

    Temporal event a system event triggered by time.

    The actor is time.

    84/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    9/35

    ` Primary business actor The stakeholder that primarily benefits from the execution of theuse case.

    e.g. the employee receiving the paycheck

    ` Primary system actor The stakeholder that directly interfaces with the system to

    initiate or triggerthe business or system event. e.g. the bank teller entering deposit information

    ` External server actor The stakeholder that responds to a request from the use case.

    e.g. the credit bureau authorizing a credit card charge

    ` External receiver actor The stakeholder that is not the primary actorbut receives

    something of value from the use case.

    e.g. the warehouse receiving a packing slip

    94/25/2011Prepared by Jonalyn G. Ebron for Adv

    Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    10/35

    Association a relationship between an actor and ause case in which an interaction occurs between them. Association modeled as a solid line connecting the actor and the

    use case. Association with an arrowhead touching the use case indicates

    that the use case was initiated by the actor. (1) Association lacking arrowhead indicates a receiver actor. (2) Associations may be bidirectional or unidirectional.

    104/25/2011Prepared by Jonalyn G. Ebron for Adv

    Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    11/35

    Extension use case use case consisting of steps

    extracted from another use case to simplify the original. Extends the functionality of the original use case.

    Generally not identified in the requirements phase

    Extends relationship represented as arrow beginning at the

    extension use case and pointing to use case it is extending.

    Labeled .

    114/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    12/35

    Abstract use case use case that reduces redundancy

    in two or more other use cases by combining commonsteps found in both. Available by any other use case that requires its functionality.

    Generally not identified

    in requirements phase Relationship between

    abstract use caseand use case thatuses it is called auses (orincludes)relationship.

    Depicted as arrowbeginning at

    original use caseand pointing touse case it is using.

    Labeled .

    124/25/2011Prepared by Jonalyn G. Ebron for Adv

    Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    13/35

    Depends On use case relationship that specifieswhich other use cases must be performed before thecurrent use case. Can help determine

    sequence in which

    use cases need tobe developed.

    Depicted as arrowbeginning at oneuse case andpointing to use case

    it depends on. Labeled

    .

    134/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    14/35

    Inheritance a use case relationship in whichthe common behavior of two actors initiating thesame use case is extrapolated and assigned to a

    newabstract

    actor to reduce redundancy. Other actors can inherit the interactions of the abstractactor.

    Depicted as an arrow beginning at oneactor and pointing to the abstract actor whoseinteractions the first actor inherits.

    144/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    15/35

    154/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    16/35

    ` Objective is to elicit and analyze enough requirementsinformation to prepare a model that: Communicates what is required from a user perspective.

    Is free of specific details about how system will be implemented.

    ` To effectively estimate and schedule project, may needto include preliminary implementation assumptions.

    ` Steps1. Identify business actors.

    2. Identify business use cases.

    3. Construct use-case model diagram.4. Documents business requirements use-case narratives.

    164/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    17/35

    ` When looking for actors, ask the following

    questions: Who or what provides inputs to the system?

    Who or what receives outputs from the system?

    Are interfaces required to other systems?

    Are there events that are automatically triggered at a

    predetermined time?

    Who will maintain information in the system?

    `Actors should be named with a noun or noun

    phrase

    174/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    18/35

    184/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    19/35

    Business Requirements Use Case - ause case created during requirementsanalysis to capture the interactionsbetween a userand the system free oftechnology and implementation details.

    During requirements analysis, strive to

    identify and document only the mostcritical, complex, and important use cases,often called essentialuse cases.

    194/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    20/35

  • 8/6/2019 Use Case Presentation

    21/35

    214/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    22/35

    7-22continued4/25/2011

    Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    23/35

    23continued4/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    24/35

    7-244/25/2011

    Prepared by Jonalyn G. Ebron for AdvSystems Analysis & Design

  • 8/6/2019 Use Case Presentation

    25/35

    7-254/25/2011

    Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    26/35

    ` Document first at high level to quickly obtain an

    understanding of the events and magnitude of the

    system.

    ` Then expand to a fully-documented businessrequirement narrative. Include the use cases typical course of events and its

    alternate courses.

    264/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    27/35

    7-274/25/2011

    Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    28/35

  • 8/6/2019 Use Case Presentation

    29/35

  • 8/6/2019 Use Case Presentation

    30/35

    304/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    31/35

    ` Use-case model can drive entire developmenteffort.

    ` Project manager or systems analyst usesbusiness requirements use cases to estimate

    and schedule the build cycles of the project. Build cycles are scoped on the basis of the

    importance of the use case and the time it takes toimplement the use case.

    ` To determine importance of use cases, will

    create: Use-case ranking and evaluation matrix Use-case dependency diagram

    314/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    32/35

    324/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    33/35

    Use-case dependency diagram graphicaldepiction of the dependencies among use cases.

    Provides the following benefits:

    x

    Graphical depiction of the systems events and theirstates enhances understanding of systemfunctionality.

    x Helps identify missing use cases.

    x Helps facilitate project management by depicting

    which use cases are more critical.

    334/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    34/35

    344/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design

  • 8/6/2019 Use Case Presentation

    35/35

    ` In most projects, the most important use cases aredeveloped first.

    Use-case ranking and priority matrix a tool used to

    evaluate use cases and determine their priority.

    Evaluates use cases on 1-5 scale against six criteria.

    1. Significant impact on the architectural design.

    2. Easy to implement but contains significant functionality.

    3. Includes risky, time-critical, or complex functions.

    4. Involves significant research or new or risky technology.

    5. Includes primary business functions.

    6. Will increase revenue or decrease costs.

    354/25/2011Prepared by Jonalyn G. Ebron forAdv Systems Analysis & Design