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

INFEED

ooad mcq

 


S.No.

Question

Correct  choice

1

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

Ans : Both a and b

3

2

Which of the following is not a UML diagram?

Ans:Interface diagram

3

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?

Ans:Usecase Diagram

1

4

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

Ans:Object Diagram

4

5

Interaction Diagram is a combined term for

Ans:Sequence Diagram + Collaboration Diagram

1

6

Which of the following diagram is time oriented?

Ans:Sequence

2

7

Choose the incorrect statement in terms of Objects.

Ans:Objects can’t manage themselves

2

8

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

Ans:Inheritance

2

9

A design description in OOD includes

Ans:both Protocol and Implementation Description

4

10

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

Ans:TRUE

1

11

How many diagrams are here in Unified Modelling Language?

Ans:nine

4

12

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

Ans:Developing a debugging system

4

13

A Class consists of which of these abstractions?

Ans:All of the mentioned

4

14

An operation can be described as?

Ans:Object & Class behavior

4

15

What among the following statement is true?

Ans:All of the mentioned

3

16

UML stands for

Ans: Unified Modeling Language

4

17

Which message Proceeds immediately without waiting for response?

Ans:Asynchronous

2

18

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

Ans:Class symbols must have at least a name compartment

1

19

Operations are used in a 

Ans:Class diagram

2

20

In activity diagram, the diamond shapes represents

Ans:decision point

2

21

Which of the following is a valid Use Case?

Ans:Reserve Room

3

22

Which is the longest phase of the Unified Process?

Ans:Construction

1

23

Implementation diagram includes

Ans:Component and Deployment

2

24

What is a purpose of a Use Case diagram?

Ans:Identification of functional requirements

2

25

The vertical dimension of a sequence diagram shows

Ans:time

3

26

POS stands for

Ans:Point of Sales

2

27

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

Ans:Use case

3

28

Which of these compartments divided in class?

Ans:All the above

4

29

Filled Diamond arrow is used to denote

Ans:Composition

3

30

Which one of the following is true about associations?

Ans:Identify interactions between actors and use cases

3


31


Noun phrase approach are used to identify 

Ans:Classes


3

32

Aggregation is ______________

Ans:composed of relationship

1

33

Domain model can be illustrated using which diagram?

Ans:Class diagram

3

34

A class is divided into which of these compartments? 

Ans:all the above

4

35

A Class consists of which of these abstractions?

Ans:Set of the objects

1

36

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

Ans:Both a) and b)

3

37

What should be mentioned as attributes for conceptual modelling?

Ans:Both a) and b)

3

38

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

Ans:all of the mentioned

4

39

Which among the following statement is true?

Ans:Both a) and b)

3

40

What is multiplicity for an association?

Ans: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

1

41

Which of these are the heuristics?

Ans:All of the mentioned

3

42

What does conceptual modelling represent?

Ans:All of the mentioned

4

43

What are the sequence of steps for conceptual process?

Ans: All of the mentioned

4

44

Which of the following statements is false?

Ans:All of the mentioned

4

45

Which of these should follow a review to the list?

Ans:All of the mentioned

4

46

Which of the following guidelines helps with adding attributes?

Ans:Adjectives and modifiers sometimes give clues about class attributes

1

47

Which of the following statement is true?

Ans:All of the mentioned

3

48

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

Ans:All the above

4

49

Which of the following is not a domain model guideline?

Ans:Linguistic analysis

3

50

Optional information of role among the concepts in domain model has

Ans:All the above

4

51

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

Ans:Association

2

52

UML format for attributes in domain model is

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

1

53

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

Ans:Department – Store

4

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?

Ans:Association

2

55

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

Ans:1225

1

56

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

Ans:Modify existing class

1

57

The item that pick for processing is

Ans:Line Item

2

58

Domain model represents _________

Ans:All the above

4

59

Domain model also called ______________

Ans:Conceptual model

4

60

Domain model doesn’t work

Ans:Theoretically

2

61

What is the Interaction diagram?

Ans:All of the mentioned

3

62

