

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Course: Design Patterns (3481) Semester: Spring, 2012
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?
Total Marks: 100 Pass Marks: 40
Note: All questions carry equal marks.
Q. 1 How design patterns are different from programming idioms? Explain with examples.
Q. 2 What basic problem is solved by the Bridge pattern? Are there any consequences of the Bridge pattern?
Q. 3 What is the most common use for the Adapter pattern? How does it help to deal with the interfaces of existing classes?
Q. 4 What is meant by chain of responsibility? Discuss in the context of behavioural pattern.
Q. 5 Design patterns, architecture styles and frameworks are all very similar. How do each of these techniques compare in terms of the type of reuse they enable?
Recommended Book: Design Patterns Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson and John Vissides
Course Outlines: Unit–1: Introduction Introduction, Describing Design Patterns, The Catalog of Design Patterns, Organizing the Catalog, How Design Patterns Solve Design Problems, Selecting a Design Pattern, Use of Design Pattern
Unit–2: Creational Patterns–I Abstract Factory, Builder, Factory Method
Unit–3: Creational Patterns–II Prototype, Singleton, Discussion of Creational Patterns
Unit–4: Structural Pattern–I Adapter, Bridge, Composite, Decorator, Façade
Unit–5: Structural Pattern–II Flyweight, Proxy, Discussion of Structural Patterns
Unit–6: Behavioral Patterns–I Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy
Unit–7: Behavioral Patterns–II Template Method, Visitor, Discussion of Behavioral Patterns What to Expect from Design Patterns, A Brief History, The Pattern Community, An Invitation, A Parting Thought
Unit–8: A Case Study: Designing a Document Editor–I Design Problems, Document Structure, Formatting, Embellishing the User Interface, Supporting Multiple Look-and-Feel Standards
Unit–9: A Case Study: Designing a Document Editor–II Supporting Multiple Window Systems, User Operations, Spelling Checking, Hyphenation, Summary