Code: 9F00505¢c
MCA V Semester Supplementary Examinations May 2019
--- Content provided by FirstRanker.com ---
DESIGN PATTERNS
(For 2009, 2010, 2011, 2012 (LC), 2013, 2014, 2015 & 2016 admitted batches only)
Time: 3 hours Max. Marks: 60
Answer any FIVE questions
All questions carry equal marks
--- Content provided by FirstRanker.com ---
-  (a) Draw the interaction diagram for the “SpellCheck” object. Using Smalltalk MVC code.
 (b) Explain the step-by-step approach for effectively applying an appropriate design pattern while solving object-oriented applications.
-  (a) Define a “Command” class with single abstract method called “Compute”. Create subclasses called “Add”, “Subtract”. Using aggregation show the relationship between these commands in a “Calculator”.
 (b) Explain about various ‘Look-and-Feel’ methods in user interface design.
-  (a) Discuss about the participants and collaborations of builder pattern.--- Content provided by FirstRanker.com --- (b) Which are the situations that support an object that can be used as a prototype?
-  (a) When do we need bridge pattern? List out consequences of its implementation.
 (b) Explain the design steps involved in using adapter pattern.
-  (a) Make a brief note on storage savings and-issues related to flyweight pattern.
 (b) Design a facade class called “Programming Environment” that defines operations such as inspectObject and inspectClass for accessing the browsers.
-  (a) Suppose the following grammar defines the regular expressions:
 Expression ::= literal | sequence | repetition | ‘(“ expression’)’
 Sequence ::= expression ‘&’ expression
 Repetition ::= expression *’
 Literal ::=a’ | ‘b’ |'c| ...{‘a’ | ‘b’ | ‘¢| ...}*--- Content provided by FirstRanker.com --- Using interpreter pattern implement the classes required for the above grammar rules.
 (b) Explain the iterator pattern for solving set of repeated tasks.
-  (a) Design a panel that generates user responses using observer pattern.
 (b) List out the advantages, disadvantages and features of memento pattern.
- Using visitor pattern, schematically explain the user interactions in a site. Apply the principles of state transitions for a online registration application.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUA M.Tech 2nd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)
--- Content provided by FirstRanker.com ---