What are the different interaction diagram notations does UML have?

Ans:All of the mentioned

4


63


What is a sequence diagram?


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


1

64

Which of the following is true about Sequence frames?


Ans:All of the mentioned

4

65

What are the heuristics which the sequencing diagram follows?


Ans:All of the mentioned

4

66

What are the three different types of message arrows?


Ans:Synchronous, Asynchronous, synchronous with instance creation

3

67

When is the operation executing, suspended and active?


Ans:All of the mentioned

4

68

A ________  is a behavior that specifies the sequence of states an object goes through during its lifetime in response to events

Ans:state machine 

2

69

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


Ans:transition  

1

70

A sequential state machine may have ________


Ans:at most one initial state and one final state n 

1

71

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

Ans: target state 

2

72

State chart Diagrams are needed ________

Ans: when a class has complex life cycle 

1

73

Which of the statements state the name compartment?

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

1

74

What is a Synch state?

Ans: All of the mentioned

3

75

What is the Transition junction point?

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

1

76

________   are handled without causing a change in state. 

Ans:Transition

1



77



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

Ans:internal transition




3

78

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

Ans:State machine

3

79

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

Ans:state

2

80

Interaction diagrams are of ________ types.

Ans:2

2

81

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

Ans:link

1

82

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

Ans:Interaction

3

83

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

Ans:Activity diagram

2

84

In an Activity Diagram, transitions belongs to ________

Ans:completion transitions

4

85

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

Ans:Events

3

86

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

Ans:Association 

1

87

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

Ans:swimlane  

3

88

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

Ans:Synchronization bar 

2

89

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

Ans:Transition

3

90

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

Ans:Notes

1


91


Which of the following is a design pattern?

Ans:All of the mentioned


4

92

The recurring aspects of designs are called design

Ans:patterns

1

93

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

Ans:Singleton

2

94

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

Ans:Observer pattern

3

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?

Ans: all of the mentioned

4

96

Can we create a clone of a singleton object?

Ans:TRUE

1

97

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

Ans:Prototype Pattern

3

98

Which of the following describes the Singleton pattern correctly?

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

3

99

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

Ans:Decorator

3

100

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

Ans:Observer

4

101

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

Ans:Strategy

3

102

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

Ans:Command

2

103

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

Ans:Creator 

3

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.

Ans:Factory Method

3

105

Which of the following describes the Template pattern correctly?

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

4

106

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

Ans:All of the mentioned

3

107

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

Ans:All of the mentioned

3

108

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

Ans:Delegation pattern

3

109

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

Ans:Abstract Factory Pattern

2

110

Facade pattern promotes weak coupling between subsystem and its clients.

Ans:TRUE

1

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?

Ans:all of the mentioned

4

112

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

Ans:Creational, Structural and Behavioral patterns.

1

113

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

Ans:Bridge Pattern

1

114

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

Ans:Proxy Pattern

1

115

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

Ans:TRUE

1

116

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

Ans:Controller

4

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.

Ans:Observer  

2

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.

Ans:Factory method pattern

4

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:

Ans:Strategy pattern

1

120

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

Ans:Polymorphism

3

121

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

Ans:amount of technical work

2

122

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

Ans:testing

1

123

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

Ans:quality planning

3

124

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

Ans:SQA group

3

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.

Ans:errors

1

126

Quality Management in software engineering is also known as

Ans:SQA

1

127

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

Ans:All of the mentioned

4

128

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

Ans:Internal Failure

2

129

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

Ans:Quality of conformance

2

130

Alpha testing is done at

Ans:Developer‟s end

1

131

Boundary value analysis belong to?

Ans:Black Box Testing

2

132

What are the various Testing Levels?

Ans:All of the mentioned

4

133

Which of the following is/are White box technique?

Ans:All of the mentioned

4

134

White Box techniques are also classified as

Ans:Structural testing

2

135

Which of the following term describes testing?

Ans:Evaluating deliverable to find errors

2

136

Acceptance testing is also known as

Ans:Beta testing

4

137

Which of the following is non-functional testing?

