JNTU

JNTU B.Tech IV DESIGN PATTERNS Previous Question Paper (December - 2019 - R15)

B.Tech | IV | I | R15 | December - 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

Write brief notes on usage of design patterns.

2 marks

Answer

Design patterns are used to solve recurring software design problems by providing proven, reusable solutions. They improve communication among developers by establishing a common vocabulary, enhance code maintainability, and facilitate the creation of flexible, scalable architectures.

b

Discuss how to select a suitable design pattern.

3 marks

Answer

Selecting a pattern involves: 1) Analyzing the specific design problem and its constraints. 2) Reviewing the Intent section of candidate patterns to see if they address the problem. 3) Evaluating the Consequences and trade-offs of each pattern regarding flexibility, complexity, and performance to ensure it aligns with system requirements.

c

What is the applicability of builder patterns?

2 marks

Answer

Sign in to view the complete answer paper.

d

Discuss the structure of singleton pattern.

3 marks

Answer

Sign in to view the complete answer paper.

e

Write the structure of adapter pattern.

2 marks

Answer

Sign in to view the complete answer paper.

f

Write the sample code for bridge pattern.

3 marks

Answer

Sign in to view the complete answer paper.

g

Discuss the consequences of observer pattern.

2 marks

Answer

Sign in to view the complete answer paper.

h

Write implementation of Iterator pattern.

3 marks

Answer

Sign in to view the complete answer paper.

i

Write sample code for template method pattern.

2 marks

Answer

Sign in to view the complete answer paper.

j

Discuss the structure of visitor pattern.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

2

Discuss about design patterns in Smalltalk MVC.

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

What is a design pattern? Discuss how design patterns solve design problems.

10 marks

Answer

Sign in to view the complete answer paper.

4

What are the seven problems in Lexi’s user interface design? Explain them clearly.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

Describe the intent, motivation, structure and applicability of abstract factory pattern.

10 marks

Answer

Sign in to view the complete answer paper.

6

Explain the Intent, participants, consequences and implementation of decorator pattern.

10 marks

Answer

Sign in to view the complete answer paper.

OR
7

Discuss about structure, implementation sample code and known user of flyweight pattern.

10 marks

Answer

Sign in to view the complete answer paper.

8

Write the sample code; known user and related patterns for the claim of responsibility and mediator patterns.

10 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Discuss in detail about command pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write about the sample code for interpreter pattern.

5 marks

Answer

Sign in to view the complete answer paper.

10

Compare state and strategy patterns and implement strategy pattern.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain the history of design patterns.

6 marks

Answer

Sign in to view the complete answer paper.

b

What to expert from design patterns?

4 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DESIGN PATTERNS from JNTU for B.Tech IT IV I, December - 2019, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in DESIGN PATTERNS

Loading Question Papers

Fetching data from database...