Use Cases -Use Case Diagram

Slides:



Advertisements
Similar presentations
Requirements Diagrams With UML Models
Advertisements

Systems Analysis and Design in a Changing World, 6th Edition
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.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Introduzione ai casi d’uso  Adriano Comai 1999 Pag. 1 Use Cases: an Introduction  Adriano Comai 1999.
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.
Systems Analysis and Design in a Changing World, Fourth Edition
Systems Analysis and Design in a Changing World, 6th Edition
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.
Quiz 1. Who is the guru of Extreme Programming?
CMIS 470 Structured Systems Design
Chapter 3 Use Cases.
Use Cases College of Alameda Copyright © 2007 Patrick McDermott.
Systems Analysis and Design in a Changing World, 6th Edition
The Object-Oriented Approach to Requirements
Systems Analysis and Design in a Changing World, Fifth Edition
Faculty of Computer & Information Software Engineering Third year
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
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.
1 Structuring Systems Requirements Use Case Description and Diagrams.
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.
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.
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
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.
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Use Case Modeling - II Lecture # 27.
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
Systems Analysis and Design in a Changing World, 6th Edition
Evolution of UML.
Vision Document Use Case Diaram
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design With UML 2
Object-Oriented Static Modeling of the Banking System - I
Dynamic Modeling of Banking System Case Study - II
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
Software Architecture & Design Pattern
A tool for presentation of Architecture
A tool for presentation of Architecture
ניתוח מערכות מידע א' הרצאה 3
Use Case Modeling - techniques for detailing use cases
IMPORTANT NOTICE TO STUDENTS:
Unified Modeling Language
Systems Analysis and Design in a Changing World, 6th Edition
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Introduction to UML.
Use Cases & Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Engineering Quality Software
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

Use Cases -Use Case Diagram Chapter 3

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

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 Techniques to Identify use cases: User Goal Event Decomposition CRUD

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

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

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

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 CRUD - For 1 data entity C R U D CRUD Matrix All use cases All data entities Shows responsibilities

CRUD CRUD Use Cases Cancel order Place order Change order Update customer profile Print order report View order status … Order C Create R Read U Update D Delete CRUD Matrix Use Cases Order OrderItem Customer Item Place Order Update Customer Profile …

UML's Use Case Diagram

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. 10

<<system>> 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 interacts with the system Use Case an activity that the system performs Association Depicts a usage relationship between an actor and a use case <<include>> & <<extend> Associations Customer Billing <<system>> Time <<include>> <<extend>>

Use Case Diagram - Sales Subsystem Prefer "Place an order"

Use Case Diagram – ATM System Withdraw cash Customer

Use Case Diagram – Order Entry System Customer Sales clerk Create new order Lookup item availability Update order Order Entry System

<<include>> Customer Sales clerk Create new order Lookup item availability Update order Order Entry System Authenticate customer <<include>> This also achieves Reuse! <<include>>

<<extend>> Customer Sales clerk Create new order Lookup item availability Update order Order Entry System This also achieves Reuse! Record Authentication Issue <<extend>> Authenticate customer <<include>> <<include>> Suggest substitute items <<extend>> <<include>>

"Withdraw Cash” Use Case – i.e. scenario Customer Customer ATM Bank

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