Use Case Diagram.

Slides:



Advertisements
Similar presentations
Use Case & Use Case Diagram
Advertisements

Use Case Model Shinta P.. UML Actor An actor is behaviored classifier which specifies a role played by an external entity that interacts with the subject.
Use Case Model. C-S 5462 Use case model describes what the user expects the system to do –functional requirements may describe only the functionalities.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Appendix Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Use-case Modeling.
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
Documenting Requirements using Use Case Diagrams
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Unified Modeling Language
Chapter 7: The Object-Oriented Approach to Requirements
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Interaction diagrams Sequence and collaboration diagrams.
Object-Oriented Modeling
Chapter 5 – System Modeling
The Requirement. What is Inception? What is the vision and business case for this project? –not to define all the requirements Feasible? Buy and/or build?
Faculty of Computer & Information Software Engineering Third year
Chapter 9 요구사항 모델링: 시나리오 기반 방법론 Requirements Modeling: Scenario-Based Methods 임현승 강원대학교 Revised from the slides by Roger S. Pressman and Bruce R. Maxim.
Faculty of Computer & Information
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 Use Case 1 what are use cases? “A specification of sequences of actions, including variant.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
Use Case Modeling Chapter 7 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
1 Structuring Systems Requirements Use Case Description and Diagrams.
Use Cases, Part I Understanding the Business Dynamics  Understand the business workflow  Identify system support points the system 'use cases'
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
COMPONENT DIAGRAM in UML 2.0 Veronica Carrega. PLAN OF TALK  Introduction about components  Components and component diagrams in uml 2.0  Case study.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
UML (Unified Modeling Language)
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
 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.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Use Case, Component and Deployment Diagrams University of Sunderland.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
Ondřej Přibyl Faculty of Transportation Sciences, CTU DESIGN OF ITS SYSTEMS Project support 1 3 PROJECT SUPPORT Use cases.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
Using Use Case Diagrams
Use Case Modeling - II Lecture # 27.
Lec-5 : Use Case Diagrams
COMPONENT & DEPLOYMENT DIAGRAMS
M.M. Pickard, PhD A Primer on Use Cases (Reference: UML Superstructure Specification, v2.1.1)
Use Case Model.
Start at 17th March 2012 end at 31th March 2012
Chapter 9 Requirements Modeling: Scenario-Based Methods
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Object Oriented Analysis and Design
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Software Design Lecture : 15.
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Seminar 2 Design of Informatics Systems
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Presentation transcript:

Use Case Diagram

Recap Requirement Engineering Inception Elicitation Elaboration Negotiation Specification Validation Requirements Management

Outline Use Case Diagrams Formal introduction UML notation Examples

A use case diagram presents interactions between the system and other systems or with the system’s users, who are called actors Actors represent roles which may include human users, external hardware or other systems. It describes who will use the system and the ways in which a user will interact with the system to achieve a certain goal. Usually, the diagram is accompanied by a narrative description, which details, in a structured manner, the steps of each interaction

The use case technique enables creating an initial description of the users’ needs, so that later on the system’s behavior can be defined by using other means, for example, sequence or collaboration diagrams

Components of a Use Case Diagram An actor may also be shown as a class rectangle with the keyword «actor», with the usual notation for all compartments. Other icons that convey the kind of actor may also be used to denote an actor, actor such as using a separate icon for non-human actors. «actor» Customer

Actor: Use Case Diagram

Use Case A use case is a single unit of meaningful work It provides a high-level view of behavior observable to someone or something outside the system The notation for a use case is an ellipse ud use case Use case

Relationship make appointment The notation for using a use case is a connecting line with an optional arrowhead showing the direction of control The following diagram indicates that the actor “Patient” uses the “make appointment” use case make appointment patient

System Boundary It is usual to display use cases as being inside the system and actors as being outside the system make appointment Patient

Relationship A relationship from an extending use case to an extended use case that specifies how and when the behavior defined in the extending use case can be inserted into the behavior defined in the extended use case. Registration use case is meaningful on its own. It could be extended with optional Get Help On Registration use case The point at which an extending use case is added can be defined by means of an extension point

Relationship  An include relationship defines that a use case contains the behavior defined in another use case.

ud Include Card identification withdraw ud Extend patientmodify Modify Order Get Approval <<extend>>

Relationship: Use Case Connector The uses connector can optionally have multiplicity values at each end, as in the following diagram which shows that a customer may only have one withdrawal session at a time, but a bank may have any number of customers making withdrawals concurrently ud Multiplicity Withdraw 0..1 0..* 1 1 Customer Bank

An example of use case diagram for Bank ATM subsystem Ref: http://www.uml-diagrams.org/use-case-diagrams-examples.html#atm

Actor (optional user-defined icon) Node Type Notation Actor(default) Actor (optional user-defined icon) Extend Extend (with Condition) Customer <<extend>> Extension point Selection Extended (use case) Extending (use case) Condition: [Customer selected HELP] extension point: Selection <<extend>>

Node Type Notation Include Use case withdraw withdraw On-Line Help Card identification Including use case Included use case withdraw On-Line Help Extension point Selection

Use Case Actor Subject Use case diagram with rectangle representing the boundary of the subject

Components of a Use Case Diagram Notation Meaning Use case: An Ellipse represents a single Use Case. The name of the use case is written inside ellipse. Actor Actor: Represents every element which interact with the system. It may be a user a another system which interact with the system described in the use case. Ordinary Relationship: Represents a connection that is a channel for the transfer of information between a use case and an actor or between use cases. System boundary System Boundary: A square represents the boundary of the system. Inside the system are the use cases and outside the square are the actors who interact with the system. Use Case

Format of a Use Case Description Use Case Name In this field we write the name of the use case. Actors List of the actors who take part in the use case. Description A short verbal description of the use case. References Links to a requirements document and require use cases. Typical Course of event This is the main part of the use case description. Its purpose is to describe the sequence of the use case’s activities. Alternate course This part describe the special course of action. Precondition List preconditions that must be fulfilled the use case can take place. Post conditions Lists events that have to occur after the use case is completed. Assumptions Basic assumptions and other remarks.

Example: Bank ATM

Example: Bank ATM

Example: Student Teacher Information System

Example: Student Teacher Information System

Summary Use Case Diagrams UML notations for use case How to write a use case? Examples

References Roger S. Pressman, Software Engineering, A Practitioner’s Approach, Sixth Edition, 20005.Engineering http://www.uml.org http://www.sciencedirect.com/