What are sequence diagrams, collaboration diagrams and
difference between them ?

Answers were Sorted based on User's Feedback



What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / naveen verma

Sequence diagram is basically a flow chart w.r.t time.
However, a collabration diagram is very much the sequence
diagram without any time. Collaboration diagrams basically
shows the interaction of the various objects.

Is This Answer Correct ?    61 Yes 11 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / burak

A sequence diagram shows object interaction arranged in
time sequence. It depicts the objects and classes involved
in the scenario and the sequence of messages exchanged
between the objects needed to carry out the functionality
of the scenario. While a collaboration diagram is an
alternative way to show a scenario. Object interactions are
organised around the objects and their links to each other.
A collaboration diagram contains: - objects drawn as
rectangles, links between objects shown as lines connecting
the linked objects, messages shown as text and an arrow
that points from the client to the supplier

Is This Answer Correct ?    36 Yes 9 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / singhal

1:
In Sequence diagrams we can show Synchronous as well as
Asynchronous messages.
In Collaboration Diagram we can only show Synchronous messages.
2:
Sequence Diagram shows overall flow of System event/s in a
given use case.
Collaboration diagram shows how objects interacts with each
other or how intercommunication b/w objects for a give use case
3:
Its difficult to fine the responsibilities of objects in
sequence diagram.
Its ease to detect the responsibilities of objects in
collaboration diagram by just counting the number of arrows
coming into the object.
4:
Sequence Diagrams are less spatial.
Collaboration Diagram are much spatial.

Is This Answer Correct ?    17 Yes 1 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / senthil kumar

Sequence diagram gives you time based interation between
the objects.
Collaboration diagram tell how the objects are associated.

Is This Answer Correct ?    10 Yes 3 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / ashok

Sequence diagrams provide the users and life time of the
each object. Action between to object. sequence steps
achieve a functionalities.

collaboration diagrams also provide Action between to object
(interaction object). sequence steps achieve a
functionalities. colloboratin diagram will not repersent
life time of the object

Is This Answer Correct ?    18 Yes 15 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / saleem

A sequence diagram shows object interaction arranged in
time sequence. It depicts the objects and classes involved
in the scenario and the sequence of messages exchanged
between the objects needed to carry out the functionality
of the scenario. While a collaboration diagram is an
alternative way to show a scenario. Object interactions are
organised around the objects and their links to each other.

Is This Answer Correct ?    4 Yes 1 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / parminder

Sequence diagrams and collaboration diagrams are essentially
semantically equivalent. You can use either to model the
dynamic aspects of a system in terms of objects interacting
by exchanging messages. The difference is more in how the
information is presented than in the underlying semantics of
the diagram. Sequence diagrams emphasize the time ordering
of messages, whereas collaboration diagrams depict more of
an organizational structure and are more space efficient.
Many UML tools will automatically convert from one diagram
type to the othe

Is This Answer Correct ?    4 Yes 2 No

What are sequence diagrams, collaboration diagrams and difference between them ?..

Answer / sid malik

A sequence diagram is dynamic interaction in time ordering but in Collaboration diagram is similar to Sequence diagram without time ordering it show the dynamic interaction in the objects. Both are called the communication or interaction diagrams. it show the objects and their association with other object in the system and tell how they communicate with each other. but in sequence diagram there is no association of objects to interacts with each other. Use sequence diagram to model flow of control by time ordering but use collaboration diagrams to model flow of control by organization. the messages passed between the objects convey the same information as sequence diagrams, but focus on object roles instead of the time sequence.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

How might prototyping be used as part of the SDLC?

3 Answers   Apple, ASD Lab,


What is difference between GoF and J2EE patterns?

1 Answers   Accenture,


Is mvc is a design pattern?

0 Answers  


Why do we need singleton pattern?

0 Answers  


When singleton pattern is used?

0 Answers  






Contact a system development program in your organization. Research how they analyzed their SYSTEM OF INTEREST (SOI), its OPERATING ENVIRONMENT, and their respective system elements. How was this analysis reflected in the SOI architecture?

0 Answers   IAF,


What is design pattern ?

4 Answers   Accenture,


What is 'good design'?

2 Answers  


What are the disadvantages of singleton pattern?

0 Answers  


What are the 23 design patterns?

0 Answers  


What is singleton design pattern in java?

0 Answers  


What is clean architecture?

0 Answers  


Categories