• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Structural Organization

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which one of the following behavioral diagrams emphasizes the structural organization of objects that send and receive messages?
a) Class diagram
b) Sequence diagram
c) Collaboration diagram
d) Object diagram
e) Statechart diagram

 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a choice between Sequence diagram and Collaboration diagram. I will go for sequence diagram since it is more structured.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer is C.
Sequence shows time. Collaboraton shows over all structure and organization, I read this in either Distilled or UML in 24 hours.
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is C, statechart diagram. larman's book 2ed P443
[ March 16, 2002: Message edited by: Sunny Liu ]
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sunny Liu ,
C is colloboration diagram, but you say state chart diagram. Its confusing.
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes. Sunny please explain. I dont understand, how you deduce your answer from Larman p.443.
 
Ranch Hand
Posts: 782
Python Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's C. Sequence diagram shows the progress of messages between objects over time (sequence) whereas a collaboration diagram shows the spatial distribution of messages. (structure/org)
Pho
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could the answer be d. Object Diagram?
I think a sequence diagram shows the flow of messages among objects as time progresses. However it does not address any structural aspects of the objects. An Object Diagram on the other hand addresses the structural aspects of all objects in the system at a particular snapshot.
Parag
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the answer is collaboration diagram, see example below:
of course you know the layout of collaboration diagrams are different the sequence diagrams, so if you have an example collaboration such as
1. create()
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the previous message, I hit the wrong key, I was trying to import an example, but anyway I believe collaboration diagram is the answer because the layout can be used to show how objects are statically connected.(fowler)
 
Sunny Liu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am sorry, It is collaboration diagram
 
reply
    Bookmark Topic Watch Topic
  • New Topic