wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz On UML

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

Interaction Diagram is a combined term for

a)

Sequence Diagram + Collaboration Diagram

b)

Activity Diagram + State Chart Diagram

c)

Deployment Diagram + Collaboration Diagram

d)

None of the mentioned

2.

Structure diagrams emphasize the things that must be present in the system being modeled.

a)

True

b)

False

3.

Which of the following diagram is time oriented?

a)

Collaboration

b)

Sequence

c)

Activity

d)

None of the mentioned

4.

Select the statement true for activity diagrams.

a)

They can be used to discover parallel activities

b)

They are used to depict workflow for a particular business activity

c)

Activity diagram do not tell who does what and are difficult to trace back to object models

d)

All of the Mentioned

5.

Constraints can be represented in UML by

a)

{text}

b)

[text].

c)

Constraint

d)

None of the mentioned

6.

Which of the following are the valid relationships in Use Case Diagrams

a)

Generalization

b)

Include

c)

Extend

d)

All of the mentioned

7.

UML interfaces are used to:

a)

specify required services for types of objects

b)

program in Java, but not in C++ or Smalltalk

c)

define executable logic to reuse across classes

d)

define an API for all classes

8.

At Conceptual level Class diagrams should include

a)

operations only

b)

attributes only

c)

both operations and attributes

d)

none of the mentioned

9.

Which UML diagram’s symbols are shown below?

a)

Deployment diagram

b)

Collaboration Diagram

c)

Component Diagram

d)

Object Diagram

10.

What best describes the purpose of an Activity Diagram?

a)

To capture a flow of activity and maps.

b)

To specify the points at which a computer system is used.

c)

To specify the behavior of use cases.

d)

To capture the dynamic aspect of a system.

HIDE ANSWER

11.

The use case diagram ...

a)

Specifies the functional decomposition of a system

b)

Comprises classes and objects

c)

Specifies who performs which tasks with a system that is going to be developed

d)

Models the time flow within a system

12.

Select diagrams which are UML behavioral diagram [multiple answers]

a)

use case diagram

b)

sequence diagram

c)

class diagram

d)

statechart diagram

e)

activity diagram

13.

Select diagrams which are UML structural diagram[multiple answers]

a)

use case diagram

b)

class diagram

c)

component diagram

d)

deployment diagram

e)

package diagram

14.

The component view

a)

Defines the implementation language of a software component

b)

Establishes the installation procedures for a software program

c)

Describes the hardware configuration required for a software component

d)

Defines the bundling of classes and components into a functional unit

15.

The deployment diagram

a)

Models the physical components of an architecture

b)

Defines the installation procedures for the software

c)

Models the business units in which the software will be deployed

d)

Defines the deployment schedule for an incremental installation