Week IV in SOS  Tuesday Project Time -- 4:15pm-5pm URL for project(s) due to Judy by Friday 5pm  Friday Paper  OOAD Handouts thru last Thursday (see.

Slides:



Advertisements
Similar presentations
Use Case Diagrams Damian Gordon.
Advertisements

Scenarios: The missing link or – “ Some Stuff About Use Cases and Testing”
CS3773 Software Engineering Lecture 03 UML Use Cases.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
CT1404 Lecture 2 Requirement Engineering and Use Cases 1.
Use-case Modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
SE 555 Software Requirements & Specification1 Use-Case Modeling: Overview and Context.
WEEK 4 Material Lecture 4a (Wed.). Use Cases/Actors o What is a use case ? l A sequence of actions performed by a system that yields an observable result.
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
Documenting Requirements using Use Case Diagrams
Object Oriented Analysis Process
Use Case Modelling.
A use case describes one “case” of how a user can use the system.
Copyright  Larry Dribin, Ph.D. SE470_EngFlows_v1.ppt SE470 EngFlows - 1 Excellence in Software Engineering Repeatable Level Defined Level Manage.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
Use Case Modeling.
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Use Case Analysis – continued
Use Case Diagram.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
The first step in getting what you want is to decide what you want.
IS0514 Lecture Week 3 Use Case Modelling.
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.
USE Case Model.
Model the User Experience Today:  Detail some Use Cases  Develop a storyboard of the use cases  Sketch mock-ups of the use case's information requirements.
UML - Development Process 1 Software Development Process Using UML (2)
Rational Unified Process (Part 1) CS3300 Fall 2015.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 6 Slide 1 Chapter 6 Requirements Engineering Process.
Systems Analysis and Design in a Changing World, 6th Edition
Requirements Engineering Requirements Elicitation Process Lecture-8.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
Faculty of Computer & Information Software Engineering Third year
Chapter 6 A Use-Case-Driven Process. 2 Definitions The choice of models and the choice of techniques used to express them have a significant impact on.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
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.
Use Cases, Part I Understanding the Business Dynamics  Understand the business workflow  Identify system support points the system 'use cases'
Systems Analysis and Design in a Changing World, 6th Edition
 Relate Use Cases to  MVC and Application Architecture  CRC  Recap distinctions : Language, Process, Tool  Detail a Use Case  Elements of a Use Case.
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.
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.
4-1 © Prentice Hall, 2007 Topic 4: Structuring Systems Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
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)
UML - Development Process 1 Software Development Process Using UML.
Session 5 Object Model Development. OOAD with UML / Session 5 / 2 of 19 Review A class icon is a rectangle with three sections within it An object is.
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.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 1 Introduction to Rational Rose 2000 Create Use Case Model.
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.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Systems Analysis and Design in a Changing World, Fourth Edition
Recall The Team Skills Analyzing the Problem (with 5 steps)
Use Case Model.
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.
UML Use Case Diagrams.
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
IS0514 Lecture Week 3 Use Case Modelling.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Engineering Quality Software
Use Case Modeling Part of the unified modeling language (U M L)
Presentation transcript:

Week IV in SOS  Tuesday Project Time -- 4:15pm-5pm URL for project(s) due to Judy by Friday 5pm  Friday Paper  OOAD Handouts thru last Thursday (see web site) Lectures coming this week. Exam week V or VI.  Use Case Detail

Week IV, Today  Recap Use Cases, Part I -- Business Dynamics  Debrief Homework Use Case Diagram for EU-Lease  Structure the Use Case Model – refining: > and > use cases actor and use case generalization supplemental questions scoping iterations  Start Use Case Detail …  Tomorrow Continue Use Case Detail Derive the User Interface

3 Structure the Use Case Model

4  6 things to know about a Use Case model:  How do I discover Use Cases?  What a Use Case is NOT  Where does ‘Use Case’ fit in the development process?  What are the basic elements of a Use Case Model?  How do I draw a Use Case Model as a diagram?  After the basics, how do I refine the Use Case Model? Use Cases ~ recap from last time

