Solved

Following statements on the interaction diagram true or false

Posted on 2009-05-03
4
1,086 Views
Last Modified: 2012-05-06
Are the following statements on the interaction diagram true or false?
Please motivate why so I understand

a) Communication diagram shows a dynamic view.    
I think this is TRUE

Communication Diagram is used to show how the call is made between objects. The key for the graph is to show the structure o structures linked to the communications between objects occur.

A communication diagram describes both the static and dynamic properties of a system.



b) sequence number need not be in the communication diagram.
I think this is TRUE
Alternatively, you can enter the sequence number when the message is sent, enter a voluntary return value and indicate the method name and parameters (if any) sent to it. Sequence numbers should be in the form ABCD to indicate the order in which messages are sent.

c) Interaction Graph shows no iteration because it is an implementation detail on low
level.
I think this is FALSE



d) Communication Graph can not display when the object sends a message to itself.
I think this is TRUE



e) Sequence diagram shows a static view.
I think this is FALSE


f) sequence numbers must be in sequence diagrams.

The arrow is labeled with the name of the message and its parameters. The arrow may also be marked with a sequence number to view the sequence of the message in the overall interaction. Sequence number often omitted in sequence diagrams.


g) Sequence Diagram usually represent an entire use case.
I think this is FALSE
0
Comment
Question by:Mickeys
4 Comments
 
LVL 18

Accepted Solution

by:
DarrenD earned 500 total points
ID: 24302774
Hi Mickeys,

a) Communication diagram shows a dynamic view.    
I think this is TRUE

Darren: Correct. Communication diagrams shows the actual objects involved in the communication and messages sent between objects when a program is running. A communication diagrams shows more the objects involved.

Communication Diagram is used to show how the call is made between objects. The key for the graph is to show the structure o structures linked to the communications between objects occur.

A communication diagram describes both the static and dynamic properties of a system.



b) sequence number need not be in the communication diagram.
I think this is TRUE
Alternatively, you can enter the sequence number when the message is sent, enter a voluntary return value and indicate the method name and parameters (if any) sent to it. Sequence numbers should be in the form ABCD to indicate the order in which messages are sent.

Darren: Correct.

c) Interaction Graph shows no iteration because it is an implementation detail on low
level.
I think this is FALSE

Darren: Correct. You can show iteration with interaction diagrams.



d) Communication Graph can not display when the object sends a message to itself.
I think this is TRUE

Darren: Incorrect. The answer is False. A communication diagram can show when a message is sent to itself as follows.

-----------------
|                   |-------->----
|    Object     |               |
|                   |<-----------
-----------------

e) Sequence diagram shows a static view.
I think this is FALSE

Darren: Correct.


f) sequence numbers must be in sequence diagrams.

The arrow is labeled with the name of the message and its parameters. The arrow may also be marked with a sequence number to view the sequence of the message in the overall interaction. Sequence number often omitted in sequence diagrams.

Darren: Correct.


g) Sequence Diagram usually represent an entire use case.
I think this is FALSE

Darren: Correct. You can have many sequence diagrams to represent a use case.

Hope this helps you,

Darren
0
 

Author Closing Comment

by:Mickeys
ID: 31577352
Super. Thx
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rounding Values 11 62
Discrete Values 2 62
Probability 2 73
factorial example challenge 10 125
Introduction This question got me thinking... (http://www.experts-exchange.com/questions/28707487/GLOBALS.html) Why shouldn't we use Globals? This is a simple question without a simple answer.  How do you explain these concepts to a programmer w…
This article provides a brief introduction to tissue engineering, the process by which organs can be grown artificially. It covers the problems with organ transplants, the tissue engineering process, and the current successes and problems of the tec…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question