Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Answers to the Sun's Sample questions

 
Skip Cole
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know the answer to the first question in Sun's sample test. http://suned.sun.com/USA/certification/archsq.html ?
I keep looking at this and scratching my head. I figure it is either B or D.
Skip
 
Madhu Juneja
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A and B are classes and the relationship among them is that of association.

a 1..*
A ----------- B
Here if nothing is mentioned on the side of A (on top of the line nearest to A (referred here as a) means there is one (1) instance of A. If nothing is mentioned implies 1. And 1..* for B means one or more of B.
Therefore the answer is B
In option D :
1..* a
A ----------- B
This means one B is associated with 1 or more of A again keeping in mind that if nothing is mentioned on top of line nearer to B means 1.
Hope it is not confusing.
 
Madhu Juneja
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also refer : http://www.holub.com/class/oo_design/uml.html
for the doubt
 
Skip Cole
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help!
Skip
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic