Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

ooad xcel

 


CS8592 OBJECT ORIENTED ANALYSIS AND DESIGN



S.No.

Question

Choice 1

Choice 2

Choice 3

Choice 4

1

Which of the following UML diagrams represent the structural View of the software?

Class diagram

Object diagram

Both a. and b.

None of the above

2

Which of the following is not a UML diagram?

Class diagram

Object Diagram

Interface diagram

Use case model

3

Which of the following views represents the interaction of the user with the software but tells nothing about the internal working of the software?

Use case diagram

Activity diagram

Class diagram

All of the above

4

Which diagram in UML shows a complete or partial view of the structure of a modeled system at a specific time?

Sequence Diagram

Collaboration Diagram

Class Diagram

Object Diagram

5

Interaction Diagram is a combined term for

Sequence Diagram + Collaboration Diagram

Activity Diagram + State Chart Diagram

Deployment Diagram + Collaboration Diagram

None of the mentioned

6

Which of the following diagram is time oriented?

Collaboration

Sequence

Activity

None of the mentioned

7

Choose the incorrect statement in terms of Objects.

Objects are abstractions of real-world

Objects can’t manage themselves

Objects encapsulate state and representation information

All of the mentioned

8

Which of the following describes”Is-a-Relationship” ?

Aggregation

Inheritance

Dependency

All of the mentioned

9

A design description in OOD includes

Protocol Description

Implementation Description

Type Description

both Protocol and Implementation Description

10

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

TRUE

FALSE

Can't say

None of the above

11

How many diagrams are here in Unified Modelling Language?

six

seven

eight

nine

12

Which of the following is not needed to develop a system design from concept to detailed object-oriented design?

Designing system architecture

Developing design models

Specifying interfaces

Developing a debugging system

13

A Class consists of which of these abstractions?

Set of the objects

Operations

Attributes

All of the mentioned

14

An operation can be described as?

Object behavior

Class behavior

Functions

Object & Class behavior

15

What among the following statement is true?

Associations may also correspond to the relation between instances of three or more classes

Association lines may be unlabeled or they may show association name

All of the mentioned

None of the mentioned

16

UML stands for

Unified Machine Level

Unique Machine Language

Unique Modeling Level

Unified Modeling Language

17

Which message Proceeds immediately without waiting for response?

Synchronous

Asynchronous

Both a. and b.

None

18

Which among these are the rules to be considered to form Class diagrams?

Class symbols must have at least a name compartment

Compartment can be in random order

Attributes and operations can be listed at any suitable place

None of the above

19

Operations are used in a

Package diagram

Class diagram

Activity diagram

Use case diagram

20

In activity diagram, the diamond shapes represents

join node

decision point

fork node

An operation

21

Which of the following is a valid Use Case?

Room Number

Room

Reserve Room

Booking System

22

Which is the longest phase of the Unified Process?

Construction

Transition

Inception

Elaboration

23

Implementation diagram includes

Class and Deployment

Component and Deployment

Component and State chart

Activity and Usecase

24

What is a purpose of a Use Case diagram?

Functional decomposition

Identification of functional requirements

To define sequences of actions

To identify multiplicities

25

The vertical dimension of a sequence diagram shows

abstract

line

time

messages

26

POS stands for

Point of Service

Point of Sales

Point of System

Point of state

27

Which is an abstraction of a set of functions that the system performs

Class

Interaction

Use case

Collaboration

28

Which of these compartments divided in class?

Name

Attributes

Operations

All the above

29

Filled Diamond arrow is used to denote

Association

Aggregation

Composition

Generalization

30

Which one of the following is true about associations?

May exist only between actors and use cases

Identify the flow of data between actors and use cases

Identify interactions between actors and use cases

Identify dependencies between actors and use cases

31

Noun phrase approach are used to identify

Objects

Usecases

Classes

Collaborators

32

Aggregation is ______________

composed of relationship

set of relationship

part of relationship

all the above

33

Domain model can be illustrated using which diagram?

Activity diagram

