0% found this document useful (0 votes)
20 views

AIM:-Draw The Sequence Diagram For Any Two Sequences

Sequence diagrams show the sequence of messages passed between objects and can illustrate scenarios. They display when objects are created and destroyed, and whether messages are synchronous or asynchronous. To create a sequence diagram, you specify the classes and objects involved, draw lifelines beneath objects, and use arrows between lifelines to represent message passing with timing shown vertically downward.

Uploaded by

Paras
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

AIM:-Draw The Sequence Diagram For Any Two Sequences

Sequence diagrams show the sequence of messages passed between objects and can illustrate scenarios. They display when objects are created and destroyed, and whether messages are synchronous or asynchronous. To create a sequence diagram, you specify the classes and objects involved, draw lifelines beneath objects, and use arrows between lifelines to represent message passing with timing shown vertically downward.

Uploaded by

Paras
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

AIM:-Draw the sequence diagram for any two sequences.

Sequence diagram are a graphical way to illustrate a scenario they are


called sequence diagram because they show the sequence of massage
passing b/w the objects another advantage of these diagram is that they
show when the object are created and when they are destructed they also
show whether massages are synchronous or asynchronous

Steps for creating sequence diagram:-

1. You must know the scenario .you want to model before


diagramming sequence diagram.
2. After that specify the classes in that scenario
3. List the involved object in scenario horizontally on the top of the
page..
4. Drop a dotted a line beneath any object they are called life line.
5. The scenario should start by a massage pass from the first object.
6. You must know how to place the objects so that the sequences clear
7. You may start the scenario by an actor
8. Timing is represented vertically downward
9. Arrows b/w lifeline represent massage passing
10.Horizontalarrow may pass to the lifeline of another object but must
stop at some other object
11.You may add constraint to these horizontal arrows
12.Objects may sends massages to themselves
13.Long narrow rectangle can be placed over the lifeline of objects to
show when the object is active these rectangle are called
activation line
Sequence Diagram for E-voting System

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy