Solved

Following statements on the interaction diagram true or false

Posted on 2009-05-03
4
1,085 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Inequality 4 84
Vertex form of the function 8 78
Homework Math Question 1 117
Coordinate Geometry-Finding ratio of a point splitting a line 4 78
Before You Read The Article Please make sure you understand these two concepts: Variable Scope (http://www.php.net/manual/en/language.variables.scope.php) and Property Visibility (http://www.php.net/manual/en/language.oop5.visibility.php).  And to …
"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
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…

789 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