Component diagram

Class diagram

Deployment diagram

34

A class is divided into which of these compartments?

Attribute Compartment

Operation compartment

Name compartment

all the above

35

A Class consists of which of these abstractions?

Set of the objects

Operations

Attributes

all the above

36

An attribute is a data item held by which of the following?

Class

Objects

Both a) and b)

None of the above

37

What should be mentioned as attributes for conceptual modelling?

Initial Values

Names

Both a) and b)

None of the above

38

Which of these are part of the class operation specification format?

name

parameter list

return-type list

all of the mentioned

39

Which among the following statement is true?

Associations may also correspond to the relation between instances of three or more classes

Association lines may be unlabeled or they may show association name

Both a) and b)

None of the above

40

What is multiplicity for an association?

The multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of source class

The multiplicity at the target class end of an association is the number of instances that can be associated with a number instance of source class

All of the mentioned

None of the mentioned

41

Which of these are the heuristics?

Name classes, attributes, and roles with noun phrases

Name operations and associations with verb phrases

All of the mentioned

None of the above

42

What does conceptual modelling represent?

Responsibility

Attributes

Important relationships between them

All of the mentioned

43

What are the sequence of steps for conceptual process?

Add Classes

Add Attributes

Add Association

All of the mentioned

44

Which of the following statements is false?

Add use cases to the list at any point of time

Reviews can be done on noun phrases designating characteristics of other entities

Use case represent interactions which are result of collaborative activity

All of the mentioned

45

Which of these should follow a review to the list?

Noun or Noun phrases designating characteristics of other entities in the list

Noun phrases referring to the activities or behaviors

Entities that are same with different names

All of the mentioned

46

Which of the following guidelines helps with adding attributes?

Adjectives and modifiers sometimes give clues about class attributes

Attribute names should not be taken from problem domain

Attribute should be added for object identification

All of the mentioned

47

Which of the following statement is true?

Adding Multiplicities is the last step in conceptual modelling

Adding Multiplicities is the easiest step

All of the mentioned

None of the mentioned

48

Which of the following is/are the strategies to find conceptual class?

Reuse or modify existing class

Noun phrase approach

Use of Category list

All the above

49

Which of the following is not a domain model guideline?

Think like a mapmaker

Maintain domain model in a tool

Linguistic analysis

Model with description class

50

Optional information of role among the concepts in domain model has

Multiplicity expression

Name

Navigability

All the above

51

Which of the following is represented by line in domain model?

Interface

Association

Aggregation

Composition

52

UML format for attributes in domain model is

visibility name:type multiplicity=default[property string]

type : visibility name multiplicity=default[property string]

visibility name:type [property string] = default multiplicity[property string]

None of the above

53

Exploring association using categorization approach. What is the best example for the category “A” is an organizational submit of “B”

Item – Sale

Sale - Register

Customer - Payment

Department – Store

54

In domain model, If A is a line item of transaction B (eg: SalesLineItem-Sales). It is the categorization approach to find which one of the following?

Attributes

Association

Category

Concepts

55

The total number of conceptual classes in domain model are 50. How many possible associations can be drawn among these conceptual classes?

1225

1125

1256

Infinite

56

Which of the following is the easiest approach to find conceptual class?

Modify existing class

Noun phrase approach

Use of Category list

All the above

57

The item that pick for processing is

Sale Item

Line Item

Product Item

None of above

58

Domain model represents _________

Concepts

Attributes

Association

All the above

59

Domain model also called ______________

Domain diagram

Object Model

Business model

Conceptual model

60

Domain model doesn’t work

Practically

Theoretically

Both a) and b)

None of these

61

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

62

What are the different interaction diagram notations does UML have?

A sequence diagram

A communication diagram

An interaction overview diagram

All of the mentioned

63

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

64

Which of the following is true about Sequence frames?

A sequence diagram has a frame consisting of a rectangle with a pentagon in its upper left-hand corner

The pentagon is its name compartment; the interaction is represented inside the rectangle

