UNIT I Introduction to Design Patterns

Similar documents
UNIT I Introduction to Design Patterns

INSTITUTE OF AERONAUTICAL ENGINEERING

R07. IV B.Tech. II Semester Supplementary Examinations, July, 2011

design patterns FOR B.tech (jntu - hyderabad & kakinada) (IV/I - CSE AND IV/II - IT) CONTENTS 1.1 INTRODUCTION TO DESIGN PATTERNS TTERNS... TTERN?...

SDC Design patterns GoF

Design Pattern. CMPSC 487 Lecture 10 Topics: Design Patterns: Elements of Reusable Object-Oriented Software (Gamma, et al.)

SYLLABUS CHAPTER - 1 [SOFTWARE REUSE SUCCESS FACTORS] Reuse Driven Software Engineering is a Business

Ingegneria del Software Corso di Laurea in Informatica per il Management. Design Patterns part 1

Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout

Object-Oriented Oriented Programming

UNIT-I. Introduction, Architectural Styles, Shared Information Systems

Design Patterns: Structural and Behavioural

Introduction to Software Engineering: Object Design I Reuse & Patterns

Design Patterns. Observations. Electrical Engineering Patterns. Mechanical Engineering Patterns

LECTURE NOTES ON DESIGN PATTERNS MCA III YEAR, V SEMESTER (JNTUA-R09)

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 6: Design Patterns

UP Requirements. Software Design - Dr Eitan Hadar (c) Activities of greater emphasis in this book. UP Workflows. Business Modeling.

Applying Design Patterns to SCA Implementations

Design Patterns. An introduction

CSCI 253. Overview. The Elements of a Design Pattern. George Blankenship 1. Object Oriented Design: Iterator Pattern George Blankenship

Using Design Patterns in Java Application Development

Produced by. Design Patterns. MSc in Communications Software. Eamonn de Leastar

Design Patterns. Manuel Mastrofini. Systems Engineering and Web Services. University of Rome Tor Vergata June 2011

Topics. Software Process. Agile. Requirements. Basic Design. Modular Design. Design Patterns. Testing. Quality. Refactoring.

CS/CE 2336 Computer Science II

The Strategy Pattern Design Principle: Design Principle: Design Principle:

Design Pattern What is a Design Pattern? Design Pattern Elements. Almas Ansari Page 1

MVC. Model-View-Controller. Design Patterns. Certain programs reuse the same basic structure or set of ideas

Lecture 4: Observer Pattern, Event Library and Componentization

Object-oriented Software Design Patterns

Pro Objective-C Design Patterns for ios

Design Patterns. Dr. Rania Khairy. Software Engineering and Development Tool

Software Design COSC 4353/6353 D R. R A J S I N G H

OODP Session 4. Web Page: Visiting Hours: Tuesday 17:00 to 19:00

SWEN425 DESIGN PATTERNS

Keywords: Abstract Factory, Singleton, Factory Method, Prototype, Builder, Composite, Flyweight, Decorator.

Design Patterns. Hausi A. Müller University of Victoria. Software Architecture Course Spring 2000

A Reconnaissance on Design Patterns

DESIGN PATTERN - INTERVIEW QUESTIONS

Design Pattern and Software Architecture: IV. Design Pattern

Overview CS Kinds of Patterns. Design Pattern. Factory Pattern Rationale. Kinds of Factory Patterns

TDDB84. Lecture 2. fredag 6 september 13

Object Oriented Methods with UML. Introduction to Design Patterns- Lecture 8

Ownership in Design Patterns. Master's Thesis Final Presentation Stefan Nägeli

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

TDDB84: Lecture 6. Adapter, Bridge, Observer, Chain of Responsibility, Memento, Command. fredag 4 oktober 13

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Ingegneria del Software Corso di Laurea in Informatica per il Management. Design Patterns part 1

Socket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently.

CSCD01 Engineering Large Software Systems. Design Patterns. Joe Bettridge. Winter With thanks to Anya Tafliovich

C++ for System Developers with Design Pattern

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

Slide 1. Design Patterns. Prof. Mirco Tribastone, Ph.D

