Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

choose the right answer for the following question 1) To represent the invocatio

ID: 3806717 • Letter: C

Question

choose the right answer for the following question

1) To represent the invocation of a classifier scoped operation in a sequence diagram, you send the message to what?

a. Boundary object

b. Object instance of the metaclass Class

c. Actor

d. Constructor

2) The reason we add an arrow head on an association line in the design class diagram is to show what?

a. The proper way to read the name of the association

b. Inheritance direction

c. The referential attributes are stored in the class on the arrow head end of the line

d. The referential attributes are stored in the class on the opposite end of the line

3) If I want to be able to send a message from an instance of class A to an instance of class B

  a. I must have a link stored in the instance of class A, pointing to the instance of class B.

  b. I must have a link stored in the instance of class B, pointing to the instance of class A.

c. I must obtain a reference to the instance of class B but it doesn’t need to be stored as a link attribute in the object instance of either class.

d. I can just send the message. It will find its way to the receiver object.

Explanation / Answer

1.   b. Object instance of the metaclass Class

Classifier scoped operation wil be invoked through object instance of meta class.

2. b. Inheritance direction

Arrow head represemts the base class and the class which is having this association is derived class. It shiws the inheritance relationship. The cpass which the arrow head point s is the base class.

3.c. I must obtain a reference to the instance of class B but it doesn’t need to be stored as a link attribute in the object instance of either class.