The string in the name compartment has the form sd interaction Identifier where interaction Identifier is either a simple name or an operation specification with the same format as in a class diagram

All of the mentioned

65

What are the heuristics which the sequencing diagram follows?

Put pairs of lifelines that interact heavily next to one another

Position lifelines to make message arrows as short as possible

Position lifelines to make message arrows go from left to right

All of the mentioned

66

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

67

When is the operation executing, suspended and active?

An operation is executing when some process is actually running its code

An operation is suspended when it sends a synchronous message and it is waiting for the message to return

An operation is active when it is either executing or suspended

All of the mentioned

68

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 

69

A ________  is a relationship between two states indicating that an object in the first s will enter the second state. 

transition 

state 

association 

generalization 

70

A sequential state machine may have ________

at most one initial state and one final state n 

completion transitions

at most one initial state more than one final state 

more than one initial state and at most one final state 

71

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

source state

target state 

history state 

final state 

72

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 

73

Which of the statements state the name compartment?

The first compartment is the name compartment, It contains the state name; State names are optional and may be path names

The first compartment is the name compartment

It contains the state name; State names are optional and may be path name

The name compartment can never be omitted

74

What is a Synch state?

It is a counter that keeps track of transitions

They are represented in state diagrams by Synch state symbols, which are small circles containing either a positive integer or an asterisk, indicating the counter’s upper bound

All of the mentioned

None of the mentioned

75

What is the Transition junction point?

The transitions from different sources can converge to a point and transitions leaving the point symbol may disperse to different targets

They are several transition arrows connected using point symbols

All of the mentioned

None of the mentioned

76

________   are handled without causing a change in state. 

Transition

Events

Signals

States

77

Inside the states, the events are encountered to handle without leaving the state. This is known as________

state machine

state transition

internal transition

external transition

78

Which of the following is used to model the life time of an object? 

Use Case 

Class

State machine

Interface

79

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

80

Interaction diagrams are of ________ types.

1

2

3

4

81

In interactions, ________ specifies a path to send and receive messages between two 

link

node

sequence

instance

82

A set of messages exchanged among a set of objects is called as  ________

Use Case 

Activity

Interaction

Deployment

83

Which of the following diagrams is used to model business workflows? 

Deployment diagram

Activity diagram

Interaction diagram

Useccase diagram

84

In an Activity Diagram, transitions belongs to ________

trigger oriented transitions

self transitions 

internal transitions 

completion transitions

85

which of the following is NOT present in an Activity Diagram? 

Action states

Objects

Events

Notes

86

Objects placed in an Activity Diagram are connected to the activity or transition using  ________  relationship.

Association

generalization 

dependency 

realization

87

In an Activity Diagram, organizing the activities into groups is called ________

forking 

joining

swimlane 

synchronization

88

________   is used to represent concurrent flows in an Activity Diagram.

Slide bar 

Synchronization bar

Swim lane 

Branch

89

________  is a path from one activity state to the next activity state.

Action state

Activity state

Transition

Fork

90

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

Notes

Box

Extension mechanisms

Packages

91

Which of the following is a design pattern?

Behavioral

Structural

Abstract Factory

All of the mentioned

92

The recurring aspects of designs are called design

patterns

documents

structures

methods

93

Which pattern prevents one from creating more than one instance of a variable?

Factory Method

Singleton

Observer

None of the mentioned

94

Which design pattern defines one-to-many dependency among objects?

Singleton pattern

Facade Pattern

Observer pattern

Factory method pattern

95

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem?

encapsulating the knowledge of which document subclass to is to be created and

moving this knowledge out of the framework

instantiating the application specific documents without knowing their class

all of the mentioned

96

Can we create a clone of a singleton object?

TRUE

FALSE

Can't say

None of the above

97

Which of the following pattern refers to creating duplicate object while keeping performance in mind?

Builder Pattern

Bridge Pattern

Prototype Pattern

Filter Pattern

98

Which of the following describes the Singleton pattern correctly?

This pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface.

In this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.

