www.alljntuworld.in JNTU World

PART – A (SHORT ANSWER QUESTIONS) S. No Question Blooms Course Taxonomy Level Outcome UNIT – I 1 Define design pattern. Knowledge 1 2 List the four elements of . Knowledge 1 3 Distinguish a class and an object. Analyze 2 4 Give an example for class structure. Understand 2 5 Sketch MVC architecture. Knowledge 3 6 State the meaning of a solution. Knowledge 2 7 Write the different sections of design patterns. Apply 1 8 Give the meaning of Intent. Understand 1 UNIT – II 1 Give the meaning of “WYSIWYG”. Understand 3 2 Define Lexi. Knowledge 3 3 Define an abstract class. Knowledge 3 JNTU4 Write the meaning of a document. WorldApply 4

1 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in) www.alljntuworld.in JNTU World

S. No Question Blooms Course Taxonomy Level Outcome 5 Differentiate compositor and composition. Analyze 4 6 Define formatting. Knowledge 4 7 Define an Iterator class. Knowledge 4 UNIT – III 1 Define creational patterns. Knowledge 5 2 List five types of creational patterns. Knowledge 5 3 Define abstract factory design pattern. Knowledge 4 4 Define . Knowledge 4 5 Give example of class diagram. Understand 4 6 Define structure and applicability of abstract factory method. Knowledge 4 UNIT – IV 1 Define structural patterns. Knowledge 5 2 List different types of structural patterns. Knowledge 6 3 Discuss the role of participants. Understand 6 4 Define . Knowledge 6 5 Define Intent and Consequences of bridge pattern. Knowledge 5 6 Define composite design pattern. Knowledge 5 7 Sketch the structure of . Knowledge 5 UNIT – V 1 Define . Knowledge 6 2 List the use of decorator pattern. Knowledge 5 3 Sketch the structure of decorator pattern. Knowledge 6 4 List the benefits of decorator pattern. Knowledge 6 5 Define Façade pattern. Knowledge 5 6 Sketch the structure of Façade pattern. 5 UNIT – VI 1 Define behavioral pattern. Knowledge 7 2 Define behavioral class pattern. Knowledge 7 3 Define behavioral object pattern. Knowledge 7 4 Define . Knowledge 7 5 Sketch sequence diagram for any example pattern. Knowledge 7 6 Sketch the structure of server in election commission. Knowledge 7 7 Define . Knowledge 7 UNIT – VII 1 Write the intentions of . Apply 6 2 Define mediator pattern. Knowledge 5 3 Sketch the structure of mediator pattern. Knowledge 5 4 Write the intent of . Apply 5 5 Define memento pattern. Knowledge 5 JNTU6 Sketch the structure of memento pattern. World Knowledge 6 UNIT – VIII

2 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in) www.alljntuworld.in JNTU World

S. No Question Blooms Course Taxonomy Level Outcome 1 Define the phrase “objects for states”. Knowledge 7 2 Define . Knowledge 7 3 Sketch the class diagram for TCP connection class. Knowledge 7 4 Sketch the structure of state pattern. Knowledge 7 5 List the situations where state pattern can be used. Knowledge 7 6 Define table driven approach. Knowledge 7

PART – B (LONGANSWER QUESTIONS)

Blooms Course S. No Question Taxonomy Level Outcome UNIT - I 1 List the advantages of design patterns. Write short notes on Knowledge 1 use of design patterns. 2 Discuss the MVC architecture in small talk. Understand 1 3 Explain how to describe design patterns. Understand 1 4 List the different sections of design patterns. Explain about Knowledge 1 them. 5 Name the patterns along with their intents that are included Apply 2 in the catalog of design patterns. 6 State and explain the classification of design patterns. knowledge 2 7 List the various ways of organizing the design patterns. Knowledge 2 8 Compare inheritance verses parameterized types. Evaluate 2 UNIT - II 1 Explain the process of recursive composition in building a Understand 3 document. 2 Explain in detail about the ‘Glyph’ abstract class. Understand 3 3 Discuss the goals and constraints in choosing an internal Understand 3 representation for a document. 4 Explain partial Glyph class hierarchy with a neat diagram. Understand 4 5 Explain composition and compositor class relationship with Understand 4 a neat diagram. 6 Define formatting. How can the textual analysis problem of Knowledge 4 document editor be solved using design patterns. 7 Discuss the two embellishments that can be added to Lexi’s Understand 4 user interface. Signify the role of decorator pattern in embellishment. 8 Explain about abstracting object creation in detail. Understand 4 UNIT - III 1 Memorize the useful techniques for implementing the Evaluate 3 . 2 Give the sample code for abstract factory design pattern. Understand 5 JNTU3 World5 Explain the implementation of abstract factory. Understand