Ans:Performance testing

2

138

Unit testing is done by

Ans:Developers

2

139

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

Ans:Smoke testing

3

140

What is the main purpose of integration testing?

Ans:Interface errors

3

141

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

Ans:Throughout life-cycle

4

142

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

Ans:Decision Table

3

143

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

Ans:Measuring the LOC.

3

144

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

Ans:PIN ( Project Initiation Note)

3

145

Quality management system of a organization based on which pillars


Ans:Quality processes, Guidelines and standards & Formats and templates

2

146

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


Ans:Booch method

1

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


Ans:UML

3

148

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


Ans:operations that check for syntax errors

3

149

What is Cyclomatic complexity?


Ans:White box testing

2

150

Maintenance testing is performed using which methodology?


Ans:Breadth test and depth test


3

151

Multiplicity for an association ___________.






1

152

What are the stages of the Unified Process?

1

153

To hide the internal implementation of an object we use __________________

2

154

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

1

155

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

4

156

In which phase is the scope of the project defined?

1

157

Transition phase of unified process involves

3

158

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

2

159

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

3

160

UML interfaces are used to ________

4

161

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

2

162

The explanatory parts of the UML model are known as ________

4

163

An actor is ________

3

164

Use cases ________

2

165

The association stereotype «Extends» indicates ________

2

166

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

2

167

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

3

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’? 

1

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 

3

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 

2

171

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

3

172

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

2

173

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

3

174

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

1

175

A line without any ball indicates ————

3

176

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

3

177

association may be

4

178

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

1

179

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

2

180

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

2

181

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

3

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?

3

183

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

1

184

Aggregation can be ———

4

185

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

1

186

Generalization is reverse of ————–

3

187

An object can have which of the following multiplicities?

4

188

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

4

189

Which of the following is true?

4

190

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

4

191

A package diagram consists of the following?

4

192

What types of units does Component follow?

4

193

Components can be represented by which of the following?

4

194

What does a component diagram consists of?

4

195

Which of these is true with respect to interfaces?

1

196

Which of these are diagrammatic heuristics?

4

197

Which of the following statement is true?

4

198

Which among these are the common notations for deployment diagrams?

1

199

Which of the following statement is true?

3

200

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

4

201

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

4

202

What does a deployment diagram consists of?

4

203

Which of the following is incorrect in the deployment diagram?

2

204

Which of these is correct?

1

205

What is true about the artifacts?

3

206

What are the ways in which artifacts can be deployed?

4

207

What is collection of model elements called?

4

208

________  is a physical and replaceable part of system. 

1

209

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

3

210

In deployment diagram, a node is represented as a ________

1

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

2

212

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

2

213

Which of the follwing is GRASP pattern?

4

214

Why are Patterns important?

3

215

Which of the following is not true 

3

216

An observer pattern does not involve 

1

217

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

2

218

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

2

219

The elements of design pattern are ________-

4

220

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

4

221

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

4

222

Two types of responsibilities are

3

223

Which of the following is true about doing responsiblities

4

224

____________are implemented to fullfill the responsibilities

2

225

RDD stands for _____________

2

226

GRASP stands for ______________

3

227

Related patterns of creator are 

3

228

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

3

229

Which controller representing overall system?

1

230

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

4

231

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

3

232

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

4

233

When does the testing process stops?

3

234

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

2

235

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

3

236

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

2

237

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

2

238

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

1

239

Which of the following is not included in failure costs?

4

240

Which requirements are the foundation from which quality is measured


Software

2

241

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


Quality of conformance

2

242

What is not included in prevention costs?


equipment calibration and maintenance

1

243

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


TRUE

1

244

Select which option is not true about SQA?


Evaluations to be performed

3

245

Software quality assurance consists of which function of management


both a and b

3

246

Which of the following is not included in prevention cost?


equipment calibration and maintenance

1

247

What happened if an expected result is not specified then


it may difficult to repeat the test

4

248

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




3

249

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


Use based testing



1

250

Process Metrics of SQA






4


Post a Comment

Previous Post Next Post