R13
Code No: 815BF
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABADMCA V Semester Examinations, June/July - 2018
DESIGN PATTERNS
--- Content provided by FirstRanker.com ---
Time: 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
--- Content provided by FirstRanker.com ---
consists of 5 Units. Answer any one full question from each unit. Each question carries8 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 = 201.a)
--- Content provided by FirstRanker.com ---
Discuss the significance of the design patterns.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]
b) Explain about the features and usage of builder pattern.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]
c) Write brief notes on proxy pattern.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]d) Compare Interator and Interpreter patterns.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[4]
e) Write brief notes on strategy pattern.
--- Content provided by FirstRanker.com ---
--- 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.
How to use a design pattern? Explain with a suitable example.
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
OR
3.
--- Content provided by FirstRanker.com ---
Explain the catalog of design patterns.--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
4.
Discuss how design patterns can be used for designing a document editor.
--- Content provided by FirstRanker.com ---
[8]OR
5.
--- Content provided by FirstRanker.com ---
Explain about abstract factory and factory method patterns.
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
6.Write the source code, implementation and uses of decorator pattern with a suitable
example.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
OR7.
Explain the usage of adapter and bridge patterns with a suitable example.
--- Content provided by FirstRanker.com ---
[8]
--- Content provided by FirstRanker.com ---
8.Discuss the implementation of chain of responsibility pattern and explain its usage with
suitable example.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
OR
--- Content provided by FirstRanker.com ---
9.Discuss in detail about mediator and memento patterns.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]10.
--- Content provided by FirstRanker.com ---
What are the considerations and expectations from design patterns? Discuss about visitor
pattern.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
[8]
OR
--- Content provided by FirstRanker.com ---
11.
Discuss about pattern community. Explain about template method pattern.
--- Content provided by FirstRanker.com ---
[8]---oo0oo---
--- Content provided by FirstRanker.com ---