Solved

Following statements on the interaction diagram true or false

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Percentage 6 55
Word Problem 6 52
x2 – x2 = x2 – x2 conundrum 12 67
Triangle - calculating angles 9 62
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now