Use Cases and Scenarios

Similar documents
Energy is the ability to do work, cause things to happen and make changes.

SPONSORSHIP & MARKETING OPPORTUNITIES

Families on the Periodic Table

Chapter # 1: Columbus/Eastern Ohio Mini- Region IISE s 1 st Virtual Chapter

SYSTEM AND SOFTWARE DESIGN USING THE UNIFIED MODELING LANGUAGE (UML)

DIDN'T MY LORD DELIVER DANIEL? updated freely...with spirit and passion 1. œ V. li - ver us! Oh

Boosting Energy Savings through Lighting Occupancy Control Settings in Multifamily Buildings

Deere & Company 2017 Annual Meeting of Stockholders Remarks of Sam Allen, Chairman & CEO (As Prepared)

For inspection purposes only.

Advanced Financial Modeling. Unit 1

Requirements Analysis

Danfoss and Controls for CO2

System Sequence Diagrams. CSC 440: Software Engineering Slide #1

Smith Meter AccuLoad III Unloading

THE IMPORTANCE OF EQUIPMENT ACCESSIBILITY IN BUILDINGS

Electronic Master - Printed Copies Uncontrolled - Rosemount Proprietary

HSNV103 - Thermoplasticity and metallurgy in plane deformations

Field settings table [6.8.2] =... ID66F4. Applicable units

CORPORATE Tel: Fax:

The R ole of Leg um es in O rg a nic a nd Low Input A g ric ulture: P res ent a nd in the Future. Arja Nykänen

U sing the Role D escription R eports

APPENDIX A. OPERATIONAL PROCESS FLOW CHARTS

Evidence of Performance regarding the requirements for float glass according to EN 572

Requirements Engineering Processes. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 7 Slide 1

Overview of NFC technique and challenge of NFC forum test

Power Plant Near-Field Noise Considerations

Groups of Elements 3B 5B 6B 7B 2 C. 10 Na. 36 Rb. 54 Cs. 86 Fr. 57 Ac. 71 Th. Nitrogen group. Alkali metals. Alkaline earth metals.

plus pellet makes you independent

Software, Performance, or Engineering?

VMP User Manual For Vendor

Object-Oriented Analysis/Design and Use Cases Object Oriented Analysis and Design

Front End Engineering Design (FEED) Challenges in EPC Projects: Design, LLI Strategy & Fast Track

Test Process Assessment and Improvement Roadmap

WELL CEMENTING C o n t a c t U s f o r S p e c i a l C o r p o r a t e R a t e N o w!

LOOP-ID SAC LOOP REPEAT 25 LOOP-ID N9 LOOP REPEAT 1000 LOOP-ID N1 LOOP REPEAT 200 LOOP-ID PO1 LOOP REPEAT LOOP-ID CTP LOOP REPEAT >1

Zoned Comfort Control

CE 115 Introduction to Civil Engineering Graphics and Data Presentation Application in CE Materials

October 6, The Engineering team is proud to announce the September backend release. This release supports the upcoming 1515.

Lecture 7. Safety Analysis: Failure Modes and Effect Analysis (FMEA) Functional Hazard Assessment (FHA)

7.1 The concept of consumer s surplus

The Farm Advisory System First results of implementation in the Member States

Cenovus Supplier I nform ation Session

UK Baseline Geochemistry: A Key Environmental Yardstick

OUTCOME-BASED BUSINESS MODELS IN THE INTERNET OF THINGS

LOGIC FLUE & ACCESSORIES GUIDE.

Be Reassured: Failure Isn t Preordained

Requirements Use Cases

AS950 ALL-WEATHER REFRIGERATED SAMPLER

Wir schaffen Wissen heute für morgen

About Domain Models. Value of OOA/D knowledge over UML notation;

LOGIC FLUE & ACCESSORIES GUIDE.

State-of-the art Point of Sale with integrated ERP functionality increases productivity and profitability

DSD Invoice TRANSACTION SET 810 VERSION 4010

Detailed Engineering PROCESS SYSTEM ENGINEERING FABRICATED EQUIPMENT ENGG. Process System Engineers (India) Pvt. Ltd.

Technical Safety Management for INDUSTRIAL NATURAL GAS APPLICATIONS.

8 Steps to Effective Use Cases

Mendelian problems done.notebook

An Aggregator Framework for European Demand Response Programs. Rune Hylsberg Jacobsen Department of Engineering Aarhus University, Denmark

BUSINESS PROCESS MODELLING Primer Version 0.2

POWER FACTOR REGULATOR. Computer-12e-xx INSTRUCTION MANUAL ( M / 02A ) (c) CIRCUTOR S.A.

Software Engineering Fall 2014

Requirements Analysis. Overview

Standard Operation Procedure (SOP) Analytical methods in anaerobic digestion batch reactions

Policy Brief. Policy on Custom Hiring of Agricultural Machinery in Indonesia

