Use Case Diagram (UCD) Yong Choi BPA.

Slides:



Advertisements
Similar presentations
Chapter 11 Designing the User Interface
Advertisements

Chapters 7 & 9 System Scope
Chapter 7 Structuring System Process Requirements
UCD Yong Choi BPA. What is UCD? A use case is a set of scenarios that describing an interaction between a user and a system. – What a system does…rather.
MODELING SYSTEM REQUIREMENTS WITH USE CASES
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Use-case Modeling.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Use Case Modeling Written by: Zvika Gutterman Adam Carmi.
7.1 Dr. Honghui Deng Assistant Professor MIS Department UNLV MIS 370 System Analysis Theory.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
MODELING SYSTEM REQUIREMENTS WITH USE CASES Pertemuan 07 – 08 Matakuliah: D0584/Analisis Sistem Informasi Tahun : 2008.
Bina Nusantara 7 C H A P T E R MODELING SYSTEM REQUIREMENTS WITH USE CASES.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Modeling System Requirements with Use Cases
© Copyright Eliyahu Brutman Programming Techniques Course.
Functional Modeling Chapter 6.
Chapter 13: Designing the User Interface
An Introduction to Use-Case Modeling
Chapter 7 Structuring System Process Requirements
USE Case Model.
RUP Requirements RUP Artifacts and Deliverables
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
14 Chapter 11: Designing the User Interface. 14 Systems Analysis and Design in a Changing World, 3rd Edition 2 Identifying and Classifying Inputs and.
Chapter 7 Structuring System Process Requirements
1 Chapter 2 (Cont.) The BA’s Perspective on Object Orientation.
By: Md Rezaul Huda Reza  Process of modelling a system’s functions in terms of:  business events  who initiated the events.
From Use Cases to Test Cases 1. A Tester’s Perspective  Without use cases testers will approach the system to be tested as a “black box”. “What, exactly,
Use Cases Todd S. Bacastow Professor of Practice John A. Dutton e-Education Institute The Pennsylvania State University.
7 MODELING SYSTEM REQUIREMENTS WITH USE CASES C H A P T E R
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
Faculty of Computer & Information Software Engineering Third year
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Faculty of Computer & Information
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
2131 Structured System Analysis and Design By Germaine Cheung Hong Kong Computer Institute Lecture 8 (Chapter 7) MODELING SYSTEM REQUIREMENTS WITH USE.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
7-1 IS Development Project Track Record Source: The Standish Group International, Inc., “Chaos: A Recipe for Success” canceled before completion Over budget,
Object-Oriented Analysis and Design with the Unified Process by Şensev Alicik.
Analysis Modeling CpSc 372: Introduction to Software Engineering
Use Case Model Use case diagram. Relevant Requirements Artifacts Use-Case Model Supplementary Specification Use-Case Specifications... Glossary Actors.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Use Cases Todd S. Bacastow Professor of Practice John A. Dutton e-Education Institute The Pennsylvania State University.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
بسم الله الرحمن الرحيم اللهم صلي علي احمد السجايا محمد الخصال شفيع البرايا سليم النوايا صادق الاقوال.
Chapter 3: Introducing the UML
Spring 2007 Week 10: Object Modeling (1)Use Case Model IFS410: Advanced Analysis and Design.
UML - Development Process 1 Software Development Process Using UML.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Ondřej Přibyl Faculty of Transportation Sciences, CTU DESIGN OF ITS SYSTEMS Project support 1 3 PROJECT SUPPORT Use cases.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Business Process and Functional Modeling
Use case Diagram.
Unified Modeling Language
Start at 17th March 2012 end at 31th March 2012
Object Oriented Analysis and Design
An Introduction to Use-Case Modeling
Requirement Modeling System Analysis & Design Course
Presentation transcript:

Use Case Diagram (UCD) Yong Choi BPA

