Solved

Following statements on the interaction diagram true or false

Posted on 2009-05-03
4
1,080 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
Comment Utility
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
Comment Utility
Super. Thx
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Odd Behavior 5 36
linearIn  challenge 23 65
Percentage calculation 4 46
Graph 5 60
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
"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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

10 Experts available now in Live!

Get 1:1 Help Now