CS/IT Secure Software Construction

Size : Ends : Min Temperature : Max Temperature : Materials : Cast iron body

CITY OF MOBILE. Purchasing Department and Package Delivery: Government Plaza 4th Floor, Room S Government St Mobile, Alabama 36644

What Every Business Owner or General Manager should Know

Stress analysis of reciprocating pump pipeline system in oil station

LOOP-ID SAC LOOP REPEAT 25 LOOP-ID N9 LOOP REPEAT 1000 LOOP-ID N1 LOOP REPEAT 200 LOOP-ID PO1 LOOP REPEAT LOOP-ID CTP LOOP REPEAT >1

ERT 318/4 UNIT OPERATIONS SEMESTER 1 (2013/2014)

Learning 'how we do it around here': development of cultural competence.

EAS FHSC NEWSLETTER IN THIS ISSUE EAS FHSC MISSION. Message from the EAS FHSC Principal Investigator, Prof. Kausik K. Ray

status Homework 2 posted:

315 Status Details (Ocean) 4010 Implementation Guide for Customers

Where do we start? ocreate the Universe oform the Earth and elements omove the elements into their correct positions obuild the atmosphere and oceans

Geology 627, Hydrogeology Review questions for final exam h t 1/ 2

MATHEMATICAL MODELING OF A DOUBLE PASS UNDERFLOOR HEATING SYSTEM

testo 330 Flue gas analysis with increased convenience and safety

K&G System Migration EDI SPECIFICATION

Name HOUR EXAM II BIOLOGY 108 FALL, 2003

1 Descriptions of Function

Avaya Software Investment Protection Policy. Interim Pricing and Ordering. Process Guide. For Use by Avaya and Avaya Channel Partners

1 Customer and contact information

Fight Last Click and see the Whole Picture

Chapter 7. Process Analysis and Diagramming

Performance Monitoring for Efficiency

Virtual money in vacation resort

SS1B (JUN15SS1B01) General Certificate of Education Advanced Subsidiary Examination June Unit Statistics 1B TOTAL.

Part 1. Preparation and Color of Solutions. Experiment 1 (2 session lab) Electrons and Solution Color. Pre-lab Report, page 29

EUMedRail Project - Kick-off Meeting Harmonised Regulation and Standards for Operations and Driver Training

M u lt i F u n ct io n al W at er Tan k U ser' s M an u al

ADVERTISEMENT. National Project Coordinator (Markets for Change / M4C)

Operating instructions. METTLER TOLEDO MultiRange Application software IND690-Batch.

Using FMEA Analysis for Assessing Air Conditioners Remanufacturing Processes

2014 Oct.31 International Symposium on Practical Formal Approaches to Software Development. Copyright Prof. Dr. Shuichiro Yamamoto 2014

ANDRITZ Capital Market Day 2017 OPP (Optimization of Process Performance)

For Safe and Delicious Water

Advanced Metering Infrastructure (AMI) Program C3 - Customer Prepays for Services

TABLE A: USE ZONES AND DEVELOPMENT RULES

Transcription:

Use Cases and Scenarios

We Will Cover What is a use-case Use-case versus user i teractio Use-Case diagrams The co structs i the use-case diagrams Capturi g the use-case High- eve use-case Exte ded use-case Differe ce bet ee use case a d CSE 435: Software sce ario Engineering

What is a Use-Case A use-case captures some user visib e fu ctio This may be a arge or sma fu ctio Depe ds o the eve of detai i your mode i g effort A use-case achieves a discrete goa for the user Examp es Format a docume t Request a e evator Ho are the use cases fou d (captured or e icited)?

User Goals versus User Interactions Co sider the fo o i g he formatti g a docume t o Defi e a sty e o Cha ge a sty e o Copy a sty e from o e docume t to the ext versus o Format a docume t o E sure co siste t formatti g of t o docume ts The atter is a user goa Somethi g the user a ts to achieve The former are user i teractio s Thi gs the user does to the system to achieve the goa

Goals and Interactions There is a p ace for both goa s a d i teractio s U dersta d hat the system sha do Capture the user goa s U dersta d ho the user i achieve the goa s Capture user i teractio s Seque ces of user i teractio s Thus, start ith the user goa s a d the refi e the user goa s i to severa (ma y) user i teractio s

Use-Case Diagrams (POST) POST: Point of Sale Terminal System Boundary POST Use Case Buy Item Log In Cashier Refund a Purchased Item Customer Adapted from Larman Applying UML and Patterns

Another Example Financial Trading System Set Limits Update Accounts Accounting System Trading Manager Analyze Risk Price Deal «includes» «includes» Valuation Trader Capture Deal «extends» Salesperson Adapted from Fowler UML Distilled Limit Exceeded

