© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.

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.
Object-Oriented Software Engineering Visual OO Analysis and Design
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Systems Analysis and Design 8th Edition
Object-Oriented Analysis and Design
Department of Computing
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
CS 425/625 Software Engineering System Models
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
Sequence Diagram. What is Sequence Diagram?  Sequence Diagram is a dynamic model of a use case, showing the interaction among classes during a specified.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Modern Systems Analysis and Design Fifth Edition Jeffrey A
Object-Oriented Analysis and Design: Sequence Diagrams
SE-565 Software System Requirements More UML Diagrams.
Chapter 14: Object-Oriented Data Modeling
Unified Modeling Language
Class, Sequence and UML Model.  Has actors and use cases.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
State diagrams Interaction diagrams –Sequence diagrams –Collaboration diagrams Object orientation Part 4: Dynamic Modeling.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
Systems Analysis & Design 7 th Edition Chapter 5.
Systems Analysis and Design 8 th Edition Chapter 6 Object Modeling.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
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.
Lecture 8 Object-Oriented Analysis and Design 20.1 COSC4406: Software Engineering.
Sequence diagram in UML Martin Palkovik. Sequence diagram  It is a graphic representation of system operations based on chronology - a time sequence.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
© 2008 Prentice Hall, Ovidiu Noran Lecture 7b 1 Modelling OO Logic Requirements: Sequence Diagrams and Activity Diagrams (Textbook Chapter 8, Appendix)
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
OMT Modeling 1. Object Model : presented by the object model and the data dictionary. 2. Dynamic Model: presented by the state diagrams and event flow.
Chapter 7 Appendix B Object-Oriented Analysis and Design: Activity Diagrams Modern Systems Analysis and Design Seventh Edition Jeffrey A. Hoffer Joey F.
Systems Analysis and Design in a Changing World, Fourth Edition
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 26. Review UML behavioral Diagrams – Sequence diagram.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Chapter 3: Introducing the UML
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Systems Analysis and Design in a Changing World, Fourth Edition
Appendix 3 Object-Oriented Analysis and Design
Analysis Classes Unit 5.
Unified Modeling Language
Visit for more Learning Resources
Object-Oriented Analysis and Design: Sequence Diagrams
Business System Development
UML dynamic Modeling (Behavior Diagram)
Process Modeling: Activity/Swimlane Diagrams
Chapter 20 Object-Oriented Analysis and Design
Object-Oriented Analysis and Design: Activity Diagrams
Appendix A Object-Oriented Analysis and Design
Chapter 5.
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Object-Oriented Analysis and Design: Activity Diagrams
Presentation transcript:

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 2 Learning Objectives 13.Describe the concepts and principles underlying the object-oriented approach to analysis and design.  Define the terms concisely: event, state transition, and sequence diagram.  Describe the concepts and principles underlying the object-oriented approach.  Describe the activities in the different phases of the object-oriented development life cycle.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 3  Compare object-oriented modeling with traditional systems development approaches.  Model real-world applications using UML diagrams. Learning Objectives

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 4 The Object-Oriented Development Life Cycle Process of progressively developing representation of a system component (or object) through the phases of analysis, design, and implementation. The model is abstract in the early stages. As the model evolves, it becomes more and more detailed.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 5 Object oriented cycle is like an onion, evolving from abstract to detailed, from external qualities to system architecture and algorithms.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 6 Object-Oriented Deliverables and Outcomes 1.The ability to tackle more challenging problem domains. 2.Improved communication among users, analysts, designers, and programmers. 3.Increased consistency among analysis, design, and programming activities. 4.Explicit representation of commonality among system components. 5.Robust systems. 6.Reusability of analysis, design, and programming results. 7.Increased consistency among the models developed during object-oriented analysis, design, and programming.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 7 The Unified Modeling Language (UML) A notation that allows the modeler to specify, visualize, and construct the artifacts of software systems, as well as business models. Techniques and notations:  Use cases  Class diagrams  State diagrams  Sequence diagrams  Activity diagrams

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 8 Use Cases Revisited A depiction of a system’s behavior or functionality under various conditions as the system responds to requests from users. Full functioning for a specific business purpose. See Chapter 7.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 9

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 10 Class Diagrams Revisited Features:  Objects and classes  Encapsulation of attributes and operations  Polymorphism  Inheritance  Aggregation and composition See Chapter 9.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 11

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 12 Dynamic Modeling Representation of activities that occur throughout the lifetime of a system. Types of UML dynamic models  State diagram: state changes within an object.  Sequence diagram: time-sequenced interactions between objects.  Activity diagram: flow of control between activities within an object.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 13 State Diagrams State  A condition during the life of an object during which it satisfies some conditions, performs some actions or waits for some events.  Shown as a rectangle with rounded corners. State Transition  The changes in the attribute of an object or in the links an object has with other objects.  Shown as a solid arrow.  Diagrammed with a guard condition and action. Event  Something that takes place at a certain point in time, triggering a state transition.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 14 State diagram: a model of the states of a single object and the events that cause the object to change from one state to another. Guard condition Action A transition is labeled with a guard condition and/or an action, separated with a forward slash /

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 15 Diagramming Substates and Decomposing States A state can be expanded into substates using nested state diagrams, similar to expansion of processes in different levels of DFDs.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 16 Diagramming Substates and Decomposing States (cont.) An event can be expanded into using nested state diagrams, and may involve substates and subtransitions and events.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 17 Dynamic Modeling: Sequence Diagrams A depiction of the interaction among objects during certain periods of time. Elements of a sequence diagram:  Objects: represented by boxes at top of diagram.  Lifeline: the time during which an object exists.  Activation: the time period during which an object performs an operation.  Messages: means by which objects communicate with each other.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 18 Types of Messages in Sequence Diagrams Synchronous message  The caller must wait for the receiving object to finish executing the called operation before it can resume execution itself. Asynchronous message  The caller can resume execution right after sending the message, without waiting for the receiver to complete. Simple message  A message that transfers control from the sender to the recipient without describing the details of the communication

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 19 time lifeline activation message object

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 20 Process Modeling: Activity Diagrams Shows the conditional logic for the sequence of system activities needed to accomplish a business process Clearly shows parallel and alternative behaviors Can be used to show the logic of a use case

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 21 Elements of Activity Diagrams Activity: a behavior that an object carries out while in a particular state. Transition: a movement from one activity or state to another. Branch: a diamond symbol containing a condition whose results provide transitions to different paths of activities. Synchronization bar: horizontal or vertical bars denoting parallel or concurrent paths of activities.  Fork: the beginning of parallel activities.  Join: the end of parallel activities. Swimlanes: columns representing different organizational units of the system.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 22 swimlane activity branch synchronization bar

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 23 Analysis Versus Design Start with existing set of analysis model. Progressively add technical details. Design model must be more detailed than analysis model. Component Diagram  A diagram that shows the software components or modules and their dependencies. Deployment Diagram  A diagram that shows how the software components, process and objects are deployed into the physical architecture of the system.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 24

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 25 Summary In this chapter you learned how to: 13. Describe the concepts and principles underlying the object-oriented approach to analysis and design.  Define the terms concisely: event, state transition, and sequence diagram.  Describe the concepts and principles underlying the object-oriented approach.  Describe the activities in the different phases of the object-oriented development life cycle.

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 26  Compare object-oriented modeling with traditional systems development approaches.  Model real-world applications using UML diagrams. Summary