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

What is factory method in design pattern?

0 Answers  


Why have we declared the instance reference volatile?

0 Answers  


2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

0 Answers   IBM,


Which Design Patterns you know?

4 Answers   Honeywell,


Explain Internal Style Sheets?

1 Answers  






If there is a Model class,View class,Controller class then How these are internally related? Which layer objects instantiated in which layer? How they communicates?

4 Answers   Honeywell,


What are the Design Patterns you know

4 Answers  


Shall we use abstract classes or interfaces in policy / strategy design pattern?

0 Answers  


Where should we use singleton design pattern?

0 Answers  


What are the design patterns and How can they make life easier for software development ?

1 Answers   ABC, HP,


What are External Style Sheets?

1 Answers  


Is oop a design pattern?

0 Answers  


Categories