Software Engineering UNIT 2. Functional Modelling.

Slides:



Advertisements
Similar presentations
Use-Cases.
Advertisements

Object-Oriented Analysis and Design Evolutionary Requirements.
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Use Case Diagrams Damian Gordon.
Use Case & Use Case Diagram
1Spring 2005 Specification and Analysis of Information Systems Specifying Requirements with Use Case Diagrams Part II.
Chapter 7 Structuring System Process Requirements
Use Case Model. C-S 5462 Use case model describes what the user expects the system to do –functional requirements may describe only the functionalities.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
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.
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 5a: Sequence Interaction Diagrams CSE 111 Copyright W. Howden1.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
COMP1007 Intro to Systems Requirements © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Intro to System Requirements Lecture 2 Use-Cases.
Requirements Analysis 4. 1 Use Case I b504.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Use-Cases.
Use Case Modeling. Kendall & Kendall© 2005 Pearson Prentice Hall18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram,
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Unified Modeling Language
Chapter 7 Structuring System Process Requirements
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
CMPT 275 Software Engineering
Requirements Elicitation. Requirement: a feature or constraint that the system must satisfy Requirements Elicitation: specification of the system that.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Use Case Modeling Scenarios, Actors and Use cases Use case Relationships > and > Use case Generalization Writing use cases formally Choosing System Boundary.
Classification of UML Diagrams
Intro: Use Case and Use Case Diagram Documentation.
Interaction Modeling. Introduction (1) Third leg of the modeling tripod. It describes interaction within a system. The class model describes the objects.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 25. Review Design Level Class Diagram Identifying classes/Operations/Attributes Associations – Simple associations.
Faculty of Computer & Information
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
Object Oriented Analysis & Design & UML (Unified Modeling Language) 1 Part II: Requirements The requirements workflow Use case modeling Advanced.
1 Structuring Systems Requirements Use Case Description and Diagrams.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
UML (Unified Modeling Language)
Chapter 3: Introducing the UML
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
1 After the scenarios are formulated Find all the use cases in the scenario Describe each of these use cases in more detail Participating actors Describe.
CHAPTER 6 OBJECT ANALYSIS.
Project 2: Phase 1 Submission 7 Late submissions 10% 10 No submissions 14% Better than project 1 phase 3 submissions 10-point bonus: If you catch the deadline.
1 Use Cases Object-Oriented Modeling and Design with UML (Second Edition) Blaha & Rumbaugh Sections 7.1, 8.1.
IST 311 – Object-Oriented Design & Software
Systems Analysis and Design in a Changing World, Fourth Edition
CMPE 280 Web UI Design and Development August 29 Class Meeting
Storyboarding and Game Design SBG, MBG620 Full Sail University
Use Case Model.
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
OO Domain Modeling With UML Class Diagrams and CRC Cards
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Object Oriented Analysis and Design
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Using Use Case Diagrams
Seminar 2 Design of Informatics Systems
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Presentation transcript:

Software Engineering UNIT 2. Functional Modelling

Objectives Actors Identification Static Context Diagrams Use Cases Identification Use Case Diagrams Development Use Case Textual Description Graphically Use Case Description Activity Diagrams Development Sequence Diagrams Development Use Case Make-up (Inclusion / Extension / Generalisation ) Use Case Make-Up in packages

1. How to identify all the actors ? Actor Features  A human user or a system who send or receive one or more messages; the message must contains an important or representative information. Example: a student for a school library Non-Example : a Credit Card for a supermarket or an ATM  To identify the human user must to search all the person who have a realtion with the aplication without forget the system administrator, analyst – programmer, etc.

Actor features An extern entity This entity has a relation with the aplicattion A human being,extern object,other system Actor=a answer for the next question  Who use the aplication ?  Who install, start, stop or keep the aplication ?  Who send or receive information for the aplication ?  Which other system use or donne services to aplication ?

How to represent an actor ? The Stick Man Model

Principal / Second actor

2.The Static Context Diagram The Static Context Diagram contains all the actors off the application Each actor in this diagram has associated his multiplicity The human actor it is represent with a stick man A system-actor it is represent with a rectangle and in the rectangle-center it is the name of this actor

Example of Static Context Diagram

