Design Pattern MCQ Questions & Answers

Design Pattern MCQs : This section focuses on "Basics" of Design Pattern. These Multiple Choice Questions (MCQ) should be practiced to improve the Design Pattern skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. ___________ represent the best practices used by experienced object-oriented software developers.

A. EB2
B. IMS
C. Design Patterns
D. JCL

View Answer


2. GOF stands for ?

A. Gamma of four
B. Gang of four
C. Gang of helm
D. Gamma of helm

View Answer


3. Design patterns can be classified in _______ categories.

A. 1
B. 2
C. 3
D. 4

View Answer


4. Which design patterns are specifically concerned with communication between objects?

A. Creational Patterns
B. Structural Patterns
C. Behavioral Patterns
D. J2EE Patterns

View Answer


5. Which pattern are identified by Sun Java Center?

A. Factory pattern
B. Abstract Factory pattern
C. Behavioral Patterns
D. J2EE Patterns

View Answer


6. Factory pattern is one of most used design pattern in Java.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


7. In how many steps Singleton class in java created?

A. 1
B. 2
C. 3
D. 4

View Answer


8. _________ works as a bridge between two incompatible interfaces.

A. Prototype pattern
B. Adapter pattern
C. Bridge pattern
D. Filter pattern

View Answer


9. Filter pattern also known as?

A. Adapter pattern
B. Composite pattern
C. Filter pattern
D. Decorator pattern

View Answer


10. Can we create a clone of a singleton object?

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.