This pattern involves a single class which is responsible to create an object while making sure that only single object gets created.

This pattern is used when we want to pass data with multiple attributes in one shot from client to server.

99

Attach additional responsibilities to an object dynamically. It provides a flexible alternative to subclassing for extending functionality.

Chain of responsibility

Adapter

Decorator

Composite

100

Define one to many dependency between objects so that when one object change state, all its dependent are notified and updated automatically.

Chain of responsibility

Adapter

Decorator

Observer

101

Define a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it.

Template method

Decorator

Strategy

Visitor

102

Encapsulate a request as an object, there by letting you parametrize clients with different requests, queue or log requests, and support undoable operation.

Adapter

Command

Decorator

Composite

103

Which GRASP pattern helps to find out answer for “Who should be responsible for creating a new instance of some class?”?

Adapter

Protected Vairation

Creator

Fabircation

104

It Defines an interface for creating an object, but let the subclasses decide which class to instantiate.It lets the instantiation differ to subclasses.

Builder

Abstract Factory

Factory Method

Prototype

105

Which of the following describes the Template pattern correctly?

In this pattern, a class behavior changes based on its state.

In this pattern, a null object replaces check of NULL object instance.

In this pattern, a class behavior or its algorithm can be changed at run time.

In this pattern, an abstract class exposes defined way(s)/template(s) to execute its methods.

106

Which mechanism is applied to use a design pattern in an OO system?

Inheritance

Composition

All of the mentioned

None of the mentioned

107

The use of design patterns for the development of object-oriented software has important implications for

Component-based software engineering

Reusability in general

All of the mentioned

None of the mentioned

108

You want to minimize development cost by reusing methods? Which design pattern would you choose?

Adapter Pattern

Singleton Pattern

Delegation pattern

Immutable Pattern

109

In which of the following pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes?

Factory Pattern

Abstract Factory Pattern

Singleton Pattern

Transfer Object Pattern

110

Facade pattern promotes weak coupling between subsystem and its clients.

TRUE

FALSE

Can't say

None of the above

111

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem?

encapsulating the knowledge of which document subclass to is to be created and

moving this knowledge out of the framework

instantiating the application specific documents without knowing their class

all of the mentioned

112

Which of the following is correct list of classifications of design patterns.

Creational, Structural and Behavioral patterns.

Executional, Structural and Behavioral patterns.

Creational, Executional and Behavioral patterns.

None of the above.

113

Which of the following pattern is used when creation of object directly is costly?

Bridge Pattern

Adapter Pattern

Prototype Pattern

Filter Pattern

114

In which of the following pattern a class represents functionality of another class?

Proxy Pattern

Chain of Responsibility Pattern

Command Pattern

Interpreter Pattern

115

In MVC pattern, View represents the visualization of the data that model contains.

TRUE

FALSE

Can't say

None of the above

116

The term "Delegation" is most closer to which of the following GRASP patterns

Expert

Creator

Low Cohesion

Controller

117

An instructor wants to schedule an exam for which he/she wants that a notification is sent to all the registered students automatically. Which design pattern is most suitable for him.

Composite

Observer 

Decorator

Iterator

118

Which design pattern you would you use to control the creation of an object based on a established interface, while allowing the concrete implementation to determine the subclass to construct.

Singleton

Composite

Decorator

Factory method pattern

119

A pattern that is intended to provide a means to define a family of algorithms and encapsulate each one as an object for interchangeable use:

Strategy pattern

Facade Pattern

Observer pattern

Adapter pattern

120

Which GRASP pattern is suitbale to handle alternatives based on type?

Indirection

Pure Fabrication

Polymorphism

Creator

121

Which of the following is not a SQA plan for a project?

evaluations to be performed

amount of technical work

audits and reviews to be performed

documents to be produced by the SQA group

122

Which of the following is not included in External failure costs?

testing

help line support

warranty work

complaint resolution

123

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

inter-process inspection

maintenance

quality planning

testing

124

Who identifies, documents, and verifies that corrections have been made to the software?

