 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

Karolina Muszyńska Based on:
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Practical Business Modeling in the Unified Process Tom Morgan Software Architect, Fidelity National Information Services
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Use-case Modeling.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
Use Case Analysis Chapter 6.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Use Cases.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Use Case Modeling.
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Chapter 7: The Object-Oriented Approach to Requirements
USE Case Model.
Use Case Diagrams – Functional Models Chapter 5. Objectives Understand the rules and style guidelines for activity diagrams. Understand the rules and.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Prepared by Afra`a Sayah. Introduction. Weekly Tasks. Plane Phase. Analysis Phase. Design Phase. Report Rules. Conclusion. 2.
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Requirements Artifacts Precursor to A & D. Objectives: Requirements Overview  Understand the basic Requirements concepts and how they affect Analysis.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
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 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
Use Case Modeling Chapter 7 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
1 Structuring Systems Requirements Use Case Description and Diagrams.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
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 Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
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.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Slide 1 Classes and Objects. Slide 2 Messages and Methods.
PRESENTATION ON USE CASE. Use Case Modeling Use case diagrams describe what a system does from the standpoint of an external observer. The emphasis is.
Unit-3 Identifying use cases Object Analysis Classification
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
UML - Development Process 1 Software Development Process Using UML.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
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.
Use Case Analysis Chapter 6.
Chapter 5 System modeling
Systems Analysis and Design in a Changing World, 6th Edition
Lec-5 : Use Case Diagrams
Unified Modeling Language
UML Use Case Diagrams.
Systems Analysis and Design in a Changing World, 6th Edition
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Systems Analysis and Design With UML 2
University of Houston-Clear Lake
Object Oriented Analysis and Design
Software Design Lecture : 15.
Seminar 2 Design of Informatics Systems
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common vocabulary for all software specialists

 A model is an abstraction of a situation  Models consist of objects  Objects are alive:  They know their attributes  They can do things using their methods  They exist in different states  Each object is unique, it is not any other object.  Objects live in communities  they exchange messages  They have relationships with each other  Objects live in a world, and there are other worlds  Classes are blueprints of objects  Object are instances of classes

 Use Case diagrams  Class diagrams  Object diagrams  Sequence diagrams  Collaboration diagrams  State chart diagrams  Activity diagrams  Component diagrams  Deployment diagrams

 Describe what the system does from the view of an external observer.  Use cases represent scenarios of what could happen to the system.  A Use Case is a summary of a scenario of some related tasks

 “A patient calls the clinic to make an appointment for a yearly checkup. The receptionist finds the nearest empty time slot in the appointment book and schedules the appointment for that time slot.”

 A Use Case diagram is a summary of Use Cases

 Use Case diagrams show the system boundaries

 Generalization = one is a special kind of the other

 Includes = one invokes the other

 Extend = one is a variation of the other

 Ask “what”, “when”, “why” questions  Explain what you understand  Keep doing that until you get a precise mutual understanding

 Use cases should be names using verbs  Use Cases should be described:  What makes them happen  What are the conditions that they happen  What are the input messages  What are the output messages  What are all the other conditions and restraints  What are the exceptions  Use Cases are tools use by Actors to get results

 Because Use Cases  Help you understand WHAT you are modeling  Help you communicate with your clients  Help you estimate your requirements  Help you introduce the system to your team  Help you plan your design phase  Help you plan your testing phase  Help you write your documentation (How-to’s)

 At least, you should describe:  Who are the actors  Why does it happen? (the goal and/or context)  When does it happen? (the triggering event)  What happens? (the normal flow)  What else? (alternative and/or exceptional flows)  What are all the business rules?  Do not bother writing how it happens.

 Actor names are in single.  Actors represent roles, not persons  Use case name is a verb followed by a direct object.  Show only Use Cases that are important to the user  Show only actors that are directly related to the Use Cases  Create many detailed Use Case diagrams to analyze requirements  Group common Use Cases in Packages.

 Unclear system boundary  The Use Case is written from the system view  The actor names are inconsistent  There are too many Use Cases  The Actor to Use Case relationship is too complicated  The use-case specifications are too long  The use-case specifications are confusing  Incorrect description of the Use Case functionality  The customer doesn't understand the use cases  The use cases are never finished