CS 325: Software Engineering March 3, 2015 Activity Modeling for Transformational Systems Trtansformational Systems UML Activity Diagrams.

Slides:



Advertisements
Similar presentations
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 6 State Machine and Activity Diagrams (Based on Stevens and Pooley (2006,
Advertisements

Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
UML State chart/machine diagram State machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state.
Software Design Process A Process is a set of related and (sequenced) tasks that transforms a set of input to a set of output. Inputs Outputs Design Process.
Information System Design IT60105
Extending the Requirements Model - techniques for detailing use cases
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML
Interaction Diagrams Activity Diagram State Machine Diagram
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
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.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.
7M822 UML Activity Diagrams 6 October 2008.
Activity Diagrams. What is Activity Diagrams?  Activity diagrams are a technique to describe procedural logic, business process, and work flow.  An.
Analysis Modeling Dynamic Modeling. Requirements analysis Results in static and dynamic models – Scenario models: use cases (static), swimlane diagrams.
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 6 - Use cases and activity diagrams Dr.
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.
Software Design Processes and Management
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Interaction Modeling. Sequence Models  There are two kinds of sequence models: scenarios and sequence diagrams  A scenario is a sequence of events that.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 25. Review Design Level Class Diagram Identifying classes/Operations/Attributes Associations – Simple associations.
Chapter 14. Activity Modeling for Transformational Systems
Faculty of Computer & Information Software Engineering Third year
Other UML Diagramming Techniques CS 124. UML Diagramming Techniques Class Diagrams Use Case Diagrams Interaction Diagrams Sequence diagrams Collaboration.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Faculty of Computer & Information
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
UML -Part 3. Dynamic Diagram Types Interaction Diagrams - Set of objects or roles and the messages that can be passed among them. – Sequence Diagrams.
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
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.
Information Systems Engineering Activity Diagram 1.
1 LAB What is Collaboration diagram? 4 Collaboration diagrams illustrate the interaction between the objects, using static spatial structure. 4.
University of Southern California Center for Systems and Software Engineering 9/20/2010© USC-CSSE Activity Diagrams for Business Workflows and.
LECTURE 5 4/2/16 1. Functional decomposition 2 A few words on “assumptions” Assumptions arise when there is uncertainty about interpreting observations.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
UML ACTIVITY DIAGRAM 1. Recap Formal Use Case diagram UML notation for use cases Examples 2.
Software Engineering USE CASE DIAGRAM.
Systems Analysis and Design in a Changing World, Fourth Edition
“Your Key To Success in CNIT 280” UML REFRESH COURSE.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Activity Diagrams Dan Fleck Coming up: Activity Diagram.
Activity Diagram.
Business Process and Functional Modeling
WHAT IS A Process Map? Illustration of the sequence of activities, inputs and outputs to the activities, and relationship across multiple functions, or.
Activity Diagram.
Visit for more Learning Resources
Analysis Modeling Dynamic Modeling.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
UML Activity Diagrams & State Charts
Use Case Modeling - techniques for detailing use cases
UML State machine diagram
Activity Diagrams Dan Fleck Coming up: Activity Diagram.
BPMN - Business Process Modeling Notations
Other UML Diagramming Techniques
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.
Activity Diagrams for Business Workflows and Scenarios
Information Systems Engineering
Chapter 14. Activity Modeling for Transformational Systems
Presentation transcript:

CS 325: Software Engineering March 3, 2015 Activity Modeling for Transformational Systems Trtansformational Systems UML Activity Diagrams

CS 325 March 3, 2015 Page 134 Transformational Systems Transformational systems consist of a network of information processing activities, each of which transforms its input into its output. These activities are characterized by control flows that exhibit sequencing, branching, and parallelism, with little or no actor-system interaction. Consider a compiler, which starts with a lexical analysis process that transforms source code input into a token sequence of identifiers, operators, keywords, etc. Next, a parser takes the token sequence as input and outputs a syntax tree, which is used as input to a code generator, which outputs executable code.

CS 325 March 3, 2015 Page 135 UML Activity Diagrams UML Activity Diagrams model the flow of activity within a process (i.e., within a particular use case). The Activity Diagram at left illustrates the activities associated with withdrawing money from a bank account at an ATM.

CS 325 March 3, 2015 Page 136 UML Activity Diagrams Consider an activity diagram to describe the behavior modeled in the use case diagram below. The activity is started by a Commuter actor who needs to buy a ticket. The ticket vending machine will request trip information from the Commuter. This information will include the number and type of tickets (e.g., whether it is a monthly pass, one-way or round-trip, the route number, the destination or zone number, etc.).

CS 325 March 3, 2015 Page 137 UML Activity Diagrams Based on the provided trip info, the ticket vending machine will calculate payment due and request payment options (including payment by cash, or by credit or debit card). If payment by card is selected by the Commuter, another actor, the Bank will participate in the activity by authorizing the payment.

CS 325 March 3, 2015 Page 138 UML Activity Diagrams After payment is complete, a ticket is dispensed to the Commuter. Cash payment might result in some change due, so the change is dispensed to the Commuter in this case. The ticket vending machine will show some "Thank You" screen at the end of the activity.

CS 325 March 3, 2015 Page 139 UML Activity Diagrams The Activity Diagram associated with the “Enroll In University” use case starts with three partitions (or swim lanes), one for each actor (the Applicant and the Registrar), as well as one for the system itself.

CS 325 March 3, 2015 Page 140 UML Activity Diagrams The initial state (represented by the large black circle) starts in the swim lane of the actor invoking the use case. Arrows are used to illustrate the control flow, while rounded rectangles represent the actions taken by each actor.

CS 325 March 3, 2015 Page 141 UML Activity Diagrams When a control flow is marked with text (called a guard), the associated condition must evaluate to true in order for that flow to be traversed.

CS 325 March 3, 2015 Page 142 UML Activity Diagrams The thick horizontal bar with multiple outgoing flows represents a fork, corresponding to the start of activities taking place in parallel. The circled black circle represents a termination state, a point at which the process ends.

CS 325 March 3, 2015 Page 143 UML Activity Diagrams A diamond with several entering control flows represents a merge, at which point any of the incoming flows would yield the same outgoing flow. A diamond with several outgoing control flows represents a decision, with conditions indicating which flow will be taken.

CS 325 March 3, 2015 Page 144 UML Activity Diagrams Explanatory notes may be provided within the diagram to clarify the more complicated aspects of the model. Such notes are particularly helpful to customers and managers, but also assist developers during model reviews.

CS 325 March 3, 2015 Page 145 UML Activity Diagrams The thick horizontal bar with multiple incoming flows represents a join, corresponding to the end of activities that were taking place in parallel.