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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main types of concurrency design patterns?

585


when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next

6851


Describe the builder design pattern

673


What are the most important software design patterns?

619


Can you explain singleton pattern?

578






What is proxy in design pattern?

614


What is the use of such a class?

671


What are the benefits of the proxy in the design pattern?

601


What is a behavioral design pattern?

629


Explain what are 5 common problems in the software development process?

620


Is oop a design pattern?

592


What is the executor design pattern?

734


What is viper architecture?

617


When should design patterns be used?

592


How do you choose a design pattern?

568