搜档网
当前位置:搜档网 › hoffer_msad7_tif_07c

hoffer_msad7_tif_07c

hoffer_msad7_tif_07c
hoffer_msad7_tif_07c

Modern Systems Analysis & Design, 7e (Hoffer)

Chapter 7 Appendix: Object-Oriented Analysis and Design: Sequence Diagrams

1) Sequence diagrams show the static structure of data and the operations that act on the data. Answer: FALSE

Diff: 2 Page Ref: 241

2) Sequence diagrams represent dynamic models of interactions between objects.

Answer: TRUE

Diff: 2 Page Ref: 241

3) Sequence diagrams represent dynamic models of how objects change their states in response to events.

Answer: FALSE

Diff: 3 Page Ref: 241

4) Sequence is a type of interaction diagrams.

Answer: TRUE

Diff: 2 Page Ref: 240

5) A sequence diagram depicts the interactions among objects during a certain period of time. Answer: TRUE

Diff: 2 Page Ref: 241

6) A simple message is a message in which the sender does not have to wait for the recipient to handle the message.

Answer: FALSE

Diff: 2 Page Ref: 242

7) On a sequence diagram, a synchronous message is shown as a half arrowhead.

Answer: FALSE

Diff: 2 Page Ref: 242

8) Objects communicate with one another by sending messages.

Answer: TRUE

Diff: 2 Page Ref: 242

9) Which of the following represent dynamic models of interactions between objects?

A) use cases

B) class diagrams

C) state diagrams

D) sequence diagrams

Answer: D

Diff: 2 Page Ref: 241

10) Types of interaction diagrams include:

A) state diagrams

B) sequence diagrams

C) data flow diagrams

D) component diagrams

Answer: B

Diff: 3 Page Ref: 240

11) Which of the following depicts the interactions among objects during a certain period of time?

A) class diagrams

B) data flow diagrams

C) sequence diagrams

D) collaboration diagrams

Answer: C

Diff: 2 Page Ref: 241

12) Which of the following shows the time period during which an object performs an operation, either directly or through a call to some subordinate operation?

A) asynchronous message

B) activation

C) critical path

D) simple message

Answer: B

Diff: 2 Page Ref: 242

13) A message that transfers control from the sender to the recipient without describing the details of the communication best describes:

A) predetermined message

B) implicit message

C) simple message

D) flag

Answer: C

Diff: 2 Page Ref: 242

14) A message in which the sender does not have to wait for the recipient to handle the message best describes:

A) synchronous message

B) simple message

C) asynchronous message

D) half-duplex message

Answer: C

Diff: 2 Page Ref: 242

15) A type of message in which the caller has to wait for the receiving object to finish executing the called operation before it can resume execution itself is a(n):

A) synchronous message

B) simple message

C) asynchronous message

D) half-duplex message

Answer: A

Diff: 2 Page Ref: 242

16) On a sequence diagram, the destruction of an object is shown as a:

A) wavy line

B) large X

C) transverse tick mark

D) filled in circle

Answer: B

Diff: 2 Page Ref: 243

17) When an operation calls upon another operation within the same object, this is known as:

A) a recursive join

B) a nested operation

C) self-delegation

D) a nested state

Answer: C

Diff: 2 Page Ref: 243

18) Sequence diagrams can be presented in:

A) instance or generic form

B) logical or physical form

C) sequential or nonsequential form

D) specific or nonspecific form

Answer: A

Diff: 2 Page Ref: 244

19) In UML, a ________ represents dynamic models of interactions between objects. Answer: sequence diagram

Diff: 2 Page Ref: 241

20) ________ is a type of interaction diagrams.

Answer: Sequence

Diff: 2 Page Ref: 240

21) A ________ depicts the interactions among objects during a certain period of time. Answer: sequence diagram

Diff: 2 Page Ref: 241

22) An object is ________ at the point marked by X.

Answer: destroyed

Diff: 1 Page Ref: 243

23) ________ is the time period during which an object performs an operation.

Answer: Activation

Diff: 2 Page Ref: 242

24) A ________ is a type of message in which the caller has to wait for the receiving object to finish executing the called operation before it can resume execution itself.

Answer: synchronous message

Diff: 3 Page Ref: 242

25) A ________ is a message that transfers control from the sender to the recipient without describing the details of the communication.

Answer: simple message

Diff: 2 Page Ref: 242

26) When an operation calls another operation within the same object, this is referred to as

________.

Answer: self-delegation

Diff: 2 Page Ref: 243

27) Briefly define a type of interaction diagrams.

Answer: A sequence diagram is a type of interaction diagrams that is mentioned in the textbook. A sequence diagram depicts the interactions among objects during a certain period of time.

Diff: 3 Page Ref: 240-241

28) What is meant by activation? How is it shown on a sequence diagram?

Answer: Activation is the time period during which an object performs an operation. Activation is shown by superimposing a thin rectangle on the object's lifeline.

Diff: 3 Page Ref: 242

29) What is a synchronous message? Asynchronous message? How are each of these messages shown on a sequence diagram?

Answer: A synchronous message is a type of message in which the caller has to wait for the receiving object to finish executing the called operation before it can resume execution itself. A synchronous message is shown as a full, solid arrowhead. An asynchronous message is a message in which the sender does not have to wait for the recipient to handle the message. An asynchronous message is shown as a half arrowhead.

Diff: 3 Page Ref: 242

30) Define sequence diagram.

Answer: A sequence diagram represents dynamic models of interactions between objects. Diff: 2 Page Ref: 241

相关主题