Home / Engineering / Software Design Modeling (SDM) MCQs / Page 22

Software Design Modeling (SDM) MCQs | Page - 22

Dear candidates you will find MCQ questions of Software Design Modeling (SDM) here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.17K Points
Coach

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

(A) adapter pattern
(B) singleton pattern
(C) delegation pattern
(D) immutable pattern
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 212) Can We Create A Clone Of A Singleton Object?

(A) true
(B) false
(C) ---
(D) ---
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 213) Which of the following describes the Builder pattern correctly?

(A) this pattern builds a complex object using simple objects and using a step by step approach.
(B) this pattern refers to creating duplicate object while keeping performance in mind.
(C) this pattern is used when creation of object directly is costly.
(D) this pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 214) Which of the following describes the MVC pattern correctly?

(A) in this pattern, a visitor class is used which changes the executing algorithm of an element class.
(B) this pattern is used to separate application\s concerns.
(C) this pattern is used to decouple presentation tier and business tier.
(D) this pattern is used in ejb persistence mechanism.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 215) Which of the following is correct about Structural design patterns.

(A) these design patterns are specifically concerned with communication between objects.
(B) these design patterns concern class and object composition. concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.
(C) these design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new opreator.
(D) none of the above.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 216) Which of the following describes the Filter pattern correctly?

(A) this pattern builds a complex object using simple objects and using a step by step approach.
(B) this pattern refers to creating duplicate object while keeping performance in mind.
(C) this pattern enables developers to filter a set of objects using different criteria and chaining them in a decoupled way through logical operations.
(D) this pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 217) Which of the following describes the Flyweight pattern correctly?

(A) this pattern allows a user to add new functionality to an existing object without altering its structure.
(B) this pattern is used where we need to treat a group of objects in similar way as a single object.
(C) this pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance.
(D) this pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 218) Which of the following describes the Behavioral pattern correctly?

(A) this type of patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new opreator
(B) this type of patterns concern class and object composition. concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.
(C) this type of pattern are specifically concerned with communication between objects.
(D) this type of pattern are specifically concerned with the presentation tier.
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 219) Given the following scenario: You want to create families of related objects, to be used interchangeably to configure you application. What is most appropriate GoF pattern to use?

(A) chain of responsibility
(B) abstract factory
(C) builder
(D) observer
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 220) What are the consequences of applying the GOF Singleton pattern?

(A) it introduces thread safety issue when the singleton instance is instantiated on demand
(B) the client code can creates multiple instances at run time
(C) it reduces of the class hierarchy as compared to the other factory design patterns
(D) it makes it easier for a certain family of objects to work together
View Answer Discuss Share

Explore Sets

Software Design Modeling (SDM) MCQs Set 1

Software Design Modeling (SDM) MCQs Set 2

Software Design Modeling (SDM) MCQs Set 3

Software Design Modeling (SDM) MCQs Set 4

Software Design Modeling (SDM) MCQs Set 5

Software Design Modeling (SDM) MCQs Set 6

Software Design Modeling (SDM) MCQs Set 7

Software Design Modeling (SDM) MCQs Set 8

Software Design Modeling (SDM) MCQs Set 9

Software Design Modeling (SDM) MCQs Set 10

Software Design Modeling (SDM) MCQs Set 11

Software Design Modeling (SDM) MCQs Set 12

Software Design Modeling (SDM) MCQs Set 13

Software Design Modeling (SDM) MCQs Set 14

Software Design Modeling (SDM) MCQs Set 15

Software Design Modeling (SDM) MCQs Set 16

Software Design Modeling (SDM) MCQs Set 17

Software Design Modeling (SDM) MCQs Set 18

Software Design Modeling (SDM) MCQs Set 19

Software Design Modeling (SDM) MCQs Set 20

Software Design Modeling (SDM) MCQs Set 21

Software Design Modeling (SDM) MCQs Set 22

Software Design Modeling (SDM) MCQs Set 23

Software Design Modeling (SDM) MCQs Set 24

Software Design Modeling (SDM) MCQs Set 25

Software Design Modeling (SDM) MCQs Set 26

Software Design Modeling (SDM) MCQs Set 27

Software Design Modeling (SDM) MCQs Set 28

Software Design Modeling (SDM) MCQs Set 29

Software Design Modeling (SDM) MCQs Set 30

Software Design Modeling (SDM) MCQs Set 31

Software Design Modeling (SDM) MCQs Set 32

Software Design Modeling (SDM) MCQs Set 33

Software Design Modeling (SDM) MCQs Set 34

Software Design Modeling (SDM) MCQs Set 35

Software Design Modeling (SDM) MCQs Set 36

Software Design Modeling (SDM) MCQs Set 37

Software Design Modeling (SDM) MCQs Set 38

Software Design Modeling (SDM) MCQs Set 39

Software Design Modeling (SDM) MCQs Set 40

Software Design Modeling (SDM) MCQs Set 41

Software Design Modeling (SDM) MCQs Set 42

Software Design Modeling (SDM) MCQs Set 43