Lectures 24 and 25 Introduction to Architectural Styles and Design Patterns

CSCI 253. Overview. The Elements of a Design Pattern. George Blankenship 1. Object Oriented Design: Template Method Pattern. George Blankenship

Design Patterns. SE3A04 Tutorial. Jason Jaskolka

Design patterns. Jef De Smedt Beta VZW

Produced by. Design Patterns. MSc in Communications Software. Eamonn de Leastar

Applying the Observer Design Pattern

COSC 3351 Software Design. Design Patterns Behavioral Patterns (I)

Idioms and Design Patterns. Martin Skogevall IDE, Mälardalen University

COSC 3351 Software Design. Design Patterns Structural Patterns (I)

Software Design Patterns. Background 1. Background 2. Jonathan I. Maletic, Ph.D.

Overview of Patterns: Introduction

CSCI Object Oriented Design: Frameworks and Design Patterns George Blankenship. Frameworks and Design George Blankenship 1

Brief Note on Design Pattern

Composite Pattern. IV.4 Structural Pattern

Software Development Project. Kazi Masudul Alam

Software Engineering I (02161)

A Case Study of Gang of Four (GoF) Patterns: Part 3

Department of Information Technology

Applying the Decorator Design Pattern

Design Patterns. GoF design patterns catalog

Design Patterns Revisited

DESIGN PATTERNS SURESH BABU M ASST PROFESSOR VJIT

Chapter 8, Design Patterns Visitor

Writing your own Java I/O Decorator p. 102 Tools for your Design Toolbox p. 105 Exercise Solutions p. 106 The Factory Pattern Baking with OO

Software Eningeering. Lecture 9 Design Patterns 2

Tuesday, October 4. Announcements

CSCD01 Engineering Large Software Systems. Design Patterns. Joe Bettridge. Winter With thanks to Anya Tafliovich

CS560. Lecture: Design Patterns II Includes slides by E. Gamma et al., 1995

Design Patterns Lecture 2

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

CS251 Software Engineering Lectures 18: Intro to DP

A few important patterns and their connections

Plan. A few important patterns and their connections. Singleton. Singleton: class diagram. Singleton Factory method Facade

A Metric of the Relative Abstraction Level of Software Patterns

1 Software Architecture

Material and some slide content from: - GoF Design Patterns Book. Design Patterns #1. Reid Holmes. Lecture 11 - Tuesday October

CSSE 374: More Object Design with Gang of Four Design Patterns

Lecture 20: Design Patterns II

Extensibility Design Patterns From The Initial Stage of Application Life-Cycle

Introduction and History

Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout

Design Patterns. CSE870: Advanced Software Engineering (Design Patterns): Cheng

A Metric for Measuring the Abstraction Level of Design Patterns

Creational Design Patterns

Review Software Engineering October, 7, Adrian Iftene

Design Patterns! Acknowledgements!

Exam in TDDB84: Design Patterns,

Transcription:

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : Design Patterns (16MC842) Year & Sem: III-MCA I-Sem Course : MCA Regulation: R16 UNIT I Introduction to Design Patterns 1. a) Distinguish between object oriented software and design pattern. 6M b) Give brief description about the object implementations. 6M 2. a) What is design pattern? 6M b) Explain design patterns in Smalltalk MVC. 6M 3. a) Describe in detail about the essential elements of the design pattern. 6M b) Describe the design patterns using a consistent format. 6M 4. a) Explain the role of pattern elements in design of a particular problem. 6M b) Describe how to use the design patterns. 6M 5. What is a catalog? Explain catalog pattern. 12M 6. What is Design pattern? How it support to develop the applications? 12M 7. Explain details about Catalog of Design pattern & organizing the Design pattern? 12M 8. How to Design pattern i) Solve the design problem & Select the design pattern 6M ii) Use a design pattern. 6M Design Patterns (16MC842) Page 1

