UNIT I Introduction to Design Patterns

Similar documents
UNIT I Introduction to Design Patterns

INSTITUTE OF AERONAUTICAL ENGINEERING

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

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

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

Design Patterns: Structural and Behavioural

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

Object-Oriented Oriented Programming

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

Pro Objective-C Design Patterns for ios

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

Introduction to Software Engineering: Object Design I Reuse & Patterns

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

Using Design Patterns in Java Application Development

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

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

Applying Design Patterns to SCA Implementations

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

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

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

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

Design Pattern and Software Architecture: IV. Design Pattern

Object-oriented Software Design Patterns

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

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

CS/CE 2336 Computer Science II

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

Design Patterns. An introduction

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

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

Lecture 4: Observer Pattern, Event Library and Componentization

DESIGN PATTERN - INTERVIEW QUESTIONS

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

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

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

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

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

A Reconnaissance on Design Patterns

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

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

Exam in TDDB84: Design Patterns,

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

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

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

TDDB84. Lecture 2. fredag 6 september 13

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

Design Patterns. SE3A04 Tutorial. Jason Jaskolka

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

SWEN425 DESIGN PATTERNS

Design patterns. Jef De Smedt Beta VZW

Applying the Observer Design Pattern

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

Composite Pattern. IV.4 Structural Pattern

Brief Note on Design Pattern

Lectures 24 and 25 Introduction to Architectural Styles and Design Patterns

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

Design Patterns. GoF design patterns catalog

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

Object-Oriented Design

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

Design Patterns Revisited

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

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

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

Applying the Decorator Design Pattern

Department of Information Technology

DESIGN PATTERNS SURESH BABU M ASST PROFESSOR VJIT

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

Creational Design Patterns

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

Think of drawing/diagramming editors. ECE450 Software Engineering II. The problem. The Composite pattern

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

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

Overview of Patterns: Introduction

The GoF Design Patterns Reference

C++ for System Developers with Design Pattern

1 Software Architecture

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

A few important patterns and their connections

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

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

Software Development Project. Kazi Masudul Alam

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

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

Application Architectures, Design Patterns

Design Patterns! Acknowledgements!

Object Oriented Paradigm

Review Software Engineering October, 7, Adrian Iftene

CS251 Software Engineering Lectures 18: Intro to DP

Software Eningeering. Lecture 9 Design Patterns 2

WS01/02 - Design Pattern and Software Architecture

Design Patterns Reid Holmes

Design Patterns Lecture 2

Tuesday, October 4. Announcements

Chapter 8, Design Patterns Visitor

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar

Transcription:

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

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

UNIT III Creational Patterns 1. a) Which design pattern that encapsulates the knowledge of document subclass to create and moves that knowledge out of the framework? Explain it in detail. 5M b) What are the various implementation issues that should be considered while using the singleton Pattern? 5M 2. a) Explain sample code for abstract factory design pattern. 5M b) Explain Embellishing the user interface. 5M 3. a) List and explain the implementation issues of factory method. 5M b) Give brief description about the singleton creational pattern. 5M 4. a) Explain the role of creational patterns in design of a pattern. 5M b) Describe how we can separate the construction of complex objects from its representations. 5M 5. a) Explain creational patterns for abstract factory. 5M b) What is a singleton creational pattern? 5M 6. Describe the Builder & Design issues? 10M Design Patterns Page 3

UNIT IV Structural patterns part-i 1. a) In what way structural pattern differs from creational pattern? Explain in detail. 5M b) Draw and explain the structure of a composite pattern. 5M 2. a) Mention the uses and related patterns of bridge design pattern. 5M b) What is a bridge pattern? Explain the functions of each. 5M 3. a) What is the motivation for adapter pattern? Explain it in detail. 5M b) Explain the applicability and structure of a bridge design pattern. 5M 4. a) Why we are using the wrapper patterns? Draw and explain the structure of it. 5M b) List and explain the problems that are solved by the bridge pattern. 5M 5. What is a structural pattern? Explain composite design patterns. 10M Design Patterns Page 4

UNIT V Structural patterns part II 1. a) What is the motivation for the flyweight pattern? Explain in detail. 5M b) Mention the consequences and implementation issues of the flywheel pattern. 5M 2. a) What is a Proxy design pattern? 5M b) Explain Flyweight design pattern. 5M 3. a) Draw and explain the structure and object diagram for flyweight pattern. 5M b) Describe briefly about the implementation issues of a proxy pattern. 5M 4. a) Discuss about the consequences and implementation issues of a proxy pattern. 5M b) Write short notes on decorator pattern. 5M 5. a) Explain proxy design pattern. 5M b) What is a decorator design pattern? 5M 6. What is Decorator Design pattern? Explain with example? 10M Design Patterns Page 5

UNIT VI Behavioral patterns part-i 1. a) List and explain the implementation issues of a Iterator pattern. 5M b) How to avoid coupling the sender of request to its receiver? Explain it in detail. 5M 2. a) What is a Iterator design pattern? 5M b) Explain behavioral patterns for chain of responsibility pattern. 5M 3. a) Write short notes on chain of responsibility. 5M b) Explain the collaborations of a command pattern. 5M 4. a) Briefly explain about the issues that should be considered while implementing the chain of Responsibility pattern. 5M b) Discuss in detail about the applicability of a command pattern. 5M 5. a) Explain command design pattern. 5M b) Explain interpreter design pattern. 5M Design Patterns Page 6

UNIT VII Behavioral patterns part-ii 1. a) Explain the role of memento pattern in design of a particular pattern. 5M b) Write short notes on publish-subscribe pattern. 5M 2. a) Explain Memento pattern. 5M b) What is a Observer design pattern? 5M 3. a) Discuss in detail about the implementation issues of an observer pattern. 5M b) Draw and explain the interaction diagram for memento pattern. 5M 4. a) Which design pattern encourages the distribution behavior among objects? Explain. 5M b) Give brief description about the publish subscribe design pattern. 5M 5. a) Explain memento design pattern. 5M b) Explain mediator design pattern. 5M Design Patterns Page 7

UNIT VIII Behavioral patterns part III 1. a) Objects for state. 3M b) Benefits of strategy pattern. 2M c) Applicability of template method. 5M 2. What is a visitor pattern? Discussion about behavioral patterns. 10M 3. Explain in detail about the visitor object behavioral pattern. 10M 4. a) Decoupling sender and receiver. 3M b) Object as arguments to a pattern. 3M c) Implementation issues of visitor pattern. 4M 5. a) Explain template method design pattern. 5M b) What is a strategy? Explain strategy pattern. 5M Prepared by: P.Karthikeyan. Design Patterns Page 8