1
SWD392 Questions with Answers (100%
Correct Answers)
What does an interaction diagram depict?
(a) The state and transitions inside a control object
(b) Classes and their relationships
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
How is an actor depicted on an interaction diagram?
(a) An actor has an association with the interaction diagram.
(b) An actor can provide input to or receive output from a boundary object.
(c) An actor can provide input to or receive output from a boundary class.
(d) An instance of an actor can provide input to or receive output from a
boundary object. Answer: D
What does a sequence diagram depict?
(a) The sequence of external objects communicating with each other
(b) Classes and their relationships
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
What does a communication diagram depict?
(a) The sequence of external objects communicating with each other
(b) Classes and their relationships
,2
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
What is the instance form of an interaction diagram?
(a) Depicts several object instances interacting with each other
(b) Depicts one possible sequence of interactions among object instances
(c) Depicts all possible interactions among object instances
(d) Depicts all object instances and their links to each other Answer: B
What is the generic form of an interaction diagram?
(a) Depicts several objects interacting with each other
(b) Depicts one possible sequence of interactions among objects
(c) Depicts all possible interactions among objects
(d) Depicts all classes and their associations with each other Answer: C
During dynamic interaction modeling, use cases are realized as follows:
(a) Determine objects that participate in each use case and the sequence of
interactions among them.
(b) Determine external objects and the sequence in which they provide inputs
to and receive outputs from each use case.
(c) Determine sequence of interactions among use cases.
(d) Determine how a use case is depicted through internal states and transitions
between them. Answer: A
Which of the following interactions could happen on an interaction diagram?
(a) An external user sends a message to a user interaction object.
,3
(b) An external user sends a message to an entity object.
(c) An external user sends a message to an I/O object.
(d) An external user sends a message to a printer object. Answer: A
Which of the following interactions is NOT likely to happen on an interaction
diagram?
(a) A user interaction object sends a message to an entity object.
(b) An input object sends a message to a state-dependent control object.
(c) An input object sends a message to a printer object.
(d) A user interaction object sends a message to a proxy object. Answer: C
What kind of object would be the first object to receive an input from an
external object?
(a) A user interaction object
(b) A proxy object
(c) An entity object
(d) A boundary object Answer: D
What is a state in a state machine?
(a) A recognizable situation that exists over an interval of time
(b) A condition that is True or False
(c) An input from the external environment
(d) An output from the system Answer: A
What is an event in a state machine?
(a) A discrete signal that causes a change of state
, 4
(b) An input from the external environment
(c) An input that is True or False
(d) The result of a state transition Answer: A
What is an action in a state machine?
(a) An occurrence at a point in time
(b) A cause of a state transition
(c) An interval between two successive events
(d) A computation that executes as a result of a state transition Answer: D
What is an entry action in a state machine?
(a) An action that is performed when the state is entered
(b) An action that is performed when the state is left
(c) An action that starts executing when the state is entered and completes
executing when the state is left
(d) An action that executes as a result of a state transition Answer: A
What is an exit action in a state machine?
(a) An action that is performed when the state is entered
(b) An action that is performed when the state is left
(c) An action that starts executing when the state is entered and completes
executing when the state is left
(d) An action that executes as a result of a state transition Answer: B
What is a condition used for in a state machine?
(a) A conditional action
SWD392 Questions with Answers (100%
Correct Answers)
What does an interaction diagram depict?
(a) The state and transitions inside a control object
(b) Classes and their relationships
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
How is an actor depicted on an interaction diagram?
(a) An actor has an association with the interaction diagram.
(b) An actor can provide input to or receive output from a boundary object.
(c) An actor can provide input to or receive output from a boundary class.
(d) An instance of an actor can provide input to or receive output from a
boundary object. Answer: D
What does a sequence diagram depict?
(a) The sequence of external objects communicating with each other
(b) Classes and their relationships
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
What does a communication diagram depict?
(a) The sequence of external objects communicating with each other
(b) Classes and their relationships
,2
(c) Software objects and the sequence of their interactions
(d) The external objects communicating with the system Answer: C
What is the instance form of an interaction diagram?
(a) Depicts several object instances interacting with each other
(b) Depicts one possible sequence of interactions among object instances
(c) Depicts all possible interactions among object instances
(d) Depicts all object instances and their links to each other Answer: B
What is the generic form of an interaction diagram?
(a) Depicts several objects interacting with each other
(b) Depicts one possible sequence of interactions among objects
(c) Depicts all possible interactions among objects
(d) Depicts all classes and their associations with each other Answer: C
During dynamic interaction modeling, use cases are realized as follows:
(a) Determine objects that participate in each use case and the sequence of
interactions among them.
(b) Determine external objects and the sequence in which they provide inputs
to and receive outputs from each use case.
(c) Determine sequence of interactions among use cases.
(d) Determine how a use case is depicted through internal states and transitions
between them. Answer: A
Which of the following interactions could happen on an interaction diagram?
(a) An external user sends a message to a user interaction object.
,3
(b) An external user sends a message to an entity object.
(c) An external user sends a message to an I/O object.
(d) An external user sends a message to a printer object. Answer: A
Which of the following interactions is NOT likely to happen on an interaction
diagram?
(a) A user interaction object sends a message to an entity object.
(b) An input object sends a message to a state-dependent control object.
(c) An input object sends a message to a printer object.
(d) A user interaction object sends a message to a proxy object. Answer: C
What kind of object would be the first object to receive an input from an
external object?
(a) A user interaction object
(b) A proxy object
(c) An entity object
(d) A boundary object Answer: D
What is a state in a state machine?
(a) A recognizable situation that exists over an interval of time
(b) A condition that is True or False
(c) An input from the external environment
(d) An output from the system Answer: A
What is an event in a state machine?
(a) A discrete signal that causes a change of state
, 4
(b) An input from the external environment
(c) An input that is True or False
(d) The result of a state transition Answer: A
What is an action in a state machine?
(a) An occurrence at a point in time
(b) A cause of a state transition
(c) An interval between two successive events
(d) A computation that executes as a result of a state transition Answer: D
What is an entry action in a state machine?
(a) An action that is performed when the state is entered
(b) An action that is performed when the state is left
(c) An action that starts executing when the state is entered and completes
executing when the state is left
(d) An action that executes as a result of a state transition Answer: A
What is an exit action in a state machine?
(a) An action that is performed when the state is entered
(b) An action that is performed when the state is left
(c) An action that starts executing when the state is entered and completes
executing when the state is left
(d) An action that executes as a result of a state transition Answer: B
What is a condition used for in a state machine?
(a) A conditional action