UNIT II Design Patterns Case study 1. a) Write and explain the various components present in the document structure. 6M b) What is meant by intersection of functionality and union of functionality? Explain. 6M 2. a) Explain the supporting Multiple Window Systems. 6M b) Explain the Embellishing the user interface. 6M 3. a) Explain the various problems associated with Lexi s design. 6M b) Describe the monoglyph in detail. 6M 4. What is Lexi? List and explain the various problems that are associated with it. Describe about the Hyphenation. 12M 5. a) What is a design problem? Explain document structure. 6M b) Explain supporting and multiple look-and-feel standards. 6M 6. What are considered to Design the application? i) User Operations Spelling Checking 6M ii) Hyphenation. 6M 7. Consider any application of Case study? How to support the Document editor design patterns?12m 8. Write short notes on Design a Document editor? 12M Design Patterns (16MC842) Page 2

UNIT III Creational Patterns 1. Explain details about the prototype design pattern 12M 2. Explain abstract factory design pattern. 12M 3. a) List and explain the implementation issues of factory method. 6M b) Give brief description about the singleton creational pattern. 6M 4. a) Explain the role of creational patterns in design of a pattern. 6M b) Describe details about the prototype design patterns. 6M 5. a) Explain creational patterns for abstract factory. 6M b) What is a singleton creational pattern? 6M 6. Describe the Builder Design pattern? 12M Design Patterns (16MC842) Page 3

UNIT IV Structural patterns 1. a) In what way structural pattern differs from creational pattern? Explain in detail. 6M b) Draw and explain the structure of a composite pattern. 6M 2. a) Mention the uses and related patterns of bridge design pattern. 6M b) What is a bridge pattern? Explain the functions of each. 6M 3. a) What is the motivation for adapter pattern? Explain it in detail. 6M b) Explain the applicability and structure of a bridge design pattern. 6M 4. a) Why we are using the wrapper patterns? Draw and explain the structure of it. 6M b) List and explain the problems that are solved by the bridge pattern. 6M 5. What is a structural pattern? Explain composite design patterns. 12M 6. a) What is the motivation for the flyweight pattern? Explain in detail. 6M b) Mention the consequences and implementation issues of the façade design pattern. 6M 7. a) What is a Proxy design pattern? 6M b) Explain Flyweight design pattern. 6M 8. a) Draw and explain the structure and object diagram for flyweight pattern. 6M b) Describe briefly about the implementation issues of a proxy pattern. 6M 9. a) Discuss about the consequences and implementation issues of a proxy pattern. 6M b) Write short notes on decorator pattern. 6M 10. What is Decorator Design pattern? Explain with example? 12M Design Patterns (16MC842) Page 4

UNIT V Behavioral patterns 1. a) List and explain the implementation issues of a Iterator pattern. 6M b) How to avoid coupling the sender of request to its receiver? Explain it in detail. 6M 2. a) What is a Iterator design pattern? 6M b) Explain behavioral patterns for chain of responsibility pattern. 6M 3. a) Write short notes on chain of responsibility. 6M b) Explain the collaborations of a command pattern. 6M 4. a) Briefly explain about the issues that should be considered while implementing the chain of Responsibility pattern. 6M b) Discuss in detail about the applicability of a command pattern. 6M 5. a) Explain command design pattern. 6M b) Explain interpreter design pattern. 6M 6. Explain the role of memento pattern in design of a particular pattern. 12M 7. a) Explain Memento pattern. 6M b) What is a Observer design pattern? 6M 8. a) Discuss in detail about the implementation issues of an observer pattern. 6M b) Draw and explain the interaction diagram for memento pattern. 6M 9. a) Which design pattern encourages the distribution behavior among objects? Explain. 6M b) Give brief description about the publish subscribe design pattern. 6M 10. a) Explain memento design pattern. 6M b) Explain mediator design pattern. 6M 11. a) Objects for state & Benefits of strategy design pattern. 6M b) Applicability of template method. 6M 12. What is a visitor pattern? Discussion about behavioral patterns. 12M 13. Explain in detail about the visitor object behavioral pattern. 12M 14. a) Decoupling sender and receiver. 6M b) Implementation issues of visitor pattern. 6M 15. a) Explain template method design pattern. 6M b) What is a strategy? Explain strategy pattern. 6M Design Patterns (16MC842) Page 5

Design Patterns (16MC842) Page 6