Software Engineering Mcqs

Submitted By: Ali Uppal


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 ?

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

(B) moving this knowledge out of the framework

(C) instantiating the application specific documents without knowing their class

(D) all of the mentioned

Submitted By: Ali Uppal


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

(A) Singleton pattern

(B) Facade Pattern

(C) Observer pattern

(D) Factory method pattern

Submitted By: Ali Uppal


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

Submitted By: Ali Uppal


Which of the following is a design pattern?

(A) Behavioral

(B) Structural

(C) Abstract Factory

(D) All of the mentioned

Submitted By: Ali Uppal


The recurring aspects of designs are called design____________________?

(A) patterns

(B) documents

(C) structures

(D) methods

Submitted By: Ali Uppal


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

Submitted By: Ali Uppal


PRD stands for____________________?

(A) Product Requirement Document

(B) Project Requirement Document

(C) Product Restrictions Document

(D) None of the mentioned

Submitted By: Ali Uppal


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

(A) Component-based software engineering

(B) Reusability in general

(C) All of the mentioned

(D) None of the mentioned

Submitted By: Ali Uppal


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

(A) Inheritance

(B) Composition

(C) All of the mentioned

(D) None of the mentioned

Submitted By: Ali Uppal