Software System Engineering

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Activity Diagrams in UML. Definition Activity diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Software Engineering COMP 201
UML Activity Diagrams In UML an activity diagram is used to display the sequence of actions They show the workflow from start to finish Detail the many.
L3-5c-S1 Object Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department,
SE 555 Software Requirements & Specification 1 Activity Diagrams.
L16-S1 Object Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L28-S1 Interaction Diagrams 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
1 CS 691z/791z Topics in Software Engineering Chapter 13: Activity Diagrams & Chapter 19: Basic Statecharts [Arlow and Neustadt, 2002] March 8, 2007.
L3-5d-S1 Class Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
Essentials of state and activity diagram Lecture 24.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L26-S1 Interactions 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
7M822 UML Activity Diagrams 6 October 2008.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
L5-S1 Class Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
UML Activity Diagram. Activity Diagram  The main reason to use activity diagrams is to model the workflow behind the system being designed.  Activity.
Modern Systems Analysis and Design Fifth Edition Jeffrey A
 Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L3-6b-S1 Sequence Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
© Richard Welke 2002 CIS 4120 Fa13: Define/Innovate BP’s Richard Welke Director, CEPRIN Professor, CIS Robinson College of Business Georgia State University.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
Activity diagrams M Taimoor Khan
Chapter 3: Introducing the UML
Analysis Classes. What Is an Analysis Class?  A class that represents initial data and behavior requirements, and whose software and hardware-oriented.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
Activity Diagramming by Andrzej Rosolski Stanisław Gliniewicz.
Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.
UML Chapter 17.
Analysis Classes Unit 5.
Activity Diagrams.
Information Delivery Manuals: Process Mapping
Activity Diagram.
Activity and State Transition Diagram
Activity Diagram.
Visit for more Learning Resources
Software Engineering Management
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
Business System Development
Component-Based & Software Reuse
Software System Engineering
Process Modeling: Activity/Swimlane Diagrams
Object-Oriented Analysis & Design
Week 12: Activity & Sequence Diagrams
Software Engineering Management
Activity Diagrams.
BPMN - Business Process Modeling Notations
Activity diagram It supports visual representation of sequences of actions that target a certain result. May be built for one or many use cases or for.
Static Modeling using the Unified Modeling Language (UML)
Appendix 3 Object-Oriented Analysis and Design
Behavioral Diagrams P. P. Mahale
Software System Engineering
Object-Oriented Analysis & Design
Interaction Models (2): Activity Diagrams
Presentation transcript:

Software System Engineering Presented By: Tahir Mahmood 1999 – 2005 M.E. Fayad SJSU -- CmpE

Lesson 02-D: Activity Diagrams 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

3 Lesson Objectives Discuss and understand activity diagrams Understand the elements of activity diagrams Activity Transition Synch. Bar Decision Diamond Start & Stop Markers 3 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

4 Activity Diagram Describes how activities are coordinated. Is particularly useful when you know that an operation has to achieve a number of different things, and you want to model what the essential dependencies between them are, before you decide in what order to do them. Records the dependencies between activities, such as which things can happen in parallel and what must be finished before something else can start. Represents the workflow of the process. 4 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

5 Notation 2. Transition Activity1()c Activity2() 1. Activities 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

6 Notation - 2 Activity1()c [x>0] [x>0] [x=0] [x=0] [x<0] 3. Decision Diamond 6 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

7 Notation - 3 4.1 Synch. Bar (Join) 4.2 Splitting Bar (Fork) 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

8 Notation - 3 Stop Marker Start Marker 5. Start & Stop Markers 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

10 Example: Business Level Activity Diagram of the Library member Librarian [borrower] Find book on shelf [returning] [returner] Wait in queue [borrowing] Record return Put book back of shelf Record borrowing Prepare for next member 10 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

11 Activity Diagrams (1) To model the dynamic aspects of a system It is essentially a flowchart Showing flow of control from activity to activity Purpose Model business workflows Model operations 11 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (1) 16 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Branching (1) A branch specifies alternate paths taken based on some Boolean expression A branch may have one incoming transition and two or more outgoing ones 17 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Branching (2) 18 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (2) 19 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Forking and Joining Use a synchronization bar to specify the forking and joining of parallel flows of control A synchronization bar is rendered as a thick horizontal or vertical line 20 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Fork A fork may have one incoming transitions and two or more outgoing transitions each transition represents an independent flow of control conceptually, the activities of each of outgoing transitions are concurrent 21 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Join A join may have two or more incoming transitions and one outgoing transition above the join, the activities associated with each of these paths continues in parallel at the join, the concurrent flows synchronize each waits until all incoming flows have reached the join, at which point one flow of control continues on below the join 22 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Fork 23 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (3) 24 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (4) 25 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (5) 26 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (6) 27 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (7) 28 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (8) 31 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

Activity Diagram: Example (9) 32 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad

33 Discussion Questions What are the element of activity diagrams? T/F Activity diagram is a behavior model. Activity diagram is a control model. Define: Activity diagram 33 1999 – 2005 M.E. Fayad SJSU – CmpE --- M.E. Fayad