What is UCD? A use case is a set of scenarios that describing an interaction between a user and a system.  What a system does…rather than how a system does A use case diagram displays the relationship among actors and use cases.  The two main components of a use case diagram are use cases and actors.

Actor and Use Cases An actor represents a user or another system that will interact with the system you are modeling. A use case is an external view of the system that represents some action the user might perform in order to complete a task.

When to Use: Use Cases Diagrams The use-case model can be used to drive the entire system development effort (the biggest benefit). Use cases are used in almost every project.  The are helpful in exposing requirements and planning the project. During the initial stage of a project most use cases should be defined, but as the project continues more might become visible. 

How to Draw: Use Cases Diagrams Use cases are a relatively easy UML diagram to draw. Following example (next slide) is a very simplified example.  The example is only meant as an introduction to the UML and use cases. 

Example: Placing Order Start by listing a sequence of steps a user might take in order to complete an action.  For example a cuatomer placing an order with a sales company might follow these steps.  Browse catalog and select items. Call sales representative. Supply shipping information. Supply payment information. Receive conformation number from salesperson.

Source: http://atlas.kennesaw.edu/~dbraun/csis4650/A&D/index.htm

Sample Use-Case Diagram Three Elements 1. Use case: results of decomposition 2. Actor 3. Relationship Use-Case = business event Chapter 7 - Modeling System Requirements With Use Cases

What to put in the "System" box? The following represents the use cases for a camera. No photographer would ever pick up their camera, open the shutter, and then put it down, satisfied with their photographic session for the day. The crucial thing to realize is that these behaviors are not done in isolation, but are rather a part of a more high-level use case, "Take Picture". (Note that it does make sense for a photographer to "Take Picture" just once during a session with their camera.)

Use Cases Use case – a behaviorally related sequence of steps (events) for the purpose of completing a single business task. Identify and describe the systems functions Represented graphically by a horizontal ellipse with the name of the use case appearing above, below, or inside the ellipse.

Actors Actor – anything that needs to interact with the system to exchange information. Could be a human, an organization, another information system, an external device, or even time. Ex) College student enrolling for the fall semester’s course Actor: student Use case (business event): enrolling in course Chapter 7 - Modeling System Requirements With Use Cases

Relationships 1. Association – a relationship between an actor and a use 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. Associations may be bidirectional or unidirectional. No additional notes. Chapter 7 - Modeling System Requirements With Use Cases

Relationships 2. Extension use case – a use case consisting of steps extracted from a more complex use case in order to simplify the original case and thus extend its functionality. Relationship between the extension use case and the use case it is extending is called an extends relationship. Represented as an arrowheaded line beginning at the extension use case and point to the use case it is extending. Each extends relationship line is labeled “<<extends>>.” No additional notes. Chapter 7 - Modeling System Requirements With Use Cases

How is a UCD different from a traditional flow chart? UCDs are meant to be a top-down, horizontal description of functionality if functionality or behavior is added or deleted over the life of your project, the scope of the change you need to make is proportional to both the scope of the change in the system itself, and the maturity of your model. This is useful because it means that when your model is very young (only high-level diagrams drawn) making sweeping changes to the system does not involve throwing very much work away.

Steps for developing UCD Should have a context diagram before step #1 Identify business actors Identify business use cases (develop use-case glossary) Construct use-case diagram Document business requirements use-case narratives Teaching Notes The individual steps will be discussed on the following slides. Chapter 7 - Modeling System Requirements With Use Cases

SoundStage Member Services System Context Diagram

List of Actors No additional notes. Chapter 7 - Modeling System Requirements With Use Cases

Use-Case Glossary Using the context diagram of SoundStage Member Service No additional notes Chapter 7 - Modeling System Requirements With Use Cases

Sample Use-Case Glossary (con’t) No additional notes Chapter 7 - Modeling System Requirements With Use Cases

Sample Use-Case Glossary (con’t) No additional notes Chapter 7 - Modeling System Requirements With Use Cases

