A Student Guide to Object-Oriented Development

Slides:



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

Solutions to Review Questions
3-1 © Prentice Hall, 2004 Chapter 3: Managing the Object-Oriented Information Systems Project Object-Oriented Systems Analysis and Design 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.
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.
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
Uml and Use Cases CS 414, Software Engineering I Mark Ardis Rose-Hulman Institute January 9, 2003.
9-1 Chapter 9 (part I): Analysis Classes (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
March R McFadyen1 Activity Diagrams start end branch merge fork join guard transition swimlanes activity Used to present procedural steps (algorithm)
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
03/12/2001 © Bennett, McRobb and Farmer Activity Diagrams Based on Chapter 5 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Software Testing and Quality Assurance
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
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
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis Lecture.
SE-565 Software System Requirements More UML Diagrams.
1 Business Models Modeling. 2 Why Model the Business Business modeling is a technique to help answer critical questions, such as: What do the workers.
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.
ZEIT2301 Design of Information Systems
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
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.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Systems Analysis and Design in a Changing World, 3rd Edition
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Requirements Overview.
9-1 © Prentice Hall, 2004 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
9-1 © Prentice Hall, 2007 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
© 2008 Prentice Hall, Ovidiu Noran Lecture 7b 1 Modelling OO Logic Requirements: Sequence Diagrams and Activity Diagrams (Textbook Chapter 8, Appendix)
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
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.
Chapter 7 Appendix B Object-Oriented Analysis and Design: Activity Diagrams Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F.
Activity diagrams M Taimoor Khan
Essentials of Visual Modeling w/ UML Instructor Notes
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
UML Activity Diagrams.
BPMN.  BPMN will provide businesses with the capability of understanding their internal business procedures in a graphical notation.
Analysis Classes. What Is an Analysis Class?  A class that represents initial data and behavior requirements, and whose software and hardware-oriented.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환.
ACO 101: Use cases What do the users do?. When building a system You begin with the Use Case Analysis – When looking at the system as a whole, Use Case.
UML Review Sequence Diagrams SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Business Process and Functional Modeling
Analysis Classes Unit 5.
Activity Diagrams.
Activity Diagrams.
Chapter 4: Business Process and Functional Modeling, continued
Jim Fawcett CSE681 – Software Modeling and Analysis Fall 2017
ACTIVITY DIAGRAMS Pertemuan 20
Business Models Modeling.
Activity and State Transition Diagram
Activity Diagram.
Visit for more Learning Resources
Activity Diagrams.
UML Activity Diagrams.
Process Modeling: Activity/Swimlane Diagrams
Week 12: Activity & Sequence Diagrams
Object-Oriented Analysis and Design: Activity Diagrams
Appendix 3 Object-Oriented Analysis and Design
Object-Oriented Analysis and Design: Activity Diagrams
Presentation transcript:

A Student Guide to Object-Oriented Development Chapter 8 Activity diagrams

Activity diagrams show the internal flow of control in a process can be used to model processing at different levels e.g. high-level workflows in an organization detail of what happens in a use case detail of how an operation works

Activity diagrams can be used to represent sequence selection iteration can also illustrate where different activities can be carried out in parallel

Modelling a sequence of activities

Notation

Modelling alternative courses of action (1)

Activity Diagram (UML) Decision point Synchronization bar End Task UML and C++ A Practical Guide To Object-Oriented Development

Activity Diagrams Activity diagrams extend statechart diagrams and present a sequence of "activities" and how the execution path progresses from one activity to another. UML and C++ A Practical Guide To Object-Oriented Development

Activity Diagrams Activity diagrams can also present: decision points: conditions that change the flow of actions parallel execution paths objects affected by actions UML and C++ A Practical Guide To Object-Oriented Development

Example: Activity Diagram Select Course Check Schedule Pre-requisites Assign to Resolve Conflict Update [checks completed] [checks failed] [student added to course] Initial state Action state Final state The flow of events of a use-case can be described graphically with the help of an activity diagram. Such a diagram is used for capturing workflow in an organiztion and shows: Action states, which represent the execution of an activity or step within the flow of events. Transitions between those action states. Decisions for which a set of guard conditions are defined. These guard conditions control which transition follows once the activity an action state represents has been completed. The above activity diagram shows the steps of the Register for Courses use case. The student first selects a course. Once the course has been selected, the student’s schedule must be checked for conflicts and it must be verified that the student has taken all of the pre-requisites of the selected course. If these validation steps complete successfully, the student is added to the course and his/her schedule can be updated. If the checks fail, the conflicts must be resolved before the student can be registered for the course. Note: An activity diagram is a special case of a state diagram, so a state diagram could also be used. State diagrams are discussed in the Class Design module.

Modelling alternative courses of action(2)

Modelling iteration of activities

Modelling activities that are carried out in parallel(1)

Modelling activities that are carried out in parallel(2)

Alternative and parallel activities

Swimlanes

In alternative activities the diamond symbol may be omitted

Including objects and object flows