Project manager

Project team

SQA group

All of the mentioned

125

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.

errors

equivalent faults

failure cause

none of the mentioned

126

Quality Management in software engineering is also known as

SQA

SQM

SQI

SQA and SQM

127

Quality also can be looked at in terms of user satisfaction which includes

A compliant product

Good quality output

Delivery within budget and schedule

All of the mentioned

128

What kind of quality cost is incurred when an error is detected in a product prior to shipment?

Prevention

Internal Failure

External Failure

Appraisal

129

The degree to which the design specifications are followed during manufacturing is known as

Quality of design

Quality of conformance

Quality of testing

None of the mentioned

130

Alpha testing is done at

Developer‟s end

User‟s end

Developer‟s & User‟s end

None of the mentioned

131

Boundary value analysis belong to?

White Box Testing

Black Box Testing

White Box & Black Box Testing

None of the mentioned

132

What are the various Testing Levels?

Unit Testing

System Testing

Integration Testing

All of the mentioned

133

Which of the following is/are White box technique?

Statement Testing

Decision Testing

Condition Coverage

All of the mentioned

134

White Box techniques are also classified as

Design based testing

Structural testing

Error guessing technique

None of the mentioned

135

Which of the following term describes testing?

Finding broken code

Evaluating deliverable to find errors

A stage of all projects

None of the mentioned

136

Acceptance testing is also known as

Grey box testing

White box testing

Alpha Testing

Beta testing

137

Which of the following is non-functional testing?

Black box testing

Performance testing

Unit testing

None of the mentioned

138

Unit testing is done by

Users

Developers

Customers

None of the mentioned

139

Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed?

Regression Testing

Integration testing

Smoke testing

Validation testing

140

What is the main purpose of integration testing?

Design errors

Procedure errors

Interface errors

None of the above

141

When the Testing Principles are useful while building the Software Product?

During testing

During execution

During review

Throughout life-cycle

142

When different combination of input requires different combination of actions,Which of the following technique is used in such situation?

Boundary Value Analysis

Equivalence Partition

Decision Table

Decision Coverage

143

Which of the following is not a part of Performance Testing?

Measuring Transaction Rate

Measuring Response Time.

Measuring the LOC.

None of the above

144

-------- is not a Test Document

Test Policy

Test Case

PIN ( Project Initiation Note)

RTM (requirement Traceability matrix)

145

Quality management system of a organization based on which pillars

Test plans, Test conditions & decisions

Quality processes, Guidelines and standards & Formats and templates

Quality police, objectives and manuals

All of the mentioned

146

Which of the following early OOD methods incorporates both a “micro development process” and a “macro development process.” ?

Booch method

Rumbaugh method

Wirfs-Brock method

Coad and Yourdon method

147

Grady Booch, James Rumbaugh, and Ivar Jacobson combined the best features of their individual object-oriented analysis into a new method for object oriented design known as

HTML

XML

UML

SGML

148

Which of the following is not an operation as per OOD algorithms and data structures?

operations that manipulate data in some way

operations that perform a computation

operations that check for syntax errors

operations that monitor an object for the occurrence of a controlling event

149

What is Cyclomatic complexity?

Black box testing

White box testing

Yellow box testing

Green box testing

150

Maintenance testing is performed using which methodology?

Retesting

Sanity testing

Breadth test and depth test

Confirmation testing

151

Multiplicity for an association ___________.

association is the number of instances with a single instance

association is the number of instances with a number instance

Both a. and b.

None of above

152

What are the stages of the Unified Process?

Inception, Elaboration, Construction, Transition

Inception, Construction, Elaboration, Transition

Analysis, Elaboration, Testing, Transition

Design, Inception, Construction, Deployment

153

To hide the internal implementation of an object we use __________________

inheritance

encapsulation

polymorphism

None of the above

154

Which diagrams are used to distribute files, libraries, and tables across topology of the hardware

deployment

usecase

sequence

Collaboration

155

UML is useful to ________ a system as it is or as we want it to be

