aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Structural Organization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Structural Organization" Watch "Structural Organization" New topic
Author

Structural Organization

Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
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


Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
Allan Moster
Ranch Hand

Joined: Sep 14, 2001
Posts: 153
It's a choice between Sequence diagram and Collaboration diagram. I will go for sequence diagram since it is more structured.
Todd Newbold
Ranch Hand

Joined: Sep 20, 2001
Posts: 85
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.
Sunny Liu
Ranch Hand

Joined: Mar 15, 2002
Posts: 63
it is C, statechart diagram. larman's book 2ed P443
[ March 16, 2002: Message edited by: Sunny Liu ]

If I am rich, I will spend more.<p>IBM 486 (OOAD & UML) & 141 (XML) passed<br />Oracle 1Z0-007 passed<br />MCSD MCDBA MCSE <br />SCJP SCSSA<br />CCNA CNA A+
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
Hi Sunny Liu ,
C is colloboration diagram, but you say state chart diagram. Its confusing.
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
yes. Sunny please explain. I dont understand, how you deduce your answer from Larman p.443.
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

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


Regards,

Pho
Parag Shah
Greenhorn

Joined: Jan 23, 2002
Posts: 26
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


http://diycomputerscience.com
Do It Yourself Computer Science
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
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

Joined: Mar 19, 2002
Posts: 405
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

Joined: Mar 15, 2002
Posts: 63
I am sorry, It is collaboration diagram
 
 
subject: Structural Organization