Design & Implementation Mcqs for Software Engineering

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

a. Factory Method
b. Singleton
c. Observer
d. None of the mentioned


ANSWER: See Answer
 
In singleton pattern, the class itself is made responsible for keeping track of its instance.Thus it ensures that no more than one instance is created.
MCQs:  What is a physical element that exists at runtime in UML ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following is a building block of UML ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following statement(s) is true about interaction diagrams ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  At Conceptual level Class diagrams should include_____________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  What is an object________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  What is an abstract class ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Select the statement true for activity diagrams ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following are the valid relationships in Use Case Diagrams______________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  UML interfaces are used to_____________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Choose the incorrect statement in terms of Objects ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following describes”Is-a-Relationship” ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Object that collects data on request rather than autonomously is known as_________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following is a disadvantage of OOD ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  How is generalization implemented in Object Oriented programming languages ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following is a mechanism that allows several objects in an class hierarchy to have different methods with the same name ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Objects are executed _____________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  How many layers are present in the OO design pyramid ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  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 _____________________?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following is conceptually similar to objects ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts
MCQs:  Which of the following early OOD methods incorporates both a “micro development process” and a “macro development process.” ?
Category: Software Engineering Mcqs,   Published by: T-Code Scripts