wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

object oriented analysis and design test2

Total questions: 50

Worksheet time: 50mins

Name
Class
Date
1.

What is Object Oriented Analysis?

a)

Emphasis on finding requirements rather than solution

b)

Emphasis on finding or describing objects

c)

Emphasis on finding conceptual solution

d)

Emphasis on defining objects and how they collaborate

2.

What is UML?

a)

Programming Language

b)

Regular Language

c)

Extinct Language

d)

Visual Language

3.

Which one is not the perspective to apply UML?

a)

Conceptual Perspective

b)

Specification Perspective

c)

Design Perspective

d)

Implementation Perspective

4.

Choose the wrong option about Unified Process

a)

Follows Waterfall Model

b)

Iterative

c)

Evolutionary

d)

Follows Agile Model

5.

Which Model does not follow Agile Methodology?

a)

RAD

b)

Extreme Programming

c)

Unified Process

d)

Scrum

6.

The idea of placing data and the processes (methods) that operate on the data into the same object is referred to as ____________

a)

Information Hiding

b)

Polymorphism

c)

Object Binding

d)

Encapsulation

7.

A class is divided into which of these compartments?

a)

Name Compartment

b)

Attribute Compartment

c)

Operation Compartment

d)

All of the Mentioned

8.

Who consider diagrams as a type of Class diagram, component diagram, object diagram, and deployment diagram?

a)

Structural

b)

Behavioral

c)

Non-Behavioral

d)

Non-Structural

9.

Which of the following is not a domain model guideline?

a)

Think like a Mapmaker

b)

Maintain domain model in a tool

c)

Linguistic Analysis

d)

Model with Description Classes

10.

Which of the following is not a domain model guideline?

a)

Think like a Mapmaker

b)

Maintain domain model in a tool

c)

Linguistic Analysis

d)

Model with Description Classes

11.

Which of the following is represented by a line in Domain Model?

a)

Interface

b)

Association

c)

Aggregation

d)

Composition

12.

A travel package consists of airfare, hotel, and rental car reservations. This example should be modeled as

a)

Composition

b)

Association

c)

Aggregation

13.

Employees use our company cars. This example should be modeled as

a)

Aggregation

b)

Composition

c)

Association

14.

Which of the following is carried out for the detailed design process?

a)

Both SRS and SAD are taken as input for the detailed design stage

b)

Design alternatives are evaluated first and then Design is finalized

c)

Detailed design is the output for the process

d)

All of the mentioned

15.

A design document is a complete engineering design specification composed of?

a)

Software Architecture Document(SAD)

b)

Detailed Design Document(DDD)

c)

All of the mentioned

d)

None of the mentioned

16.

Which of the following statements about shared aggregations are true?

a)

Shared aggregations are used to express an is-a relationship.

b)

Chains of shared aggregation links may form a cycle..

c)

The multiplicity of a shared aggregation may be ≥1.

d)

A shared aggregation is shown by a solid-filled diamond on the end of an association line.

17.

Association classes are used to ...

a)

... model that the existence of one object depends on the existence of the association between two other objects.

b)

... reduce the cardinality of associations.

c)

... further specify associations.

18.

Which of the following optional information can be given on an association between classes?

a)

A small filled triangle near the association name to show in which way to "read" the name.

b)

Name

c)

An arrow at the end to show navigability.

d)

Multiplicity at the end of an association.

19.

Which visibilities can attributes and operations of classes have?

a)

Protected

b)

Private

c)

Public

d)

Friends

e)

Package

20.

You are given the clipping of a UML2 class diagram. Which of the following statements are true?

a)

One object of A is associated with exactly one object of C and two objects of B.

b)

One object of A may contain two objects of B.

c)

One object of B may be associated with multiple objects of A.

d)

If an instance of A is deleted, all contained instances of B are deleted as well.

e)

The diamond near A is called composition.

21.

How do you model the following situation with a UML2 class diagram:

On a blind date exactly two people take part. A person can take part in multiple blind dates. It is not sufficient to know a person to derive all his/her dates.

a)
b)
c)
d)
22.

Data types in UML ...

a)

... can be primitive types and enumerations.

b)

... have instances without identity (in contrast to classes)..

c)

... can have attributes but no operations.

d)

... are noted like classes with the keyword <<datatype>> (or another pre-defined type, e.g. <<enumeration>>).

23.

A class diagram describes ...

a)

shows the interaction view of a system.

b)

shows the dynamic view of a system.

c)

shows the practical view of a system.

d)

shows the static view of a system.

24.

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

25.

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

26.

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

27.

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

28.

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

29.

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

30.

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

31.

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

32.

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

33.

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

34.

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

35.

The order in which test levels are performed is:

a)

Unit, Integration, Acceptance, System

b)

Unit, System, Integration, Acceptance

c)

Unit, Integration, System, Acceptance

d)

It depends on the nature of a project

36.

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

37.

System testing is a

a)

Black box testing

b)

Grey box testing

c)

White box testing

d)

Both a and b

38.

Test cases are designed during which of the following stages?

a)

Test recording

b)

Test configuration

c)

Test planning

d)

Test specification

39.

The technique applied for usability testing is:

a)

White box

b)

Grey box

c)

Black box

d)

Combination of all

40.

Testing of software with actual data and in actual environment is known as?

a)

Regression testing

b)

Beta testing

c)

Alpha testing

d)

None of the above

41.

A program with high cyclometic complexity is likely to be:

a)

Large

b)

Small

c)

Difficult to write

d)

Difficult to test

42.

Unit testing is done by:

a)

Users

b)

Developers

c)

Customers

d)

None of the mentioned

43.

Which of the following is not a Software Development Life Cycle Phase?

a)

Requirements Gathering

b)

Test Closure

c)

Coding

d)

Testing

44.

Which of the following is not included in failure costs?

a)

rework

b)

repair

c)

failure mode analysis

d)

none of the mentioned

45.

Which of the following is not an appraisal cost in SQA?

a)

inter-process inspection

b)

maintenance

c)

quality planning

d)

testing

46.

UML format for attributes in domain model is:

a)

Visibility Name: type multiplicity =default [property string]

b)

type: Visibility Name multiplicity =default [property string]

c)

Visibility Name: type[property string] =default multiplicity[property string]

d)

None

47.

In Domain Model, if A is a line item of transaction B(Eg: Sales Line Item - Sale). Its a Categorization approach to find which one of the following:

a)

Attributes

b)

Associations

c)

Concepts

d)

Category

48.

Which of the following term describes testing?

a)

Finding broken code

b)

Evaluating deliverable to find errors

c)

A stage of all projects

d)

None of the mentioned

49.

The primary objective of formal technical reviews is to find _________ during the process so that they do not become defects after release of the software.

a)

errors

b)

equivalent faults

c)

failure cause

d)

none of the mentioned

50.

Software quality assurance consists of the auditing and reporting functions of management.

a)

True

b)

False