wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CS8592-OOAD-UNIT III- QUIZ V

Total questions: 30

Worksheet time: 22mins

Name
Class
Date
1.

What is the Interaction diagram?

a)

Interaction diagrams are the UML notations for dynamic modeling of collaborations

b)

Interaction diagrams are a central focus of engineering design

c)

All of the mentioned

d)

None of the mentioned

2.

What are the different interaction diagram notations does UML have?

a)

A sequence diagram

b)

A communication diagram

c)

An interaction overview diagram

d)

All of the mentioned

3.

What is a sequence diagram?

a)

A diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page

b)

A diagram that shows messages superimposed on a diagram depicting collaborating individuals and the links among them

c)

A diagram that shows the change of an individual’s state over time

d)

All of the mentioned

4.

What is a lifeline?

a)

It is a frame consisting of a rectangle with a pentagon in its upper left-hand corner

b)

It is a rectangle containing an identifier with a dashed line extending below the rectangle

c)

It is a name compartment; the interaction is represented inside the rectangle

d)

None of the mentioned

5.

What are the three different types of message arrows?

a)

Synchronous, asynchronous, asynchronous with instance creation

b)

Self, Multiplied, instance generator

c)

Synchronous, Asynchronous, synchronous with instance creation

d)

None of the mentioned

6.

Which of these are true with respect to the message arrows?

a)

The synchronous message arrow is used when a sending individual continues execution after sending the message

b)

The asynchronous message arrow is used when a sending individual suspends execution after sending the message

c)

The dashed arrow is used either to show the return of control from a synchronous message or to create a new entity

d)

All of the mentioned

7.

Which of the following statement is true?

a)

A transition is a change from one state to another

b)

Transitions may be spontaneous, but usually some event triggers them

c)

An event is a noteworthy occurrence at a particular time; events have no duration

d)

All of the mentioned

8.

Which of the following represents the State Diagram?

a)

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

b)

A finite automaton may execute forever or it may halt in a final state

c)

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

d)

All of the mentioned

9.

State chart Diagrams are needed ________

a)

when a class has complex life cycle

b)

when the execution of scenario is to be traced

c)

to allocate classes and objects to modules

d)

to allocate processes to processors

10.

State that is active after the completion of the transition is called ________

a)

Source state

b)

Target state

c)

History state

d)

Final state

11.

The relationship between two states is called ________

a)

Transition

b)

State

c)

Association

d)

Generalization

12.

A state that has sub states, that is nested states, is called ________

a)

Composite state

b)

History state

c)

Target state

d)

Source state

13.

________ can model the behavior of an individual object

a)

Class

b)

Use case

c)

State machine

d)

Activity

14.

A ________ is a behavior that specifies the sequence of states an object goes through

during its lifetime in response to events

a)

Class

b)

State machine

c)

Use case

d)

Activity

15.

A ________ is a condition during the life of an object during which it satisfies performs some activity or waits for some event

a)

Class

b)

State

c)

Actor

d)

Component

16.

Which among the following are not the valid notations for package and component diagram?

a)

Note

b)

Box

c)

Extension machine

d)

Packages

17.

A package diagram consists of the following?

a)

Package symbols

b)

Grouping of use cases ,classes, components

c)

Interface

d)

Packages symbols , Grouping of use cases, classes, components

18.

What types of units does Component follow?

a)

Modular Unit

b)

Replaceable Unit

c)

Unit with well defined interface

d)

All of the mentioned

19.

Components can be represented by which of the following?

a)

Component symbols

b)

Stereotypes

c)

Rectangular boxes

d)

Component symbols & Stereotypes

20.

What does a component diagram consists of?

a)

Components, their Relationship to the environment

b)

Packages and dependency

c)

Internal structure

d)

Internal structure, Components and their Relationship to the environment

21.

What is a delegation connector?

a)

A delegation connector ties a component interface to one or more internal classes or components

b)

Delegation connectors are solid arrows stereotyped <>

c)

A delegation connector may also extend from an internal class to an external interface

d)

All of the mentioned

22.

Which of the following statement is true?

a)

A logical architecture is the realization of product as code and data files residing and executing on computational resource

b)

A physical architecture is the configuration of product’s major constituents

c)

All of the mentioned

d)

None of the mentioned

23.

Which among these are the common notations for deployment diagrams?

a)

Artifacts and nodes

b)

Stereotypes

c)

Components

d)

All of the mentioned

24.

Which of these are types of nodes used in the deployment diagram?

a)

Device

b)

Execution environment

c)

Artifacts

d)

Device and execution environment

25.

Which are the ways to represent nodes in a deployment diagram?

a)

Nodes instances are underlined identifiers of the form name:type

b)

The name may be left off, indicating an unnamed instance of the type

c)

The type may be left off, indicating a named instance with an unspecified type

d)

All of the mentioned

26.

Which of the following is incorrect in the deployment diagram?

a)

Communication connections between nodes are shown by communication paths

b)

Communication paths are represented by dotted lines

c)

Artifacts are deployed inside nodes where they reside and execute

d)

None of the mentioned

27.

Which of these is correct?

a)

Artifacts instances and types have same names

b)

Artifact names and instances are underlines

c)

All of the mentioned

d)

None of the mentioned

28.

What is true about the artifacts?

a)

An Artifact is a physical entity

b)

An artifact has spatio temporal location

c)

All of the mentioned

d)

None of the mentioned

29.

What are the ways in which artifacts can be deployed?

a)

Artifact symbol can be placed within node symbol

b)

The artifact symbol can appear outside the node but be attached to it by dependency arrow from the artifact

c)

Artifact name can be listed inside the node symbol

d)

All of the mentioned

30.

Which of these are diagrammatic heuristics?

a)

Use notes, constraints, properties and stereotypes to add information to UML models

b)

Use Stereotypes to name dependencies

c)

Use packages to group elements in static models

d)

All of the mentioned