Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Following statements on the interaction diagram true or false

Posted on 2009-05-03
4
Medium Priority
?
1,098 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 2000 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

This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
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…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

885 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