Abstract Factory-Design Patterns-Assignment, Exercises of Design Patterns

This is assignment for Design Patterns course. It was assigned by Sukeshi Dwivedi at Bengal Engineering and Science University. It includes: Pattern, Catalogue, Design, Abstract, Factory, Strategies, Dependent, Concrete, Classes, Singleton, Flyweight

Typology: Exercises

2011/2012

Uploaded on 07/19/2012

amrapali
amrapali 🇮🇳

4.6

(8)

87 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT No. 1
Note: All questions carry equal marks.
Q. 1 What is a pattern? Where does the term „pattern‟ come from?
Q. 2 Explain the concept of catalogue of design pattern. How the catalogue is organized?
Q. 3 Why creational pattern is called “Abstract Factory”? What are the three key strategies in the
Abstract Factory?
Q. 4 The Abstract Factory pattern is to “provide an interface for creating families of related or dependent
objects without specifying their concrete classes.” What does this mean? Give an example.
Q. 5 Are the Singleton and the Flyweight pattern related? If yes, how? If not, why?
docsity.com

Partial preview of the text

Download Abstract Factory-Design Patterns-Assignment and more Exercises Design Patterns in PDF only on Docsity!

ASSIGNMENT No. 1

Note: All questions carry equal marks.

Q. 1 What is a pattern? Where does the term „pattern‟ come from?

Q. 2 Explain the concept of catalogue of design pattern. How the catalogue is organized?

Q. 3 Why creational pattern is called “Abstract Factory”? What are the three key strategies in the Abstract Factory?

Q. 4 The Abstract Factory pattern is to “provide an interface for creating families of related or dependent objects without specifying their concrete classes.” What does this mean? Give an example.

Q. 5 Are the Singleton and the Flyweight pattern related? If yes, how? If not, why?

docsity.com