visualize

specify

document

All the above

156

In which phase is the scope of the project defined?

Inception

Elaboration

Construction

Transition

157

Transition phase of unified process involves

Coding and Testing

Communication and modeling

Installation and deployment

Communication and Planning

158

Which of the relationship between the use case implies the exceptional event flows are factored out of the main event flow for clarity

Includes

Extends

Generalization

All the above

159

A collection of operations that specify the services rendered by a class or component known as________ 

Class

Interaction

Interface

Collaboration

160

UML interfaces are used to ________

Define an API for all classes 

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

Define executable logic to reuse across classes 

Specify required services for types of objects 

161

______  are used to create new building blocks from existing blocks. 

Tagged Values

Stereotypes

Constraints

Diagrams

162

The explanatory parts of the UML model are known as ________

Behavioral things

Grouping things

Structural things

Annotation things

163

An actor is ________

A Person

A job title

A role

A system

164

Use cases ________

Identify business processes 

Identify system goals 

Describe workflow 

Prioritize system procedures

165

The association stereotype «Extends» indicates ________

Delegation of part of a task to another use case 

The target use case is a subprocess of the source use cases 

A specialized form of a use case

A deviation from the UML standard

166

The fact that the same operation may apply to two or more classes is called what?

inheritance

Polymorphism

Encapsulation

Multiple classification

167

During Use Case Analysis, which UML diagrams should you use when allocating use-case behavior to classes?

sequence and activity diagrams

class and composite structure diagrams

sequence and communication diagrams

use-case and activity diagrams

168

Consider a beverage machine .if the actor is ‘customer’ and the scope is ‘machine’.what is most likely to be found in the main scenario of the use case ‘get drink’?

– customer enters choice – machine shows price – customer puts in coins – machine delivers drink

– enter choice – if drink available then show price – put in coins – if paid enough then deliver drink

– machine sends price to LCD display – customer put coins in slot – coin mechanism verifies amount and tells machine controller – machine controller activates boiler –

– enter choice – show price – put in coins – deliver drink

169

The method of design encompassing the process of object oriented decomposition and a notation for depicting both logical and physical and as well as static and dynamic models of the system under design is known as

Object- Oriented Analysis

Object- Oriented Programming

Object- Oriented Design

None of the above

170

The essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is called

Modularity

Abstraction

Hierarchy

Encapsulation

171

————– is a data value held by objects in a class.

Data

Functions

Attributes

None of the above

172

Which of the following specifies how many instances of one class may relate to a single instance of an associated class

Link or association

Multiplicity

Relationships

None of the above

173

To show multiplicity a solid ball is the symbol for “many”, meaning

Zero

one or more

Zero, one or more

None of the above

174

A hollow ball indicates “optional”, meaning ———

zero or one

One

Many

None of the above

175

A line without any ball indicates ————

No association

Association

one-to-one association

None of the above

176

Numbers that are written on the solid ball such as 1,2,6 indicates ——

1

2

1 or 2 or 6

all the above

177

association may be

Unary

Binary

Ternary or n-ary

all the above

178

The attribute(s) is/are associated with the association is called

Link attribute

Derived attribute

Multi-valued attribute

None of the above

179

Which of the following is a name that uniquely identifies one end of an association?

Label name of the link

Role name

Link attribute name

None of the above

180

Which of the following indicates an ordered set of objects of an association?

Writing {ordered} next to the dot

Writing {ordered} next to the multiplicity dot

Writing {ordered} next to one end of the dot

None of the above

181

A qualifier is an ————- that reduces the effective multiplicity of an association.

Association attribute

Attribute

Special attribute

None of the above

182

Which of the following is the “part-whole” or “a-part-of” relationship in which objects representing the component of something are associated with an object representing the entire assembly?

Generalization

Specialization

Aggregation

None of the above

183

Aggregations are drawn like associations, using a small hollow ———— indicating the assembly end of the relationship.

Diamond

Box

Circle

Triangle

184

Aggregation can be ———

