JNTU

JNTU B.Tech III DESIGN PATTERNS Previous Question Paper (February - 2023 - R16)

B.Tech | III | II | R16 | February - 2023

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

What do you mean by design Pattern?

2 marks

Answer

A design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished piece of code but a template or description of how to solve a problem that can be used in many different situations.

b

Write about framework.

3 marks

Answer

A framework is a set of predefined classes and interfaces that can be reused to build applications. Unlike a design pattern, which is a conceptual template, a framework is a concrete implementation that provides a skeleton for an application, dictating the overall structure and flow of control while allowing developers to plug in their own custom code.

c

What is Decorator pattern?

2 marks

Answer

Sign in to view the complete answer paper.

d

With suitable example, explain about compositor and composition.

3 marks

Answer

Sign in to view the complete answer paper.

e

Draw the structure of Prototype pattern.

2 marks

Answer

Sign in to view the complete answer paper.

f

What are benefits of Singleton pattern?

3 marks

Answer

Sign in to view the complete answer paper.

g

What are related patterns of Façade pattern?

2 marks

Answer

Sign in to view the complete answer paper.

h

List the consequences of Composite pattern.

3 marks

Answer

Sign in to view the complete answer paper.

i

Write the intent of Observer pattern.

2 marks

Answer

Sign in to view the complete answer paper.

j

Describe motivation of Strategy pattern.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

What are some common causes of redesign? Explain briefly.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to use a design pattern? Discuss in brief.

5 marks

Answer

Sign in to view the complete answer paper.

OR
3

Discuss about design patterns in Smalltalk MVC in detail.

10 marks

Answer

Sign in to view the complete answer paper.

4

Explain in detail about supporting multiple window systems problem in Lexi’s design.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

Describe user operations problem in Lexi’s design.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Write and explain the sample code of Prototype pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe motivation, applicability and structure of Builder pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Discuss about implementation issues of Abstract Factory pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain sample code and known issues of Factory Method pattern.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Describe implementation issues of Composite pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about the implementation of Proxy pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain about the motivation and applicability of Flyweight pattern.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write about the sample code of Decorator pattern.

5 marks

Answer

Sign in to view the complete answer paper.

10

Explain the following:

10 marks
a

Sample code of Iterator

5 marks

Answer

Sign in to view the complete answer paper.

b

Template method pattern.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Write about:

10 marks
a

Implementation of Chain of Responsibility pattern

5 marks

Answer

Sign in to view the complete answer paper.

b

Sample code of State 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, February - 2023, 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...