R13
Code No: 815BF
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA V Semester Examinations, January - 2018
--- Content provided by FirstRanker.com ---
DESIGN PATTERNSTime: 3 Hours
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Max. Marks: 60
--- Content provided by FirstRanker.com ---
Note: This question paper contains two parts A and B.
Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B
consists of 5 Units. Answer any one full question from each unit. Each question carries 8
--- Content provided by FirstRanker.com ---
marks and may have a, b, c as sub questions.--- Content provided by FirstRanker.com ---
PART - A
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
5 ? 4 Marks = 20
1.a)
--- Content provided by FirstRanker.com ---
The Gang of Four suggests a few strategies for creating good object-oriented designs. Whatare they?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]
b)
--- Content provided by FirstRanker.com ---
What is the intent of Abstract Factory pattern? Explain.--- Content provided by FirstRanker.com ---
[4]
--- Content provided by FirstRanker.com ---
c) What is Composite pattern? Give an example.--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]d) Under what conditions should an Observer pattern not be used? Explain.
[4]
--- Content provided by FirstRanker.com ---
e) Explain the brief history of Design patterns.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]
--- Content provided by FirstRanker.com ---
PART - B--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
5 ? 8 Marks = 40
--- Content provided by FirstRanker.com ---
2.
What is Design pattern? Explain the step by step approach to apply a design pattern
proficiently? Also write the structure of the design pattern template.
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
OR3.
List out different design patterns that are commonly used. Write the catalog of design
--- Content provided by FirstRanker.com ---
patterns and its organization. What are the criteria used to select them? Explain. [8]4.
--- Content provided by FirstRanker.com ---
What is creational pattern? Discuss about Singleton and Prototype patterns in detail.[8]OR
5.a)
--- Content provided by FirstRanker.com ---
Explain the functionality of operations that are accessed indirectly through user operations.
b)
--- Content provided by FirstRanker.com ---
Discuss about the implementation issues of Builder pattern.--- Content provided by FirstRanker.com ---
[8]
6.a)
--- Content provided by FirstRanker.com ---
Differentiate between adapter and bridge design pattern.
b)
--- Content provided by FirstRanker.com ---
What are the known uses of adapter structural pattern? Explain.[8]
--- Content provided by FirstRanker.com ---
OR
7.a)
--- Content provided by FirstRanker.com ---
Write about the language features that are exploited by Proxy pattern.b)
What are participants of flyweight pattern? Discuss about the consequences of
--- Content provided by FirstRanker.com ---
flyweight pattern.--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
8.
List out various behavioral patterns. Explain in detail about Chain of Responsibility and
command behavioral patterns.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
OR9.a)
What are the consequences of Mediator pattern? Explain.
--- Content provided by FirstRanker.com ---
b)
What are the issues to be considered while applying Memento pattern?
--- Content provided by FirstRanker.com ---
[4+4]
--- Content provided by FirstRanker.com ---
10.Write in detail about Strategy and Visitor behavioral Patterns.
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
OR11.a) Explain the consequences of Template Method patterns.
b) Write the implementation issues of State behavioral pattern.
--- Content provided by FirstRanker.com ---
[4+4]
--- Content provided by FirstRanker.com ---
---oo0oo---
--- Content provided by FirstRanker.com ---