DOC PREVIEW
SJSU CMPE 133 - Sequence Diagrams

This preview shows page 1-2-3-4 out of 13 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Software System EngineeringSlide 2Slide 3Drawing Sequence DiagramsCommon UsesSequence DiagramsSyntax of Sequence DiagramSequence Diagram: Example (1)Sequence Diagram: Example (2)Sequence Diagram: Example (3)Sequence Diagram: Example (4)Sequence Diagram: Example (5)Discussion Questions© M.E. Fayad 2000-2006SJSU -- CmpESoftware System Engineering Dr. M.E. Fayad, ProfessorComputer Engineering Department, Room #283I College of EngineeringSan José State UniversityOne Washington SquareSan José, CA 95192-0180 http://www.engr.sjsu.edu/~fayad© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S2 Sequence Diagrams2Lesson 3-6b:Sequence Diagrams© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S3 Sequence Diagrams Lesson ObjectivesObjectives3 Understand how to generate sequence diagrams Learn the syntax of sequence diagram Explore examples of sequence diagrams© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S4 Sequence DiagramsPlace objects that participate in the interaction at the top of the diagram, across the X-axis–Place the object that initiates the interaction at the left, and increasingly more subordinate objects to the rightPlace messages the objects send and receive along the Y-axis, in order of increasing time from top to bottom4Drawing Sequence Diagrams© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S5 Sequence DiagramsUse sequence diagrams to model flows of control by time ordering–Do a better job of visualizing simple iteration and branchingUse collaboration diagrams to model flows of control by organization–Do a better job of visualizing complex iteration and branching and of visualizing multiple concurrent flows of control5Common Uses© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S6 Sequence DiagramsSequence diagrams have two features:–Object lifeline•Vertical dashed line that represents the existence of an object over a period of time–Focus of control•A tall, thin rectangle that shows the period of time during which an object is performing an action, either directly or through a subordinate procedure6Sequence Diagrams© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S7 Sequence Diagrams7Syntax of Sequence Diagram© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S8 Sequence Diagrams8Sequence Diagram: Example (1)© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S9 Sequence Diagrams9Sequence Diagram: Example (2)© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S10 Sequence Diagrams10Sequence Diagram: Example (3)© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S11 Sequence Diagrams11 Sequence Diagram: Example (4)© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S12 Sequence Diagrams12Sequence Diagram: Example (5)© M.E. Fayad 2000-2006SJSU – CmpE M.E. Fayad L3-6b-S13 Sequence DiagramsT/F:1. The participants in the sequence diagrams are classes and components2. The sequences in the sequence diagram are connected.3. Sequence diagram is an event-trace diagram4. You can generate a sequence diagram / use case.5. A sequence diagram models flows of control by time ordering13 Discussion


View Full Document

SJSU CMPE 133 - Sequence Diagrams

Download Sequence Diagrams
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Sequence Diagrams and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Sequence Diagrams 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?