JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV DESIGN PATTERNS Previous Question Paper (May/June - 2019 - R15)

B.Tech | IV | I | R15 | May/June - 2019

Answer PaperPaper Code: 127CFMaximum Marks: 75Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

PART A

125 marks
a

What is a Design Pattern? Explain.

2 marks

Answer

A design pattern is a reusable solution to a commonly occurring problem in software design within a given context. It describes a proven approach to structuring classes and objects to solve a specific design challenge, serving as a template rather than a finished piece of code.

b

What are the three categories of design patterns?

3 marks

Answer

The three categories of design patterns are:

  • Creational Patterns: Deal with object creation mechanisms, trying to create objects in a manner suitable to the situation.
  • Structural Patterns: Deal with object composition, creating relationships between classes or objects to form larger structures.
  • Behavioral Patterns: Deal with communication between objects, defining how objects interact and distribute responsibilities.
c

List out some problems associated in designing a document editor.

2 marks

Answer

Sign in to view the complete answer paper.

d

What is the benefit of Factory pattern?

3 marks

Answer

Sign in to view the complete answer paper.

e

What is the intent of the Adapter pattern?

2 marks

Answer

Sign in to view the complete answer paper.

f

Explain what is Composite pattern?

3 marks

Answer

Sign in to view the complete answer paper.

g

What are the consequences of mediator pattern?

2 marks

Answer

Sign in to view the complete answer paper.

h

What is the intent of the Observer pattern?

3 marks

Answer

Sign in to view the complete answer paper.

i

Write the purpose of behavioral patterns.

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the five errors in using design patterns?

3 marks

Answer

Sign in to view the complete answer paper.

PART B

210 marks
a

What are three reasons for studying design patterns?

5 marks

Answer

Sign in to view the complete answer paper.

b

What is the relationship between "consequence" and "forces" in a pattern?

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What are the key elements in the description of a design pattern?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain how design patterns solve design problems.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Write about the functionality of operations that are accessed indirectly through user operations.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the implementation issues that are to be considered for builder pattern?

5 marks

Answer

Sign in to view the complete answer paper.

OR
5

What are the benefits of Singleton pattern? Discuss the implementation issues of singleton pattern in detail.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What is the basic problem being solved by the Bridge pattern? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

The Façade pattern and the Adapter pattern may seem similar. What is the essential difference between the two? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

What are two classic examples of decorators? How does the Decorator pattern help to decompose the problem?

5 marks

Answer

Sign in to view the complete answer paper.

b

Why are the Bridge and Decorator patterns more correctly classified as structural rather than behavioral patterns?

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Discuss about the structure and participants of Interpreter pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the implementation issues to be considered in Chain of Responsibility pattern? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain in detail about the applicability and structure of Command pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the implementation issues of Memento pattern.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write about the benefits and liabilities of the Visitor pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the difference between the Strategy pattern and the Template Method pattern?

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Describe in detail about the structure and participants of Strategy design pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write about the implementation issues of State Behavioral pattern.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of DESIGN PATTERNS from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT IV I, May/June - 2019, R15.

For the question paper without answers, switch to the Question Paper tab.

Other papers in DESIGN PATTERNS

Loading Question Papers

Fetching data from database...