3 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in) www.alljntuworld.in JNTU World

4 Discuss about structure, applicability, participants of Understand 5 abstract factory method. 5 Discuss the implementation issues of builder design pattern. Understand 5 6 Explain the structure of builder design pattern with class Understand 5 diagram and describe the collaboration with a sequence diagram. UNIT – IV 1 Describe the intent, motivation and applications of knowledge 6 composite patterns. 2 Discuss the importance of implementation in composite Understand 6 . 3 Give the intent, applicability and structure of composite Understand 6 design pattern and explain it. 4 Explain the structure of composite pattern with a class Understand 6 diagram. 5 Describe the consequences of composite design pattern. knowledge 6 6 Explain composite pattern with an example from drawing Understand 6 editor. UNIT – V 1 Explain the structure of decorator pattern with suitable Understand 7 example. 2 Explain the motivation for decorator method with relevant Understand 7 patterns. 3 Explain the structure of decorator design pattern with a Understand 7 class diagram. 4 Explain the structure of façade design pattern with class Understand 7 diagram and consequences. 5 Explain the consequences of flyweight method with its Understand 7 structure. 6 Explain structure of with suitable Understand 7 example. UNIT – VI 1 Explain the uses of command design pattern and its Understand structure with class diagram. Also explain the 6 implementation issues. 2 Explain the implementation and consequences of command Understand 6 pattern. 3 Explain the implementation issues of command pattern with Understand 6 sample code. 4 Explain the collaborations and consequences of command Understand 6 method. 5 Explain the interpreter design pattern and discuss the Understand 7 consequences and implementation issues. 6 Discuss the implementation issues of Iterator. Understand 7 JNTUUNIT World– VII 1 Explain the structure of mediator design pattern with a class Understand 5

4 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in) www.alljntuworld.in JNTU World

diagram and discuss the collaboration with a sequence diagram. 2 Discuss about intent, motivation, structure, applicability and Understand 5 consequences of a mediator behavioral pattern. 3 Explain the participants, collaborations, implementation and Understand 6 sample code of the mediator pattern. 4 Explain the known uses of memento method. Understand 6 5 Discuss the consequences and implementation issues of Understand 6 memento design pattern. 6 Explain the implementation issues of observer design Understand 6 pattern. UNIT – VIII 1 Explain how design patterns affect the way object-oriented Understand 7 software is designed. 2 Discuss the several ways the design pattern affect the way Understand 7 object-oriented software is designed. 3 Discuss design patterns as a supplement to the existing Understand 7 methods. 4 Discuss the history of design patterns. Understand 7 5 Differentiate Alexander’s patterns and Design patterns. Analyze 7 6 Write about the two ways of grouping the patterns Apply 7 according to .

PART – C (PROBLEM SOLVING AND CRITICAL THINKING QUESTIONS)

S. No Question Blooms Course Taxonomy Outcome Level 1 A reputed software company is developing CAD software. It Understand is required that the software should read licenses details, number of simultaneous users, permitted features etc., from a 2 configuration file with a specific syntax. Design the software with suitable design pattern and explain with a class diagram. Briefly discuss the consequences and implementation issues. 2 Discuss the following aspects of behavioral patterns briefly: Understand (i) Should communication be encapsulated or distributed. (ii) 4 Decoupling senders and receivers. 3 Write about (i) documentation and learning aid. (ii) Apply 5 Alexander’s pattern languages. JNTU World

5 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in) www.alljntuworld.in JNTU World

JNTU World

6 | P a g e

Downloaded From JNTU World (http://www.alljntuworld.in)