Includes and Extends I c udes You have a piece of behavior that is simi ar across ma y use cases Break this out as a separate use-case a d et the other ones includes it Examp es i c ude o Va uatio o Va idate user i teractio o Sa ity check o se sor i puts o Check for proper authorizatio Exte ds A use-case is simi ar to a other o e but does a itt e bit more Put the orma behavior i o e use-case a d the exceptio a behavior some here e se o Capture the orma behavior o Try to figure out hat ca go ro g i each step o Capture the exceptio a cases i separate use-cases Makes it a lot easier to u dersta d

Setting the System Boundary The system bou dary i affect your actors a d use-cases Adapted from Larman Applying UML and Patterns

A Different Boundary Let us vie the ho e store as our system Store Buy Item Refund a Purchased Item Customer Adapted from Larman Applying UML and Patterns

Partial POST POST Buy Item Log In Cashier Refund a Purchased Item Customer Start Up Manage Users Manager System Administrator Adapted from Larman Applying UML and Patterns And a Lot More

POST Use-Case Use case: Actors: Type: Description: Buy Item Customer (i itiator), Cashier Primary The Customer arrives at the checkout ith items to purchase. The Cashier records the purchase items a d co ects a payme t. O comp etio the Customer eaves ith the items

POST Expanded Use-Case Use case: Actors: Type: Description: Buy Item Customer (i itiator), Cashier Primary a d esse tia The Customer arrives at the checkout ith items to purchase. The Cashier records the purchase items a d co ects a payme t. O comp etio the Customer eaves ith the items. Cross Ref.: Requireme ts XX, YY, a d ZZ HERE Use-Cases: Cashier must have comp eted the Log I use-case

Home Heating System Image: http://www.heatingoil.com/ Image: http://www.homeheatingdr.com/

Home Heating System Temp Sensor Water Pump Water Valve Fuel Valve Hot Water Burner Controller Home 90 80 Off Fuel 70 On 60 50 Control Panel Temp Sensor

Home Heating Requirements The purpose of the software for the Home Heating System is to control the heating system that heats the rooms of a house. The software shall maintain the temperature of each room within a specified range by controlling the heat flow to individual rooms. The soft are sha co tro the heat i each room The room sha be heated he the temperature is 2F be o desired temp The room sha o o ger be heated he the temperature is 2F above desired temp The f o of heat to each room sha be i dividua y co tro ed by ope i g a d c osi g its ater va ve The va ve sha be ope he the room eeds heat a d c osed other ise The user sha set the desired temperature o the thermostat The operator sha be ab e to tur the heati g system o a d off The fur ace must ot ru he the system is off

Home Heating Requirements The purpose of the software for the Home Heating System is to control the heating system that heats the rooms of a house. The software shall maintain the temperature of each room within a specified range by controlling the heat flow to individual rooms. Whe the fur ace is ot ru i g a d a room eeds heat, the soft are sha tur the fur ace o To tur the fur ace o the soft are sha fo o these steps ope the fue va ve tur the bur er o The soft are sha tur the fur ace off he heat is o o ger eeded i a y room To tur the fur ace off the soft are sha fo o these steps c ose fue va ve tur bur er off

Home Heating Use-Case Diagram Home Heating Power Up Home Owner Power Down Change Temp.

Home Heating Use-Cases Use case: Power Up Actors: Home Owner (initiator) Type: Primary and essential Description: The Home Owner turns the power on. Each room is temperature checked. If a room is below the the desired temperature the valve for the room is opened, the water pump started. If the water temp falls below threshold, the fuel valve is opened, and the burner ignited. If the temperature in all rooms is above the desired Cross Ref.: Use-Cases: temperature, no actions are taken. Requirements XX, YY, and ZZ None

Modified Home Heating Home Heating Power Up «includes» Temp. High Home Owner Power Down Change Temp. Adjust Temp «includes» «includes» «includes» Temp. Low

Modified: Home Heating Use-Cases Use case: Actors: Type: Power Up Home Owner (initiator) Primary and essential Description: The Home Owner turns the power on. Perform Adjust Temp. If the temperature in all rooms is above the desired temperature, no actions are taken. Cross Ref.: Use-Cases: Requirements XX, YY, and ZZ Perform Adjust Temp

Modified: Home Heating Use-Cases Use case: Actors: Type: Adjust Temp System (initiator) Secondary and essential Description: Check the temperature in each room. For each room below target, open room valve, start pump if not started. If water temp falls below threshold, open fuel value and ignite burner. Cross Ref.: Use-Cases: Requirements XX, YY, and ZZ Temp-Low, Temp-high

When to use Use-Cases I short, a ays!!! Requireme ts is the toughest part of soft are deve opme t Use-Cases is a po erfu too to u dersta d o Who your users are (i c udi g i teracti g systems) o What fu ctio s the system sha provide o Ho these fu ctio s ork at a high eve Spe d adequate time o requireme ts a d i the e aboratio phase