5  There are four core elements of a Use Case model:  the system (boundary) the set of all use-cases specify a system in terms of its intended functions (functionality). This defines a firm boundary around the system, separating it from the outside world.  the actor someone or something outside the system (boundary) that interacts with the system  the use case a sequence of actions a system performs that yields an observable result of value to a particular actor.  the request a line of communication between actor and use-case -- typically an initiating 'transaction.' It crosses the system boundary. The Use Case Model ~ What are its parts called?

6 shown here as a Use Case Diagram The Use Case Model ~ What are its parts called?

7 writing up the Use Case... Initially, just the:  Use Case name: o For example, "Order Vehicle Model"  Use Case description, a brief statement of: 1.the nature of what the actor needs (the system) to do 2.the observable result of value to the actor For example, In “Order Vehicle Model” the actor wishes to... o add more vehicles of a particular model into EU-Rent’s vehicle inventory, o increase the model’s vehicle-count of vehicles owned.  More elements will be added to the documentation of a use case. (to be covered in a future lecture). Use Case documentation ~ the initial elements

8  For example Launch Auction [ includes: Write Letters ]...Begin the processing to dispose of an identified number of vehicles of a particular model. This involves: – recording a specific number of vehicles of a particular model as being "surplus." – producing letters to the "interested members," notifying each selected person of the auction and inviting the member to submit a bid. – recording an initial, zero-amount bid record for each selected/contacted member.

9 In addition to the associations between actors and use- cases, you can define special kinds of association between use-cases:  using UML's stereotype extensions: the > stereotype  using use-case & actor generalization / specialization used to describe a specific form of a more general use-case or actor. After the basics, how do I refine a Use Case Model?

10  UML has standard features to extend the language.  The Guillemet character denotes a stereotype extension. >  2 stereotype extensions are used to define relationships between Use Cases: >  Note: “UML trivia” ~ a Guillemet is a single symbol, not two ‘less-than’ or two ‘greater-than’ characters. Use Case refinement using UML stereotypes

11  Refine using > if you find you are repeating actions in two or more separate use-cases and you want to “factor out” the common actions into one use-case that can be used in many places.  For example, You may find that the "Check Balance" use-case in the ATM system also includes the step "System prints receipt." This can be factored out into a "Print receipt" use-case which is related to each of the including use-cases. The Use Case > example 1

12  Refine using > if you find you are repeating actions in two or more separate use-cases and you want to “factor out” the common actions into one use-case that can be used in many places.  For example, In EU-Rent's Inventory Management system, you will discover that two use cases include the functionality to produce a Rental Group summary. This common functionality can be factored out into a separate use-case that is then related to each of the including use-cases. The Use Case > example 2

13  Refine using > when you need to describe a conditional variation of a base case. The “extension points” will be defined in that base case.  For example, The third entry of an invalid PIN in a single session retains the card and triggers an activity in a security violation use-case.  This is used primarily to represent optional behavior, to handle exceptions. The Use Case > example 1

14  Refine using > when you need to describe a conditional variation of a base case. The “extension points” will be defined in that base case.  For example, A vehicle model is typically discontinued when there are no vehicles of the model currently owned by EU-Rent. When there are vehicles, there needs to be special handling (e.g., to dispose of those vehicles). The Use Case > example 2

15 Actor Generalization This is in the Workshop – let’s discuss it here (as a jump-start to the Workshop) read it there, too

16  Once identified, it can still be hard to decide whether a set of actor- system interactions is a single use-case or several use-cases. For example,...  Why wasn't prompting for the PIN and validating it a complete use-case? "Use cases emerge when you focus on the things of value that a system provides to an actor." ~ Kruchten  We focus on these 'valued outputs' by analyzing the 'Information Requirements' of the system, in two flavors: (1)the Information Queries providing critical outputs from the system (2)the Information Updates keeping the system data used in (1) current and correct Where do we go from here?

17  Once identified, it can still be hard to decide whether a set of actor- system interactions is a single use-case or several use-cases. For example,...  Consider the Use-Case from EU-Rent…. Why wasn't special handling (e.g., to dispose of those vehicles) a complete use-case?. Where do we go from here?

18 A word on use case 'supplemental questions'

19 A word on the S/E Process (& iterative development)  The S/E Process The Construction Phase builds the system in a series of iterations. You set up the iterations by selecting use cases for each, or dividing use cases into ‘scenarios’…. Release Early, Release Often! Inception Elaboration Construction 1 | 2 | 3 | … Transition