4-1 © Prentice Hall, 2007 Topic 4: Structuring Systems Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey.

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Chapters 7 & 9 System Scope
Chapter 7 Structuring System Process Requirements
Systems Analysis and Design with UML Version 2.0, Second Edition
Appendix Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Object-Oriented Analysis and Design
CS3773 Software Engineering Lecture 03 UML Use Cases.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design in a Changing World, Fourth Edition
Use Case Analysis Chapter 6.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
A use case describes one “case” of how a user can use the system.
9-1 © Prentice Hall, 2004 Chapter 9, Part II: System Behavior - Interactions (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Use Cases.
Chapter 6 Functional Modeling
Functional Modeling Chapter 6.
Use Case Modeling.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Detailed Object-Oriented Requirements Definitions
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
Chapter 7 Structuring System Process Requirements
Chapter 7: The Object-Oriented Approach to Requirements
USE Case Model.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Chapter 7 Structuring System Process Requirements
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
14-1 © Prentice Hall, 2004 Chapter 14: OOSAD Implementation and Operation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F. George.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
1 Structuring Systems Requirements Use Case Description and Diagrams.
9-1 © Prentice Hall, 2004 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
9-1 © Prentice Hall, 2007 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 6: Functional Modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
13-1 © Prentice Hall, 2004 Chapter 13: Designing the Human Interface Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S.
Larman chapter 61 Use cases Larman chapter 6. 2 Fig. 6.1.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
1 7 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 7 The Object-Oriented Approach to Requirements.
TA: Shreya Rawal.  A use case is a description of a system’s behavior as it responds to a request that originates from outside of that system (Usually.
5-1 © Prentice Hall, 2004 Chapter 5: Determining Object-Oriented Systems Requirements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Use Case Analysis Chapter 6.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
Chapter 4: Business Process and Functional Modeling, continued
Business System Development
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

4-1 © Prentice Hall, 2007 Topic 4: Structuring Systems Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer

Topic 4 2 © Prentice Hall, 2007 Chapter Objectives Af ter studying this chapter you should be able to: – Understand how to structure requirements with use case diagrams. – Explain the basics of use case construction using UML standards. – Construct use case diagrams. – Write text-based use cases.

Topic 4 3 © Prentice Hall, 2007

Topic 4 4 © Prentice Hall, 2007 What Is Requirements Structuring? The process of analyzing, organizing, and modeling the requirements obtained via interviews, questionnaires, observation, and document analysis Relevant UML models include use cases, class diagrams, interaction diagrams, and activity or statechart diagrams

Topic 4 5 © Prentice Hall, 2007 Use Case Deliverables Use case diagrams Written descriptions of use-case contents

Topic 4 6 © Prentice Hall, 2007

Topic 4 7 © Prentice Hall, 2007 UML Use Case Diagram Symbols Use Case Actor Boundary Connection Include relationship Extend relationship >

Topic 4 8 © Prentice Hall, 2007 What Is a Use Case? A depiction of a system’s behavior or functionality under various conditions as the system responds to requests from users Full functioning for a specific business purpose

Topic 4 9 © Prentice Hall, 2007 What Is an Actor? An external entity that interacts with the system Most actors represent user roles, but actors can also be external systems. An actor is a role, not a specific user; one user may play many roles, and an actor may represent many users.

Topic 4 10 © Prentice Hall, 2007 What Is a Boundary? The dividing line between the system and its environment - Use cases are within the boundary. - Actors are outside of the boundary.

Topic 4 11 © Prentice Hall, 2007 What Is a Connection? An association between an actor and a use case Depicts a usage relationship Connection does not indicate data flow

Topic 4 12 © Prentice Hall, 2007 What Is an > Relationship? A connection between two use cases Indicates a use case that is used (invoked) by another use case Links to general purpose functions, used by many other use cases

Topic 4 13 © Prentice Hall, 2007

Topic 4 14 © Prentice Hall, 2007 What Is an > Relationship? A connection between two use cases Extends a use case by adding new behavior or actions Specialized use case extends the general use case

Topic 4 15 © Prentice Hall, 2007 What Is a Stereotype A construct that extends the UML vocabulary Adds new meanings to existing entities Depicted with > delimiters > and > are stereotypes

Topic 4 16 © Prentice Hall, 2007 Use Case Diagram in MS Visio

Topic 4 17 © Prentice Hall, 2007

Topic 4 18 © Prentice Hall, 2007 Include vs. Extend Use > if you want to model an extension to, or a variation of, a complete use case that exists in its own right Use > if you want to factor the common behavior among two or more use cases into a single generalized use case

Topic 4 19 © Prentice Hall, 2007 Actors can be grouped in generalization categories.

Topic 4 20 © Prentice Hall, 2007 Written Use Cases Document containing detailed specifications for a use case Contents can be written as simple text or in a specified format

Topic 4 21 © Prentice Hall, 2007

Topic 4 22 © Prentice Hall, 2007 Level of Use Case Refers to degree of detail in the use case description Five suggested levels (Cockburn) 1. White – as seen from clouds 2. Kite – “birds-eye view” 3. Blue – sea-level view 4. Fish – below sea-level 5. Black – bottom of the sea summary detail

Topic 4 23 © Prentice Hall, 2007 summary detail

Topic 4 24 © Prentice Hall, 2007 Sample Format for Written Use Case Title – descriptive name, matches name in use case diagram Primary actor – usually a user role Stakeholders – any group or individual with an interest in the function of the use case

Topic 4 25 © Prentice Hall, 2007 Sample Format for Written Use Case (Continued) Precondition – conditions that must be satisfied in order to execute the use case Minimal guarantee – outputs that can be expected if the service attempt failed Success guarantee – outputs that can be expected if the service succeeds

Topic 4 26 © Prentice Hall, 2007 Sample Format for Written Use Case (Continued) Trigger – an event or action that initiates the use case Main success scenario – description of sequence of interactions between actor and use case during the use case execution Extensions – detailed description of how errors are dealt with

Topic 4 27 © Prentice Hall, 2007 A sample written use case at kite level

Topic 4 28 © Prentice Hall, 2007 Use case at sea level Corresponds with Step 1 of kite-level use case

Topic 4 29 © Prentice Hall, 2007 Use case at sea level Corresponds with Step 2 of kite-level use case

Topic 4 30 © Prentice Hall, 2007 Guidelines for Good Use Cases Choose a good name Illustrate a complete behavior Identify a completable behavior Provide “inverse” use cases Limit each use case to one behavior Represent the actor’s point of view

Topic 4 31 © Prentice Hall, 2007 Recap Af ter studying this chapter we learned to: – Understand how to structure requirements with use case diagrams. – Explain the basics of use case construction using UML standards. – Construct use case diagrams. – Write text-based use cases.