Fixed

Variable

Recursive

all the above

185

Inheritance is a ———- relationship between two classes.

“is-a”

Part of

Both a and b

None of the above

186

Generalization is reverse of ————–

Aggregation

Inheritance

Specialization

None of the above

187

An object can have which of the following multiplicities?

Zero

One

More than One

all the above

188

What does a simple name in UML Class and objects consists of ?

Letters

Digits

Punctuation Characters

All of the mentioned

189

Which of the following is true?

The aggregation association represents the part-whole relation between the instances of the associated classes

In a composition association, each part can be related to only a single whole at one time

An association class represents a relation on the sets of instances of the classes it connects, and it also holds data and behavior the pertinent to the relation

all the above

190

What Does a Composite name consists of in a UML Class and object diagram ?

Delimiter

Simple names

Digits

all the above

191

A package diagram consists of the following?

Package symbols

Groupings of Use cases, classes, components

Interface

Package symbols, Groupings of Use cases, classes & components

192

What types of units does Component follow?

Modular Unit

Replaceable Unit

Unit with well defined interface

All of the mentioned

193

Components can be represented by which of the following?

Component symbols

Stereotypes

Rectangular boxes

Component symbols & Stereotypes

194

What does a component diagram consists of?

Components, their Relationship to the environment

Packages and dependency

Internal structure

Internal structure, Components & their Relationship to the environment

195

Which of these is true with respect to interfaces?

Interfaces in component diagram defines relationship between components and environment

Interfaces realized by a class or a component are required interfaces

Interface on which a class or component depends are called provided interfaces

All of the mentioned

196

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

197

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

198

Which among these are the common notations for deployment diagrams?

Artifacts and nodes

Stereotypes

Components

All of the mentioned

199

Which of the following statement is true?

UML artifact is any physical representation of data used or produced during software development or software product operation

node is a computational resource

All of the mentioned

None of the mentioned

200

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

Device

Execution Environment

Artifact

Device & Execution Environment

201

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

202

What does a deployment diagram consists of?

Computational resource

Communication path between resource

Artifacts that execute resource

All of the mentioned

203

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

Communication paths are represented by dotted lines

None of the mentioned

204

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

205

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

206

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

207

What is collection of model elements called?

Box

Dependency

UML packages

Package members

208

________  is a physical and replaceable part of system. 

Component

Deployment

Node

State

209

A ________ shows the configuration of run time processing nodes and the components that live on them.

use case diagram 

component diagram

deployment diagram

class diagram

210

In deployment diagram, a node is represented as a ________

cube

cuboid

prism

rectangle

211

It is also known as Wrapper, it is used when subclassing is not possible or practical to add functionality and it is used to add functionality at runtime. This pattern is

Composite

Decorator

Adapter

Observer

212

Which design pattern you would you use to limit the class instantiation to one object?

Factory

Singleton

Adapter

Observer

213

Which of the follwing is GRASP pattern?

Creator

Controller

Information Expert

All of the mentioned

214

Why are Patterns important?

They capture expert design knowledge

They make captured design accessible to both novices and other experts

All of the mentioned

None of the above

215

Which of the following is not true

A controller object can handle multiple system events

Controller is a kind of Facade pattern

Controller pattern is used to control data

A controller object helps identify out of sequence events

216

An observer pattern does not involve

Analyzing observers

Keeping track of all observers

Keeping track of all observers

Notifying changes / events to observers

217

________ a non-UI object responsible for receiving or handling a system event

Creator

Controller

Adapter

All of the mentioned

218

_________ is a single class receiving all system events and there are many of them

Façade controller

Bloated controller

Usecase controller

None of the above

219

The elements of design pattern are ________-

Problems

Solutions

Consequences

All of the mentioned

220

Defines an interface for creating an object, but let the subclasses decide which class to instantiate. It lets the instantiation differ to subclasses

Builder

Abstract factory

Prototype Pattern

Factory method pattern

221

Which design pattern defines one-to-many dependency among objects?

