Use Case Model Use case diagram.

Slides:



Advertisements
Similar presentations
Writing Good Use Cases - Instructor Notes
Advertisements

OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Use Cases and Scenarios
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Use Case & Use Case Diagram
Information System Engineering
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
CT1404 Lecture 2 Requirement Engineering and Use Cases 1.
© Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license. Use Cases and.
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
Use Cases and Scenarios
Use Case Analysis – continued
USE Case Model.
Requirements Elicitation. Requirement: a feature or constraint that the system must satisfy Requirements Elicitation: specification of the system that.
RUP Requirements RUP Artifacts and Deliverables
Why Analysis Process Refer to earlier chapters Models what the system will do makes it easier for understanding no environment considered (hence, system.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Object-Oriented Analysis - Instructor Notes
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Chapter 5 Analysis Model. Analysis model (AM) The first step in describing how the system will implement the requirements specification The first step.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
Generalizable Element Namespace Model Element name visibility isSpecification Classifier isRoot Constraint Body Use Cases CS/SWE 421 Introduction to Software.
Use Cases 1. Last week  Introduction to software engineering  How is it different from traditional engineering?  Introduction to specification  Operational.
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
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.
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Requirements Overview.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
CSC 131 Fall 2006 Lecture # 5 UML Use Cases. UML The UML is a graphical language for  specifying  visualizing  constructing  documenting the artifacts.
Use Case Model Use case diagram.
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.
Use Case Model Use case diagram. Relevant Requirements Artifacts Use-Case Model Supplementary Specification Use-Case Specifications... Glossary Actors.
R R R CSE870: Advanced Software Engineering: UML-- Use Cases1 Use Cases and Scenarios.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Generalizable Element Namespace Model Element name visibility isSpecification Classifier isRoot Constraint Body Use Cases CS/SWE 421 Introduction to Software.
Essentials of Visual Modeling w/ UML Instructor Notes
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases.
Use Case Model Use case description.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
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.
Using Use Case Diagrams
Chapter 4: Business Process and Functional Modeling, continued
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Cases and Scenarios
Lec-5 : Use Case Diagrams
Chapter 5 유스케이스 개요 Introduction to Use Cases
Recall The Team Skills Analyzing the Problem (with 5 steps)
Requirements: Use Case Models and Narratives
Use Case Model Use case description.
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Object Oriented Analysis and Design
Use Cases 1.
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Use Case Analysis – continued
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Presentation transcript:

Use Case Model Use case diagram

Relevant Requirements Artifacts Use-Case Model Glossary Actors Use Cases ... Supplementary Specification Use-Case Specifications ٥

What Is System Behavior? System behavior is how a system acts and reacts. It is the outwardly visible and testable activity of a system. System behavior is captured in use cases. Use cases describe the system, its environment, and the relationship between the system and its environment. ٨

What Are the Benefits of a Use-Case Model? Communication Identification Verification Use Case Communication Verification Identification Users End User Domain Expert ١٢ OOAD

Key points The development team, with stakeholders involvement, writes the use cases. Compared to traditional requirement methods, use cases are relatively easy to write and easier to read. Free of technical or implementation details.

Use Case Diagrams A use case diagram depicts the interactions between the system and the external actors.

Developing use case diagram System name Actor is a stick figure usually an actual person using the system System boundary Connection line shows which actor participate in the use cases The use case

Major Concepts in Use-Case Modeling An actor represents anything that interacts with the system. An actor might be: a person a company or organization, a computer program, or a computer system Hardware A use case is a sequence of actions a system performs that yields an observable result of value to a particular actor. Name each use case using Noun-Verb Actor UseCase ٩ OOAD

Types of actor Primary actor initiates the use case. Secondary actor is used to complete the use case. E.g. the professor send SMS to the students. The professor considered as primary actor, whereas students considered as secondary actor

A Step-by-Step Guide to Building the Use-Case Model Step 1: Identify and Describe the Actors Who uses the system? Who gets information from this system? Who provides information to the system? Where in the company is the system used? Who supports and maintains the system? What other systems use this system?

A Step-by-Step Guide to Building the Use-Case Model Step 2: Identify the Use Cases and Write a Brief Description What will the actor use the system for? Will the actor create, store, change, remove, or read data in the system? Will the actor need to inform the system about external events or changes? Will the actor need to be informed about certain occurrences in the system?

A Step-by-Step Guide to Building the Use-Case Model Step 3: Identify the Actor and Use-Case Relationships Only one actor can initiate a use case Many use cases may involve the participation of multiple actors. Each use case is analyzed to see what actors interact with it

Use case diagram

Case Study: Course Registration Problem Statement Review the problem statement provided in the Course Registration Requirements Document. Course Registration Requirements Document ٦ OOAD

How Would You Read This Diagram? View Report Card Course Catalog Maintain Professor Information Register for Courses Student Login Maintain Student Information Registrar Select Courses to Teach Professor Submit Grades Close Registration Billing System OOAD ١٣

Use-Case Flow of Events Has one normal, basic flow Several alternative flows Regular variants Odd cases Exceptional flows for handling error situations ١٥

Relationships between Use Cases Include - use cases that are included as parts of other use cases. Enable to factor common behavior. Extend - use cases that extend the behavior of other core use cases. Enable to factor variants.

Includes and Extends Includes Extends base included base extending You have a piece of behavior that is similar across many use cases Break this out as a separate use- case and let the other ones “include” it Examples include Valuation Validate user interaction Sanity check on sensor inputs Check for proper authorization Extends A use-case is similar to another one but does a little bit more Put the normal behavior in one use- case and the exceptional behavior somewhere else Capture the normal behavior Try to figure out what can go wrong in each step Capture the exceptional cases in separate use-cases Makes it a lot easier to understand base included <<include>> base extending <<extend>> 05-Use-Cases

Examples Include Extend <<include>> Purchase Item Verify Credit card <<include>>