Faculty of Computer & Information

Slides:



Advertisements
Similar presentations
Context Diagram Yong Choi BPA CSUB.
Advertisements

Use-Cases.
Use Case Diagrams Damian Gordon.
09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
Use Case & Use Case Diagram
1Spring 2005 Specification and Analysis of Information Systems Specifying Requirements with Use Case Diagrams Part II.
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Karolina Muszyńska Based on:
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
USE CASE – ATM EXAMPLE Actors: ATM Customer ATM Operator Use Cases: The customer can withdraw funds from a checking or savings account query the balance.
SWE 214 (071) Use Case Diagrams Slide 1 Use Case Diagrams Examples.
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
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.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Use Cases & Requirements Analysis By: Mostafa Elbarbary.
Object Oriented Analysis Process
Use Case Diagram.
Quiz 1. Who is the guru of Extreme Programming?
Use Cases 2 ENGR ♯10 Peter Andreae
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Intro: Use Case and Use Case Diagram Documentation.
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
ICT and Banks Banks use mainframe computers to maintain customer accounts. They store a record of each customer’s withdrawals and deposits. Each bank mainframe.
Rational Requirements Management with Use Cases v5.5 Copyright © Rational Software, all rights reserved 1 Requirements Management with Use Cases.
Requirements Analysis and Design Engineering Southern Methodist University CSE 7313.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
1 Use Case Modeling Reference: RUP Doc. Use Case Example 2.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
Use Case Modeling Chapter 7 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
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.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
Unit 3 Functional Requirements. Syllabus Introduction Features and usecases Use case Scenarios Documenting use cases Levels of details SRS Document.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
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.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
UML (Unified Modeling Language)
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Lecture Outline Monday 23 rd February (Week 4) 3 – 3:10pm Review of Requirements Eng. and use cases 3:10 – 3:40pm Exercise on Use Case 3:40-4:40 Class.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
Requirements Document for the Banking System
1 Object-Oriented Static Modeling of the Banking System - III Lecture # 33.
1 Object-Oriented Static Modeling of the Banking System - II Lecture # 32.
Use Case Diagrams A Detailed Description. Use Case Diagrams Use case diagrams describe relationships between users and use cases A use case is a (usually.
1 Case Study and Use Cases for Case Study Lecture # 28.
Using Use Case Diagrams
Paul Ammann & Jeff Offutt
CMPE 280 Web UI Design and Development August 29 Class Meeting
Structured Analysis and Design Technique
Storyboarding and Game Design SBG, MBG620 Full Sail University
Dynamic Modeling of Banking System Case Study - I
Use Case Model.
Object-Oriented Static Modeling of the Banking System - I
Creating Use Cases.
UML Use Case Diagrams.
SE-565 Software System Requirements IV. Use Cases
Concepts, Specifications, and Diagrams
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Paul Ammann & Jeff Offutt
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
Real-Time Structured Analysis and Design Technique (RSTAD)
Presentation transcript:

Faculty of Computer & Information Use Case Diagram Faculty of Computer & Information Software Engineering Third year 2010-2011

Use Case Diagram A use case is a set of scenarios that describing an interaction between a user and a system. It displays the relationship among actors and use cases.  The two main components of a use case diagram are use cases and actors

Use Case Diagram Use Case Actor A use case describes a sequence of actions that provide something of measurable value to an actor . Actor An actor is a person, organization, or external system that plays a role in one or more interactions with your system A document describing the use case in details

Identifying Use Cases Which functions does the actor require from system? Does the actor need to read, create, destroy, modify, or store some kind of information in the system? Does the actor have to be notified about events in the system

Identifying actors Useful questions Who will use the main functionality of the system(primary actors)? Who will need to maintain, administrate, and keep the system working (secondary actors)? With which other systems does the system need to interact? Who or what has an interest in the results (the value) that the system produces?

Use Case Examples

Use Case Examples

Creating Use Case Diagrams Start by listing a sequence of steps a user might take in order to complete an action.  For example a user placing an order with a sales company might follow these steps.  Browse catalog and select items. Call sales representative. Supply shipping information. Supply payment information. Receive conformation number from salesperson.

Creating Use Case Diagrams Associations

Example Students are enrolling in courses with the potential help of registrars. Professors input the marks students earn on assignments registrars authorize the distribution of transcripts (report cards) to students

University Information System Input Marks Enter in Course Selected Courses Student Professor Registrar

Structure of a Use Case Specification Name Actors Trigger Preconditions Post conditions Success Scenario Alternatives flows

Triggers What starts the use-case? Examples: Customer reports a claim Customer inserts card System clock is 10:00

Preconditions What the system needs to be true before running the use-case. Examples User account exists User has enough money in her account There is enough disk space

Post-Conditions A post-condition is the outcome of the use-case. Examples Money was transferred to the user account User is logged in The file is saved to the hard-disk

Success Scenario The success scenario is the main story-line of the use-case It is written under the assumption that everything is okay, no errors or problems occur, and it leads directly to the desired outcome of the use-case It is composed of a sequence of action steps Introduction | Diagrams | Writing | Linking | Guidelines

Success Scenario User enters product name, SKU and description System validates product SKU System adds the product to the DB and shows a confirmation message Introduction | Diagrams | Writing | Linking | Guidelines

Success Scenario Example User enters a keyword System presents a set of search results, and sponsored products, all of which include name, short description and price User selects a product System displays a product page, including product information, reviews and related products User adds the product to the shopping cart Introduction | Diagrams | Writing | Linking | Guidelines

Reuse Opportunities There are some types of relationships between use cases Extends Includes

Inclusion

Extension

How to make use case diagram Make interviews with user or make site view. From these interviews we can know actors and an overview of the use cases in the system. Making more and more interviews allow you to know the details about use cases or another use cases

Example

Bank System A bank has several automated teller machines (ATMs), which are geographically distributed and connected via a wide area network to a central server. Each ATM machine has a Card reader Cash dispenser keyboard/display Receipt printer. By using the ATM machine, a customer can Withdraw cash from either a checking or savings account Query the balance of an account Transfer funds from one account to another.

Bank System An ATM operator may start up and close down the ATM to replenish the ATM cash dispenser and for routine maintenance. It is assumed that functionally to open and close accounts and to create, update, and delete customer and debit card records is provided by an existing system and is not part of this problem.

ATM: Use Case Model