Requirements: Use Case Models and Narratives

Slides:



Advertisements
Similar presentations
OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Advertisements

Use Case & Use Case Diagram
© 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:
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.
Systems Analysis and Design in a Changing World, Fourth Edition
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
© 2005 Prentice Hall3-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Chapter 7: The Object-Oriented Approach to Requirements
USE Case Model.
Chapter 11 Describing Process Specifications and Structured Decisions Systems Analysis and Design Kendall and Kendall Fifth Edition.
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Faculty of Computer & Information
UML-1 8. Capturing Requirements and Use Case Model.
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.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Systems Analysis and Design in a Changing World, Fourth Edition
UML - Development Process 1 Software Development Process Using UML.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
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
Business Process and Functional Modeling
Business Processes A business process describes a set of activities that are necessary to complete a response to a stimulus applied to an organization.
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
Using Use Case Diagrams
Chapter 4: Business Process and Functional Modeling, continued
CMPE 280 Web UI Design and Development August 29 Class Meeting
Systems Analysis and Design in a Changing World, 6th Edition
Use Cases Discuss the what and how of use cases: Basics Benefits
Recall The Team Skills Analyzing the Problem (with 5 steps)
Storyboarding and Game Design SBG, MBG620 Full Sail University
M.M. Pickard, PhD A Primer on Use Cases (Reference: UML Superstructure Specification, v2.1.1)
System sequence diagrams
Creating Use Cases.
Use Case Model Use case diagram.
Chapter 4: Use Case Modeling
Start at 17th March 2012 end at 31th March 2012
Use Case Model Use case description.
Requirements – Scenarios and Use Cases
Concepts, Specifications, and Diagrams
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Systems Analysis and Design in a Changing World, 6th Edition
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 9 Use Cases.
Chapter 4: Use Case Modeling
Use Cases 1.
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Software Design Lecture : 15.
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Using Use Case Diagrams
Seminar 2 Design of Informatics Systems
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Chapter 4: Use Case Modeling
Engineering Quality Software
Stumpf and Teague Object-Oriented Systems Analysis and Design with UML
Use Case Modeling Part of the unified modeling language (U M L)
Use Case Analysis – continued
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Presentation transcript:

Requirements: Use Case Models and Narratives Dr. William L. Honig Associate Professor Department of Computer Science Use Case Models and Narratives William L. Honig, Ph.D., 2015

Requirements Tool and Technique Use Case Model and Narratives Alternative to natural language documents Why? Deep understanding of the system and how it works, what it needs to do, relationship between step and actions Process of careful thinking / communication Some materials here incorporated and adapted from Robert V. Stumpf, Lavette C. Teague, Object-Oriented Systems Analysis and Design With UML, Pearson/Prentice Hall 2005, ISBN 013-143406-3 Use Case Models and Narratives William L. Honig, Ph.D., 2015

Overview (continued) Use case diagrams show the use cases within the scope of the system and the actors in the environment with which each use case is associated. There is a least one use case narrative for each use case. A use case narrative is a structured narrative showing what the system must do to respond to a specific event. © 2005 Prentice Hall

Overview (continued) We write an expanded use case narrative for every use case corresponding to an external event; these are the use cases in which there is input to the system. An expanded use case narrative captures the sequence of messages from an actor to the system as well as the system’s response to each message. The narrative also reveals the structure and content of the messages. © 2005 Prentice Hall

Use Case Heuristic There should be COMPLETE set of use cases Nothing missing Consider cases, alternatives, options, errors, recoveries But, Don’t need to generate lots of similar cases with minor differences. Each case should add new, interesting, information Computer Systems Analysis and Design Copyright 2005 William L. Honig, Ph.D.

Use Cases A use case is the sequence of actions which occur when an actor uses a system to complete a process. A use case is a model of a requirement. A use case name is a short phrase beginning with a verb. © 2005 Prentice Hall

Use Cases Think about the key steps user(s) of the system will do, what they want, how they interact Use case Submit Department Class Schedule. Produce University Class Schedule. Register for Classes. Produce Class Roster. Use Case Models and Narratives William L. Honig, Ph.D., 2015

Identifying Actors An actor is a person, organization, or system which interacts with a system by sending messages to the system or receiving messages from the system. Actors play roles with respect to the system. © 2005 Prentice Hall

Types of Actors An initiating actor initiates a use case by initiating an external event. Thus, initiating actors provide system inputs. A participating actor is involved in a use case but does not initiate it. Thus, participating actors receive system outputs. © 2005 Prentice Hall

The Use Case Model A use case diagram for the entire system – a graphic model One or more use case narratives for each use case – descriptions in text high-level expanded © 2005 Prentice Hall

Use Case Diagram . © 2005 Prentice Hall

Components of a Use Case Diagram © 2005 Prentice Hall

Show Off Time Who here is a good requirements thinker? Willing to answer a few questions Let’s make a use case diagram Think like a careful customer for a new system…. Computer Systems Analysis and Design Copyright 2005 William L. Honig, Ph.D.

Expanded Use Case Narrative . © 2005 Prentice Hall

Parts of an Expanded Use Case Narrative Use Case Name: Actors: Purpose: Overview: Type: (Essential) Preconditions: Postconditions: Special Requirements: Flow of Events: Actor Action System Response Alternative Flow of Events: © 2005 Prentice Hall

Terms in an Expanded Use Case Narrative Precondition: A condition which must be true in order for the use case to begin and produce the desired results. Postcondition: A condition which must be true after the use case has been completed. © 2005 Prentice Hall

Pre and Post Conditions Precise Systems Thinking Precondition Assumptions for this part of the system Guaranteed to be met by something else System set up to be sure they are met No need to check them here Since they are guaranteed! Postcondition What is promised to those coming later System state: verifications, updates, changes, deletions… May be something else’s precondition When used later on Computer Systems Analysis and Design Copyright 2005 William L. Honig, Ph.D.

Terms in an Expanded Use Case Narrative (continued) Special Requirements: A requirement which is critical to users’ acceptance and use of the system. Alternative Flow of Events: What the system should do in the case of exceptional conditions or errors. © 2005 Prentice Hall

Associations Between Use Cases The «includes» association always occurs when the use case which includes it occurs. © 2005 Prentice Hall

Associations Between Use Cases (continued) The occurrence of an «extends» association depends on a true condition in the use case which it extends. © 2005 Prentice Hall