UNIT-I TUTORIAL QUESTIONS 1. Explain the Concept of Design Pattern? 2
Total Page:16
File Type:pdf, Size:1020Kb
UNIT-I TUTORIAL QUESTIONS 1. Explain the concept of design pattern? 2. Explain the advantages and disadvantages of structural patterns? 3. Explain proxy design pattern in detail? 4. Explain the concept of design pattern relationship? 5. Explain the state pattern in detail? UNIT-I UNIVERSITY QUESTIONS 1. Explain the template of a design pattern? 2. Explain the state pattern in detail? 3. Explain proxy design pattern in detail? 4. Explain the features of structural pattern? 5. Explain the concept of design pattern relationship? UNIT-I DESCRIPTIVE QUESTIONS 1. Explain the template of a design pattern? 2. Explain the state pattern in detail? 3. Explain proxy design pattern in detail? 4. Explain the features of structural pattern? 5. Explain the concept of design pattern relationship? UNIT-I ASSIGNMENT QUESTIONS 1. Explain the template of a design pattern? 2. Explain the state pattern in detail? 3. Explain proxy design pattern in detail? 4. Explain the features of structural pattern? 5. Explain the concept of design pattern relationship? UNIT-I OBJECTIVE QUESTIONS 1. A pattern in general refers to layout 2. A Design pattern can be considered as Reusable solution 3. The concept of design pattern was introduced by Christopher Alexander 4. Essential elements of D.P are Pattern Name,Problem,Solution,Consequences 5. Catalog consists of Abstract factory,Adapter,Bridge 6. Creation Patterns are Factory method, Builder, Prototype 7. Structural Patterns are Factory method, Builder, Prototype 8. Design Patterns specify Object implementation 9. Design Patterns specify Object Interfaces 10. Design Patterns specify Appropriate Objects UNIT-I SEMINAR TOPICS 1. Template of D.P 2. State Patterns 3. Proxy design pattern 4. Structural Pattern 5. Design Patterns Relationship NPTEL LINK: http://www.iitk.ac.in/Design Patterns-1/10610010065/Unit-1.ppt UNIT-I BLOOMS TAXONOMY(1) TOPIC : DESIGN PATTERNS 1. What is design Pattern? It is defined as reusable solution for commonly occurring problems in s/w design. It is a template to solve the problem in many solutions. 2. Explain essential elements of a D.P? Essential elements are (i). Pattern Name (ii). Problem (iii). Solution (iv). Consequences 3. Descibe the advantages of D.P? Advantages are 1. Pattern name 2. Intent 3. Motivation 4. Application 5. Structure 6. Participants 7. Collaboration 8. Consequences 9. Sample Code UNIT-I BLOOMS TAXONOMY(2) TOPIC : CATALOG OF DESIGN PATTERNS 1. What is meant by catalog of D.P? Design patterns are organized into a form of catalog 2. Describe catalog in D.P? Abstract Factory Adapter Bridge Builder Chain of responsibility Command Composite Decorator 3. Analyze the catalog? Creational Structural Behavioral Class Factory Method Adapter Template Method Object Abstract Factory Adapter Chain of responsibility UNIT-II TUTORIAL QUESTIONS 1. Explain the Concept of Document formatting? 2. Explain the Concept of multiple window? 3. Explain the Concept of Behavioral pattern? 4. Explain the Concept of Creational pattern? 5. Explain the Concept of user interface? UNIT-II UNIVERSITY QUESTIONS 1. Explain the Concept of Document Editor? 2. Explain the Concept of Functioning? 3. Explain the Concept of Embellishing user interface? 4. Explain the Concept of Spell checking and hyphenation? 5. Explain the Concept of multiple window system? UNIT-II DESCRIPTIVE QUESTIONS 6. Explain the Concept of Document Editor? 7. Explain the Concept of Functioning? 8. Explain the Concept of Embellishing user interface? 9. Explain the Concept of Spell checking and hyphenation? 10. Explain the Concept of multiple window system? UNIT-II OBJECTIVE QUESTIONS 1. Lexi isWYSIWYG document editor 2. A Document is an ordered collection of various graphical elements. 3. Table structure consists of rows and columns. 4. Recursive composition is the process of building large & complex elements. 5. The objective structure of recursive composition consists of characters. 6. Glyph is a class developed as Abstract class 7. Construction of a particular physical structure is called formatting . 8. The code for formatting algorithm arecomplete and separate form 9. Glyph are created for forecasting document and inserted by components. 10. Inheritenceis used to add new boarders to a graph. UNIT-II SEMINAR TOPICS 1. Document structure 2. Formatting 3. Multiple look & feel standard 4. Multiple window systems 5. Operation of D.P UNIT-II ASSIGNMENT QUESTIONS 1. Explain the concept of document structure? 2. Explain the Concept of Functioning? 3. Explain the Concept of Embellishing user interface? 4. Explain the Concept of Spell checking and hyphenation? 5. Explain the Concept of multiple window system? NPTEL: http://www.iitk.ac.in/10061010615/unit-2.txt BLOOMS TAXONOMY: Document writer: Explain Document writer? Document writer consists of Structure of document, formatting user interface. Describe document writer design? Document structure Goals Constraints Recursive composition Analyze document writer? composite \ composite row row space space space BLOOMS TAXONOMY(2) Topic: Glyphs Define Glyphs? Glyphs are defined as an abstract class which includes structural elements such as rows and columns. Explain Glyphs? Contains functions and objects Dependency is allowed. Describe Glyphs with diagrams? Glyphs Character Rectangle Polygon Row UNIT-III TUTORIAL QUESTIONS 1. Explain structural pattern in detail? 2. Explain Adapter pattern in detail? 3. Explain Bridge pattern in detail? 4. Explain Composite pattern in detail? 5. Explain about sample code for Adaptor composite,Bridge pattern? UNIT-III UNIVERSITY QUESTIONS 1. Explain structural pattern in detail? 2. Explain Adapter pattern in detail? 3. Explain Bridge pattern in detail? 4. Explain Composite pattern in detail? 5. Explain about sample code for Adaptor composite, Bridge pattern UNIT-III DESCRIPTIVE QUESTIONS 1. Explain structural pattern in detail? 2. Explain Adapter pattern in detail? 3. Explain Bridge pattern in detail? 4. Explain Composite pattern in detail? 5. Explain about sample code for Adaptor composite, Bridge pattern UNIT-III OBJECTIVE TYPE QUESTIUONS 1. Structural patterns describesclass and objects 2. Adapter is used for converting proxy interface of one class into an other class. 3. Tool kit is used for adapter. 4. Participants are target, client, adapter 5. Tool kit is used in Adapter pattern 6. Adapter pattern is used for converting prog.interface of one class to another class 7. Sample code for cshape, ctextview, ctext shape 8. It is also known as body/ Handle 9. Bridge is used to separate the abstraction 10. Portable window abstraction is user interface. UNIT-III SEMINAR TOPICS 1. Adapter 2. Bridge 3. Composite 4. Decorator 5. Facade UNIT-III ASSIGNMENT QUESTIONS 1. Explain structural pattern in detail? 2. Explain Adapter pattern in detail? 3. Explain Bridge pattern in detail? 4. Explain Composite pattern in detail? 5. Explain about sample code for Adaptor composite, Bridge pattern NPTEL: www.iitk.ac.in/1006106815/unit-3.ppt BLOOMS TAXONOMY Topic: Facade Pattern 1. Define Facade Pattern It is defined as unified interface to a set of interfaces in a subsystem. 2. Apply Facade pattern to real time 3. Categorize Facade Pattern? It is categorized into (i). Flyweight Pattern (ii). Facade (iii). Adapter. UNIT-IV TUTORIAL QUESTIONS 1. Discuss about Abstract factory? 2. Discuss about Builder method? 3. Discuss about Factory method? 4. Discuss about prototype method? 5. Discuss about singleton method? UNIT-IV UNIVERSITY QUESTIONS 1. Discuss about Abstract factory? 2. Discuss about binding pattern? 3. Discuss about load factory pattern? 4. Discuss about structural patterns? 5. Discuss aboutBehavioral patterns? UNIT-IV DESCRIPTIVE QUESTIONS 1. Discuss about Abstract factory? 2. Discuss about Builder method? 3. Discuss about Factory method? 4. Discuss about prototype method? 5. Discuss about singleton method? UNIT-IV SEMINAR TOPICS 1. Abstract Factory 2. Builder 3. Factory Method 4. Prototype 5. Singleton NPTEL: http://www.iitk.ac.in/unit-4/1061006105/unit-4.ppt UNIT-V TUTORIAL QUESTIONS 1. Discuss about Abstract factory? 2. Discuss about Builder method? 3. Discuss about Factory method? 4. Discuss about prototype method? 5. Discuss about Singleton method? UNIT-V UNIVERSITY QUESTIONS 1. Explain structural patterns in detail? 2. Explain Adapter class in detail? 3. Explain Bridge pattern in detail? 4. Explain Composite pattern in detail? 5. Explain sample code for Adapter, composite, bridge patterns? UNIT-V DESCRIPTIVE QUESTIONS 1. Discuss about Abstract factory? 2. Discuss about Builder method? 3. Discuss about Factory method? 4. Discuss about prototype method? 5. Discuss about Singleton method? UNIT-V OBJECTIVE QUESTIONS 1. A pattern in general refers to Layout 2. A design pattern can be considered as reusable solution 3. The concept of D.P was introduced by Alexander 4. Essential elements of D.P arepattern name, pattern solution, Consequences 5. Catalog consists of Abstract factory, Adapter, Bridge 6. Creation patterns are Factory method, Builder, Prototype 7. Structural patterns are design patterns 8. Design patterns specify Object implementation 9. Design patterns specify Object interfaces 10. Design patterns specify appropriate object UNIT-V SEMINAR TOPICS 1. Abstact factory 2. Builder 3. Factory Method 4. Prototype 5. Singleton UNIT-V ASSIGNMENT QUESTIONS 1. Discuss about Abstract Factory? 2. Discuss about Factory Method? 3. Discuss about Bridge pattern? 4. Discuss about Builder method? 5. Discuss about various patterns? NPTEL: http://www.iitk.ac.in/dp-5/10610010065/unit-5.ppt UNIT-V BLOOMS TAXONOMY 1. What is Design Pattern? It is defined as reusable solution for commonly occurring problems in software design. 2. Explain essential elements in design patterns? Pattern Name Problem Solution Consequences 3. Describe the advantages of Design pattern? Advantages are Pqattern name Intent Motivation Application Structure Participants .