Construct Use-Case Diagram Chapter 7 - Modeling System Requirements With Use Cases

High-Level Version of a Use-Case Narrative Teaching Notes Author – the persons who wrote the use case and provide a point of contact for anyone requiring additional information. Date – the date the use case was last modified. Version – the current version of the use case. Use-case name – the use-case name should represent the goal that the use case is trying to accomplish. Should begin with a verb. Use-case type – Business requirements use cases provide a general understanding of the problem domain and scope but don’t include detail to communicate to developers what the system should do. Use-case ID – A unique identifier for the use case. Priority – The priority communicates the importance of the use case (high, medium, or low). Source – The source defines the entity that triggered the creation of the use case. Primary business actor – The stakeholder that primarily benefits from the execution of the use case. Other participating actors – Other actors that participate in the use case. Interested stakeholders – A person (other than the actor) who has a vested interest in the goal of the use case. Description – A short summary description of the purpose of the use case and its activities. Chapter 7 - Modeling System Requirements With Use Cases

Expanded Version of a Use-Case Narrative Teaching Notes Precondition – A constraint on the state of the system before the use case can be executed. Trigger – The event that initiates the use case. Typical course of events – The normal sequence of activities performed by the actor(s) and the system to satisfy the goal of the use case. Alternate courses – The behaviors of the use case if an exception or variation to the typical course occurs. Conclusion – When the use case successfully ends. Postcondition – A constraint on the state of the system after the use case has successfully executed. Business rules – Policies and procedures of the business that the system must abide by. Implementation constraints and specifications – Any nonfunctional requirements that may impact the realization of the use case. Assumptions – Assumptions made by the author. Open issues – Issues that need to be resolved before the use case can be finalized. Chapter 7 - Modeling System Requirements With Use Cases

Sample Expanded Version of a Use-Case Narrative (cont) Teaching Notes Precondition – A constraint on the state of the system before the use case can be executed. Trigger – The event that initiates the use case. Typical course of events – The normal sequence of activities performed by the actor(s) and the system to satisfy the goal of the use case. Alternate courses – The behaviors of the use case if an exception or variation to the typical course occurs. Conclusion – When the use case successfully ends. Postcondition – A constraint on the state of the system after the use case has successfully executed. Business rules – Policies and procedures of the business that the system must abide by. Implementation constraints and specifications – Any nonfunctional requirements that may impact the realization of the use case. Assumptions – Assumptions made by the author. Open issues – Issues that need to be resolved before the use case can be finalized. Chapter 7 - Modeling System Requirements With Use Cases

Sample Expanded Version of a Use-Case Narrative (cont) Teaching Notes Precondition – A constraint on the state of the system before the use case can be executed. Trigger – The event that initiates the use case. Typical course of events – The normal sequence of activities performed by the actor(s) and the system to satisfy the goal of the use case. Alternate courses – The behaviors of the use case if an exception or variation to the typical course occurs. Conclusion – When the use case successfully ends. Postcondition – A constraint on the state of the system after the use case has successfully executed. Business rules – Policies and procedures of the business that the system must abide by. Implementation constraints and specifications – Any nonfunctional requirements that may impact the realization of the use case. Assumptions – Assumptions made by the author. Open issues – Issues that need to be resolved before the use case can be finalized. Chapter 7 - Modeling System Requirements With Use Cases

Use-Case Ranking and Priority Matrix Use-case ranking and priority matrix – a tool used to evaluate use cases and determine their priority. Evaluates use cases on a scale of 1 to 5 against six criteria. Significant impact on the architectural design. Easy to implement but contains significant functionality. Includes risky, time-critical, or complex functions. Involves significant research or new or risky technology. Includes primary business functions. Will increase revenue or decrease costs. No additional notes. Chapter 7 - Modeling System Requirements With Use Cases

Sample Use-Case Ranking and Priority Matrix No additional notes Chapter 7 - Modeling System Requirements With Use Cases