3. Use Case Diagrams A use case is a application - function for a specific actor A use case activity is not interrupt with another activity (always the use case activity is continuous ) A use case represent an ensemble of sequence actions development by the actors with an observable and intersting result for one or two actors

Example of Use Case Diagram

Actors & Use Case For the next use case it is necessary the two actors The use case it isn’t work without the two actors

Include Relationship In one form of interaction, a given use case may include another The first use case often depends on the outcome of the included use case. This is useful for extracting truly common behaviors from several use cases into a single description This usage resembles a macro expansion where the included use case behavior is placed inline in the base use case behavior The notation is a dashed arrow from the including to the included use case, with the label «include». The Source Use Case contain/ involve the behavior described by the including use case

Example of Include Relationship

Extend Relationship This relationship indicates that the behavior of the extension use case may be inserted in the extended use case under some conditions This can be useful for dealing with special cases, or in accommodating new requirements during system maintenance and extension. The notation is a dashed arrow from the extension to the extended use case, with the label «extend»

Condition to satisfy for using the extend relation !

Example of Extend Relationship

Each actor, one representation It is needlessly to draw the actors linked to a use case by a extend / include realtionship

A generalization/specialization relationship

Explanation A given use case may be a specialized form of an existing use case This resembles the object-oriented concept of sub- classing, in practice it can be both useful and effective to factor common behaviors, constraints and assumptions to the general use case, describe them once, and deal with same as except details in the specialized cases This relationship is used to define a more specific function / use case for one informations traitement Inheritance of behavior,features and relationship

Use Case Description An use case must remain simple An use case is a indivisble « movie » A representative name for each use case ( a verb ) Don’t give a very exactly name for a use case Example : introduce the client first name,introduce the client age,etc Don’t modelling out the application Minimum 1 actor for an use case

Use case fragmentation If the interactions are very complexes If there are independents use case Each fragment of an use case must have minimum 1 actor

4.How to develop the use case diagram Identify the actors ( main actors, secondary actors, systems-actors ) Identify the use cases for each actor Design the primary diagram Identify the generalisation relationship between the actors Main actors at left, secondary at right Fragment all complex use cases (include, extend, specialisation relationship )

Example

5. Use Case Textual Description Title : Resume : Actors : Creation date : Responsable : Version: Scenario Description Precondition Nominal scenario Alternativ scenarios Error scenarios PostCondition Non – Functional Exigences GUI description

6. Graphically Use Case Description All the use cases must be documented A documenation for a use case must contain a sequence diagram and/or activity diagram The nominal scenario must have a textual description and also a sequence/activity diagram Only for the very important use cases it is necessary the sequence and activity diagrams

Example of a textual description 1. The user introduce his Credit Card in to the GAB 2. GAB verify if the card is a true Credit Card 3. GAB ask the PIN code 4. The user introduce his PIN 5. GAB make a comparation between the Credit Card PIN and the user PIN 6. GAB demande the autorisation of Global Autorisation System 7. The Global Autorisation System give his accord and autorized the user to make his transaction 8. GAB demande at user to introduce the code of his operation

… 1. The user introduce his option : make a withdrawal 2. GAB demande the amount of his witthdrawal 3. The user introduce the amount of his withdrawal 4. The GAB make all the verification 5. The GAB make the autorisation for the withdraw 6. The user demande a ticket 7. GAB send the Credit Card at user 8. The user receive the Credit Card 9. The GAB send the ticket 10. The user receive the ticket and the money

Another textual description 1/The user introduce his Credit Card in to the GAB 2/GAB verify if the card is a true Credit Card 3/GAB ask the PIN code 4/The user introduce his PIN5/GAB make a comparation between the Credit Card PIN and the user PIN 6/GAB demande the autorisation of Global Autorisation System 7/The Global Autorisation System give his accord and autorized the user to make his transaction 8/The Global Autorisation System give his accord and autorized the user to make his transaction 9/The user introduce his option : make a withdrawal 10/GAB demande the amount of his witthdrawal ….

7.Sequence diagram Example

Object & Messages Object Actor ( the stick man ) Messages  Sending a message/signal (actor/object)  Method Call (operation call)  Destruction / creation of object

Sinchronus/Asinchronus/ Self Message

Condition [condition] results:=message(args)

Iteration *[not payed] relance(params) For all the non-payed facture must to relance an action with the params …

Constructor/ Destructor