JNTU

JNTU B.Tech III DESIGN PATTERNS Previous Question Paper (August/September - 2024 - R16)

B.Tech | III | II | R16 | August/September - 2024

Answer PaperPaper Code: 136BCMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

How to use a design pattern? Write the guidelines.

2 marks

Answer

To use a design pattern, first identify a recurring design problem in your system. Select a pattern that addresses this problem, study its structure and participants, and adapt the implementation to your specific application context. Guidelines include: focus on the problem the pattern solves, understand its trade-offs, and ensure it improves flexibility or maintainability rather than adding unnecessary complexity.

b

Give design patterns used in Smalltalk MVC.

3 marks

Answer

The Smalltalk MVC architecture primarily utilizes the Observer pattern (to notify views of model changes), the Composite pattern (for nested views), and the Strategy pattern (to allow views to delegate input handling to controllers).

c

What is embellished object structure?

2 marks

Answer

Sign in to view the complete answer paper.

d

What is the structure of document?

3 marks

Answer

Sign in to view the complete answer paper.

e

Write the intent of Abstract Factory Pattern?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is Composite Pattern?

3 marks

Answer

Sign in to view the complete answer paper.

g

What are the consequences of Decorator Pattern?

2 marks

Answer

Sign in to view the complete answer paper.

h

Give the intent of Façade Pattern.

3 marks

Answer

Sign in to view the complete answer paper.

i

What is the motivation of Interpreter Pattern?

2 marks

Answer

Sign in to view the complete answer paper.

j

Write the structure of Command Pattern.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

List and explain different ways of organizing design patterns.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give the step-by-step approach to apply a design pattern effectively.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

How does design patterns solve design problems?

5 marks

Answer

Sign in to view the complete answer paper.

b

Give an overview of organizing a catalog.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

How a Design pattern solves the design problem? Illustrate with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain in detail about Supporting Multiple Look-and-Feel Standards.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Describe transparent enclosure in embellishing the user interface.

5 marks

Answer

Sign in to view the complete answer paper.

b

Elaborate on User Operations, Spelling Checking and Hyphenation design problem.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What are consequences of Builder pattern? Give the implementation of Builder pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss in detail about creational pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

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

5 marks

Answer

Sign in to view the complete answer paper.

b

In detail discuss the Motivation, Structure, Collaborations and implementation of the Prototype Pattern.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

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.

b

Explain in brief about Bridge pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

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

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Briefly discuss about Memento pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the Participants, Collaborations, Sample Code, and Related Patterns of Command Pattern and Interpreter Pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Give the Motivation, Participants, Structure and Implementation of Strategy Pattern and Visitor Pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Differentiate Mediator pattern and the Template Method pattern.

5 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 CSE III II, August/September - 2024, R16.

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...