System Sequence Diagrams Tutorial. Use-Case for Monopoly game Monopoly game Use Case UC1: Play Monopoly Game Scope: Monopoly application Level: user goal.

Slides:



Advertisements
Similar presentations
Chapter 11 Designing the User Interface
Advertisements

Object-Oriented Analysis and Design CHAPTERS 8, 9: BASICS, INTRO TO DOMAIN MODELS 1.
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
9/10/2004Use Case Workshop 1 CSC480 Software Engineering Workshop 1 Requirements Modeling.
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Use cases.
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Use-case Modeling.
Drawing System Sequence Diagrams
Systems Analysis and Design in a Changing World, Fourth Edition
WEEK 4 Material Lecture 4a (Wed.). Use Cases/Actors o What is a use case ? l A sequence of actions performed by a system that yields an observable result.
Documenting Requirements using Use Case Diagrams
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
NJIT Drawing System Sequence Diagrams Chapter 10 Applying UML and Patterns Craig Larman Presented by Anuradha Dharani.
Object-Oriented Analysis and Design
Chapter 13: Designing the User Interface
חוזים – Contracts 1. Larman – Chapter 10 – SSDs 10.2 What are System Sequence Diagrams? (introduction) Use cases describe how external actors interact.
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
CMPT 275 Software Engineering
Chapter 7: The Object-Oriented Approach to Requirements
SENG 403 SENG 403 – Winter  Brief introduction to SSD  Example (A sales systems (Cashier))  Example (Monopoly game) SENG 403 – Winter 2012.
Sequence Diagram Tutorial
System Sequence Diagrams
INFO 620Lecture #51 Information Systems Analysis and Design Sequence and Collaboration Diagrams INFO 620 Glenn Booker.
RUP Requirements RUP Artifacts and Deliverables
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
14 Chapter 11: Designing the User Interface. 14 Systems Analysis and Design in a Changing World, 3rd Edition 2 Identifying and Classifying Inputs and.
Chapter 18 Object Design Examples with GRASP. Objectives Design use case realizations –A use-case realization describes how a particular use case is realized.
Interaction diagrams Sequence and collaboration diagrams.
Object-Oriented Analysis and Design An Introduction.
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 6 Use Cases. Use Cases: –Text stories Some “actor” using system to achieve a goal –Used to discover and record requirements –Serve as input to.
Submitted By: Memon Khurshed (Group Leader) Hamed Abdollahpur
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
UML-1 3. Capturing Requirements and Use Case Model.
PRJ566 System Sequence Diagrams.  A system sequence diagram …. Illustrates input and output events related to the system under discussion.  Larman,
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
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.
♦ Use Case Model  Detailled use case - Important  Use case diagram- Refactoring Use case diagram  > 1 Last Lectures.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Chapter 1 Applying UML and Patterns. The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary.
Drawing System Sequence 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.
COMP-350 Object-Oriented Analysis and Design Drawing System Sequence Diagrams Reference: Larman, Chapter 9.
System sequence diagrams
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 5 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
Phase 6 Start: Saturday14 April End: Saturday 21 April
Systems Analysis and Design in a Changing World, Fourth Edition
Domain Model A representation of real-world conceptual classes in a problem domain. The core of object-oriented analysis They are NOT software objects.
Use Case Model Use case description.
Summary from previous lectures
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
SYSTEM-LEVEL SEQUENCE DIAGRAMS Sys466. System-Level Sequence Diagrams  Use cases describe how external actors interact with the software system…  An.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Object Oriented Analysis & Design By Rashid Mahmood.
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.
Object Design Examples with GRASP
Systems Analysis and Design in a Changing World, 6th Edition
System sequence diagrams
BTS430 Systems Analysis and Design using UML
Creating Use Cases.
Start at 17th March 2012 end at 31th March 2012
Systems Analysis and Design in a Changing World, 6th Edition
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Requirements Engineering Tutorial
Presentation transcript:

System Sequence Diagrams Tutorial

Use-Case for Monopoly game Monopoly game Use Case UC1: Play Monopoly Game Scope: Monopoly application Level: user goal Primary Actor: Person Stakeholders: Person: Wants to easily observe the output of the game simulation.

Use-Case for Monopoly game Main Success Scenario: 1. Person enters number of players and requests new game initialization. 2. Person starts play 3. System displays game trace i.e dice total, player, square for next player move 4. Repeat step three until a winner or Person cancels. The following would be part of the supplementary specication in a RUP project: Domain Specic Rules: The rules for the game are: Two to eight players can play. A game is played as a series of rounds on a board comprised by 40 squares. During a round, each player takes one turn. In each turn, a player advances his/her piece clockwise around the board a number of squares equal to the sum of the numbers rolled on two six-sided dice. After the dice are rolled, the name of the player and the roll are displayed, as well as the target square's name.

Use-Case Diagram

Domain Model Remember the key idea of the Domain Model: A domain model is a representation of real-world conceptual classes, not of software artifacts. It is not a set of diagrams describing software classes with responsibilities. Considering this, a possible Domain model for the given example would contain: MonopolyGame Die Board Player Piece Square 5

Domain Model of the Monopoly Game

Sequence Diagram On Sequence Diagrams: Time flow is organized from top to bottom. Focus of control is shown using an activation box which is optional, but commonly used. A return from a message may be shown as a dashed open-arrowed line. Many practitioners exclude them. Messages sent to self can be illustrated using a nested activation box. Conditional messages are shown in square-brackets. Can be converted to communication diagrams and vice versa.

System Sequence Diagram On System Sequence Diagrams: An SSD should be done for the main success scenario of the use case, and frequent or complex alternative scenarios. Properties of an SSD: The UML does not define something called a system sequence diagram. SSDs are part of the Use-Case Model (although not mentioned explicitly within the UP documentation) { a visualisation of the interactions implied in the use cases. Treat the system as a black-box. Show user interaction(s) with the system and the actions induced by these.

System Sequence Diagram

Public Library High level format: Name: search for book Actors: patron (Initiator), librarian Type: primary, essential Description: This use case beginning when patron come to librarian and ask him about certain book in library by give name of author,then librarian search in system and tell the patron about department and number of shelf that book founded there.

Expanded format: Name: search for book Actors: patron (Initiator), librarian Type: primary, essential Description: This use case beginning when patron come to librarian and ask him about certain book in library by give name of author,then librarian search in system and tell the patron about department and number of shelf that book founded there.

Typical course of event: Actor ActionSystem response 1- This use case beginning when the patron come to library and ask librarian about certain book 2-The librarian asks the patron about name of author book and enters it to the system. 3- The system display all books that written by this author and ask about name of book. 4-the librarian ask the patron about the name of book that written by this author and edition and enter the name to system. 5-The system display the book and position on the library with available number of edition. 6-The librarian ask system to print report About position of book in library. 7-system print the report with all Information about position of book 8-The librarian give the patron the report With information of position like: Department, number of shelf

Alternatives: Alternative 3: the name of author not exist in the library so cancel the search Alternative 5: the name of book not exist in the library, so cancel searching