FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download JNTUH MCA 5th Sem R13 2019 April-May 815BF Design Patterns Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 5th Sem (Fifth Semester) Regulation-R13 2019 April-May 815BF Design Patterns Previous Question Paper

This post was last modified on 17 March 2023




R13

--- Content provided by FirstRanker.com ---

Code No: 815BF

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA V Semester Examinations, April/May - 2019

--- Content provided by FirstRanker.com ---


DESIGN PATTERNS

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
consists of 5 Units. Answer any one full question from each unit. Each question carries

--- Content provided by FirstRanker.com ---

8 marks and may have a, b, c as sub questions.



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

--- Content provided by FirstRanker.com ---


1.a) How to select a design pattern? Explain.



--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---




[4]

--- Content provided by FirstRanker.com ---

b) What are design problems in Lexi's design? Explain.




--- Content provided by FirstRanker.com ---




[4]

--- Content provided by FirstRanker.com ---

c) What are known uses of Proxy and Decorator?




--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---

[4]

d) Describe implementation of Cursor.


--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---





[4]

--- Content provided by FirstRanker.com ---


e) Write brief discussion on behavioral 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 ---






--- Content provided by FirstRanker.com ---

5 ? 8 Marks = 40



2.a)

--- Content provided by FirstRanker.com ---


Explain the following phrases: i) Programming to an interface not an implementation
ii) Favor object composition over class inheritance.

b)

--- Content provided by FirstRanker.com ---


How design patterns solve design problems?



--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---


[4+4]

OR

--- Content provided by FirstRanker.com ---

3.a)

Explain the catalog of design patterns.

b)

--- Content provided by FirstRanker.com ---


Discuss about design patterns in Smalltalk MVC with example.



--- Content provided by FirstRanker.com ---

[4+4]



4.a)

--- Content provided by FirstRanker.com ---


Describe structures of Builder and Prototype.

b)

--- Content provided by FirstRanker.com ---

Discuss about user operations in Lexi's design.




--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---

[4+4]

OR

5.a)

--- Content provided by FirstRanker.com ---


Explain motivations of Abstract Factory and Factory Method.

b)

--- Content provided by FirstRanker.com ---

Discuss about supporting multiple window systems.




--- Content provided by FirstRanker.com ---




[4+4]

--- Content provided by FirstRanker.com ---


6.a)

Describe motivations of Proxy and Decorator.

--- Content provided by FirstRanker.com ---

b)

Write and explain the sample code of Flyweight.


--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---

[4+4]

OR

7.a)

--- Content provided by FirstRanker.com ---


What are advantages of Bridge pattern? Explain about its implementation.

b)

--- Content provided by FirstRanker.com ---

Briefly explain about Facade pattern.




--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---



[4+4]


--- Content provided by FirstRanker.com ---

8.a)

Discuss about implementation of Iterator.

b)

--- Content provided by FirstRanker.com ---


Explain in detail about Command pattern.



--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---


[4+4]

OR

--- Content provided by FirstRanker.com ---

9.a)

Describe structures of Memento and Mediator.

b)

--- Content provided by FirstRanker.com ---


Write and explain about sample code of Interpreter.



--- Content provided by FirstRanker.com ---





[4+4]

--- Content provided by FirstRanker.com ---



10.a) Explain about motivation and implementation of Strategy.
b) Discuss in detail about Template Method.

--- Content provided by FirstRanker.com ---






--- Content provided by FirstRanker.com ---




[4+4]

--- Content provided by FirstRanker.com ---

OR

11.

Write history of design patterns. What to expect from design patterns? Explain. [8]

--- Content provided by FirstRanker.com ---




---ooOoo---

--- Content provided by FirstRanker.com ---