Use Cases -Use Case Diagram Chapter 3 1. Where are we? 2 Analysis Chapters Ch 2Investigating System Requirements Ch 3Use Cases Ch 4Domain Modeling Ch.

Slides:



Advertisements
Similar presentations
Requirements Diagrams With UML Models
Advertisements

Systems Analysis and Design in a Changing World, 6th Edition
Use Case & Use Case Diagram
Introduction to UML: Structural &Use Case Modeling
Use Cases -Use Case Diagram Chapter 3 1. Where are we? 2 Analysis Chapters Ch 2Investigating System Requirements Ch 3Use Cases Ch 4Domain Modeling Ch.
Karolina Muszyńska Based on:
Chapter 4 - Object-Oriented Analysis and Design in a Nutshell1 Chapter 4 Object-Oriented Analysis and Design in a Nutshell.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Extending the Requirements Model - techniques for detailing use cases
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
Modeling System Events Adapted from: Systems Analysis and Design in a Changing World, 2nd Edition by John W. Satzinger, Robert Jackson and Stephen Burd.
Modeling System Requirements with Use Cases
Systems Analysis and Design in a Changing World, 6th Edition
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Chapter 7: The Object-Oriented Approach to Requirements
Karolina Muszyńska Based on: G. Schneider, J.P. Winters „Stosowanie przypadków użycia” S. Wrycza, B.
CMPT 275 Software Engineering
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
Quiz 1. Who is the guru of Extreme Programming?
From Problem Statement to Design
Systems Analysis and Design in a Changing World, Fifth Edition
Software Engineering 1 Object-oriented Analysis and Design Chap 30 Relating Use Cases.
Chapter 3 Use Cases.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Systems Analysis and Design in a Changing World, 6th Edition
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Systems Analysis and Design in a Changing World, Fifth Edition
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
Faculty of Computer & Information Software Engineering Third year
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 3 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 Structuring Systems Requirements Use Case Description and Diagrams.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 3 Use Cases.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Chapter 1 Applying UML and Patterns. The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
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.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
Systems Analysis and Design in a Changing World, Fourth Edition
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
UML (Unified Modeling Language)
Week04 Project Requirements.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
CHAPTER 6 OBJECT ANALYSIS.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Use Cases -Use Case Diagram
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition
Object-Oriented Static Modeling of the Banking System - I
Introduction to Unified Modeling Language (UML)
Use Case Modeling - techniques for detailing use cases
Systems Analysis and Design in a Changing World, 6th Edition
Use Cases & Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Engineering Quality Software
Presentation transcript:

Use Cases -Use Case Diagram Chapter 3 1

Where are we? 2 Analysis Chapters Ch 2Investigating System Requirements Ch 3Use Cases Ch 4Domain Modeling Ch 5Extending the Requirements Model 2

Outline Use Case – defined Techniques for Identifying Use Cases  User Goal  Event Decomposition  CRUD Analysis UML's Use Case Diagram 3

Use Case - Defined Use case - an activity that the system performs  usually in response to a request by a user  Functional Requirements  Verb + Noun Place order Issue complaint 4

Identifying Use Cases 3 Techniques  User Goal  Event Decomposition  CRUD Analysis 5

Identifying Use Cases- User Goal Technique Ask the users what they need the system to do 1.Identify the users 2.Interview them 3.Create the list of use cases Some users may need the same use case Watch out for duplicates, inconsistencies 4.Verify the list with the users 6

Identifying Use Cases- Event Decomposition Identify the events that occur to which the system must respond.  Event - an occurrence at a specific time & place which needs to be remembered  Use Case - what the system does when the event occurs Prior Conditions & Events 7

Identifying Use Cases- Event Decomposition Types of Events  External  Temporal  State 8

Identifying Use Cases- Event Decomposition Transaction's Life Cycle System Controls  These events are dealt with in the Design Phase − Log in, time to change password, change user preferences, backup the DB, recover a DB  "Perfect technology Assumption" 9

Identifying Use Cases - CRUD Analysis Can be a tool for: use case identification and/or validation  Ensure that there are use cases to cover the CRUD 10 C R U D CRUD Matrix All use cases All data entities Shows responsibilities CRUD - For 1 data entity

CRUD 11 Order CCreate RRead UUpdate DDelete Use CasesOrderOrderItemCustomerItem Place order Update Customer Profile … Use Cases Place order Change order Cancel order Print order report Update customer profile View order status … CRUD Matrix CRUD

UML's Use Case Diagram 12

UML - The Unified Modeling Language An Object-Oriented modeling language  "3 Amigos" - Booch, Rumbaugh, and Jacobson  Adopted & now managed by OMG (Object Management Group) Models both structure & behavior  Structure diagrams − Class diagram, Component diagram, Deployment diagram, Object diagram, Package diagram, etc.  Behavior diagrams − Activity diagram, Use Case diagram, Sequence diagram, State machine, Communication diagram, etc. 13

Use Case Diagram A UML diagram depicting the relationship between actors & use cases  Defines Scope/Functional Requirements  Automation Boundary − The boundary between the software and the actors of the system  Actor − Anyone or thing that directly interacts with the system  Use Case − an activity that the system performs  Association − Depicts a usage relationship between an actor and a use case  > Relationship − Used when one use case (base) includes another use case (the inclusion use case) 14 Time CustomerBilling >

15 Use Case Diagram - Example Prefer "Place an order"

16 Use Case Diagram - Example Customer Sales clerk Create new order Lookup item availability Update order Validate customer account > Prefer "Place an order" Reuse!

17 Use Case Diagram - Practice Withdraw cash ATM System Customer

18 "Withdraw Cash” Use Case – i.e. scenario Withdraw cash Customer ATMBank

Special Use Cases State-driven use cases − e.g. Polling, Monitoring, Notifications Time-based Use Cases 19 Reorder Stock Employee Generate Payroll >