NEW
Font size
WorksheetsCS8592-OOAD-UNIT III- QUIZ V
Total questions: 30
Worksheet time: 22mins
What is the Interaction diagram?
Interaction diagrams are the UML notations for dynamic modeling of collaborations
Interaction diagrams are a central focus of engineering design
All of the mentioned
None of the mentioned
What are the different interaction diagram notations does UML have?
A sequence diagram
A communication diagram
An interaction overview diagram
All of the mentioned
What is a sequence diagram?
A diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
A diagram that shows messages superimposed on a diagram depicting collaborating individuals and the links among them
A diagram that shows the change of an individual’s state over time
All of the mentioned
What is a lifeline?
It is a frame consisting of a rectangle with a pentagon in its upper left-hand corner
It is a rectangle containing an identifier with a dashed line extending below the rectangle
It is a name compartment; the interaction is represented inside the rectangle
None of the mentioned
What are the three different types of message arrows?
Synchronous, asynchronous, asynchronous with instance creation
Self, Multiplied, instance generator
Synchronous, Asynchronous, synchronous with instance creation
None of the mentioned
Which of these are true with respect to the message arrows?
The synchronous message arrow is used when a sending individual continues execution after sending the message
The asynchronous message arrow is used when a sending individual suspends execution after sending the message
The dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
All of the mentioned
Which of the following statement is true?
A transition is a change from one state to another
Transitions may be spontaneous, but usually some event triggers them
An event is a noteworthy occurrence at a particular time; events have no duration
All of the mentioned
Which of the following represents the State Diagram?
The finite automaton initial state is designated by a special initial pseudo-state depicted as a large black dot at the tail of an arrow pointing at the initial state
A finite automaton may execute forever or it may halt in a final state
Transitions are represented by solid arrows labeled with one or more transition strings that describe the circumstances under which the transition is triggered and the actions that may ensue
All of the mentioned
State chart Diagrams are needed ________
when a class has complex life cycle
when the execution of scenario is to be traced
to allocate classes and objects to modules
to allocate processes to processors
State that is active after the completion of the transition is called ________
Source state
Target state
History state
Final state
The relationship between two states is called ________
Transition
State
Association
Generalization
A state that has sub states, that is nested states, is called ________
Composite state
History state
Target state
Source state
________ can model the behavior of an individual object
Class
Use case
State machine
Activity
A ________ is a behavior that specifies the sequence of states an object goes through
during its lifetime in response to events
Class
State machine
Use case
Activity
A ________ is a condition during the life of an object during which it satisfies performs some activity or waits for some event
Class
State
Actor
Component
Which among the following are not the valid notations for package and component diagram?
Note
Box
Extension machine
Packages
A package diagram consists of the following?
Package symbols
Grouping of use cases ,classes, components
Interface
Packages symbols , Grouping of use cases, classes, components
What types of units does Component follow?
Modular Unit
Replaceable Unit
Unit with well defined interface
All of the mentioned
Components can be represented by which of the following?
Component symbols
Stereotypes
Rectangular boxes
Component symbols & Stereotypes
What does a component diagram consists of?
Components, their Relationship to the environment
Packages and dependency
Internal structure
Internal structure, Components and their Relationship to the environment
What is a delegation connector?
A delegation connector ties a component interface to one or more internal classes or components
Delegation connectors are solid arrows stereotyped <>
A delegation connector may also extend from an internal class to an external interface
All of the mentioned
Which of the following statement is true?
A logical architecture is the realization of product as code and data files residing and executing on computational resource
A physical architecture is the configuration of product’s major constituents
All of the mentioned
None of the mentioned
Which among these are the common notations for deployment diagrams?
Artifacts and nodes
Stereotypes
Components
All of the mentioned
Which of these are types of nodes used in the deployment diagram?
Device
Execution environment
Artifacts
Device and execution environment
Which are the ways to represent nodes in a deployment diagram?
Nodes instances are underlined identifiers of the form name:type
The name may be left off, indicating an unnamed instance of the type
The type may be left off, indicating a named instance with an unspecified type
All of the mentioned
Which of the following is incorrect in the deployment diagram?
Communication connections between nodes are shown by communication paths
Communication paths are represented by dotted lines
Artifacts are deployed inside nodes where they reside and execute
None of the mentioned
Which of these is correct?
Artifacts instances and types have same names
Artifact names and instances are underlines
All of the mentioned
None of the mentioned
What is true about the artifacts?
An Artifact is a physical entity
An artifact has spatio temporal location
All of the mentioned
None of the mentioned
What are the ways in which artifacts can be deployed?
Artifact symbol can be placed within node symbol
The artifact symbol can appear outside the node but be attached to it by dependency arrow from the artifact
Artifact name can be listed inside the node symbol
All of the mentioned
Which of these are diagrammatic heuristics?
Use notes, constraints, properties and stereotypes to add information to UML models
Use Stereotypes to name dependencies
Use packages to group elements in static models
All of the mentioned