Singleton pattern

Factory pattern

Bridge pattern

Oberver pattern

222

Two types of responsibilities are

doing

knowing

Both a) and b)

None of the above

223

Which of the following is true about doing responsiblities

initiating action in other objects

Controlling and Coordinating activities in other objects

Creating objects

All of the mentioned

224

____________are implemented to fullfill the responsibilities

Attributes

Methods

Both a) and b)

None of the above

225

RDD stands for _____________

Responsibilty Driven Development

Responsiblity Driven Design

Reusability driven design

Reunsability driven development

226

GRASP stands for ______________

General Relation of Allocating Software Projects

General Relation of Assigning Software Patterns

General Responsibility Assignment Software Patterns

General Responsibility Allocaing Software Projects

227

Related patterns of creator are

Factory

Low coupling

Both a) and b)

None of the above

228

Assign a responsibility to the___________that has the information necessary to fulfill the responsibility

Creator

Controller

Information Expert

None of the above

229

Which controller representing overall system?

Façade controller

Bloated controller

Usecase controller

None of the above

230

Which pattern specifies How to keep objects focused, understandable and manageable.

Low couplng

Low cohesion

High coupling

High cohesion

231

Specifying a set of test cases or test paths for each item to be tested at that level is known as

Test case generation

Test case design

ALL of the mentioned

None of the mentioned

232

Which of the following is not a part of a test design document?

Test Plan

Test Design Specification

Test Case Specification

Test Log

233

When does the testing process stops?

When resources (time and budget) are over

When some coverage is reached

When quality criterion is reached

Testing never ends

234

A set of inputs, execution preconditions and expected outcomes is known as a

Test plan

Test case

Test document

Test Suite

235

What do you understand by V&V in software testing?

Verified Version

Version Validation

Verification and Validation

Version Verification

236

Which granularity level of testing checks the behavior of module cooperation?

Unit Testing

Integration Testing

Acceptance Testing

Regression Testing

237

Identify the following who presented the object modeling technique (OMT).

Booch

Jim Rumbaugh ET AL

Jacobson ET AL

Both (a) and (b) above

238

Which of the following statement is not correct regarding Object Oriented Methodologies?

Gane and Sarson, Shlaer Mellor and Extreme Programming are object oriented methodologies

RUP activities emphasize the creation and maintenance of models rather than paper documents

Establishment of the project plan and the architecture is done during the Elaboration phase of RUP

During the Elaboration phase, the focus turns towards analysis and design

239

Which of the following is not included in failure costs?

rework

repair

failure mode analysis

none of the mentioned

240

Which requirements are the foundation from which quality is measured

Hardware

Software

Programmers

None of the mentioned

241

Degree to which design specifications are followed in manufacturing the product is called

Quality Control

Quality of conformance

Quality Assurance

None of the mentioned

242

What is not included in prevention costs?

equipment calibration and maintenance

quality planning

formal technical reviews

test equipment

243

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

TRUE

FALSE

Can't say

None of the above

244

Select which option is not true about SQA?

Audits and reviews to be performed by the team

Amount of technical work to be performed

Evaluations to be performed

Documents that are produced by the SQA team.

245

Software quality assurance consists of which function of management

reporting functions

auditing functions

both a and b

None of the mentioned

246

Which of the following is not included in prevention cost?

equipment calibration and maintenance

formal technical reviews

test equipment reviews

quality planning reviews

247

What happened if an expected result is not specified then

we cannot run the test

we cannot automate the user input values

it may be difficult to determine if the test has passed or failed

it may difficult to repeat the test

248

Faults are found most cost-effectively in which test activity?

design

execution

planning

Check Exit criteria completion

249

In which testing the interfaces and services of the modules at each level of hierarchy are tested?

Use based testing

Thread based testing

Class diagram based testing 

Sequence diagram based testing

250

Process Metrics of SQA

Number of KLOC

Defect removal efficiency

Average number of failures detected during testing

All of the mentioned

 


Post a Comment

Previous Post Next Post