Forum Stats

  • 3,817,472 Users
  • 2,259,339 Discussions
  • 7,893,790 Comments

Discussions

Questions on composition and assosiation relationship

user12203354
user12203354 Member Posts: 14
Which two are true about the composition relationship "A Blip consists of many
Blipverts."? (Choose two.)


A. A Blip must have at least two Blipverts.
B. A Blipvert can be a part of only one Blip.
C. A Blipvert must be part of at least one Blip.
D. When a Blipvert is deleted, its Blip should also be deleted.
E. When a Blip is deleted, each of its Blipverts should also be deleted. Answer: BE

according to me its answer shud be C and E. as composition says that one can not exsit without other..means blipvert can not exist without blip..hence it must be part of atleast one blip..

but actual answer given in book is B and E.
Can some one explain.


Question on Assosiation
Which is true about association navigation?


A. Association navigation is meaningful for only OO design, NOT implementation.
B. Association navigation is used to describe the relationship between a subclass and its superclass.
C. Association navigation indicates which direction a relationship can be traversed.
D. Association navigation indicates how many instances of each object type are involved in an association.

Answer should be C and D....D because we mention the how many instances can one have of other....example 0..1, 1..* etc etc...so D should also be an answer

but in book it is only C..

can someone explain this.
Am i wrong in my explanation?...

Thanks

Answers

  • >
    according to me its answer shud be C and E.
    >
    Well you clearly didn't bother to read the answer I gave you in your other thread about exclusivity did you?

    You said there that you 'got my point' but the question is still unanswered.
  • EJP
    EJP Member Posts: 32,920 Gold Crown
    (Choose two.)
    Choose none. This is not a homework answering site for your multiple-choice questions, that are only designed to elicit whether you have done the study they are about. Future posts of this nature will be deleted without notice. Locking this thread.
This discussion has been closed.