JNTU
JNTU B.Tech III DESIGN PATTERNS Previous Question Paper (August/September - 2024 - R16)
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
How to use a design pattern? Write the guidelines.
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.
Give design patterns used in Smalltalk MVC.
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).
What is embellished object structure?
Answer
Sign in to view the complete answer paper.
What is the structure of document?
Answer
Sign in to view the complete answer paper.
Write the intent of Abstract Factory Pattern?
Answer
Sign in to view the complete answer paper.
What is Composite Pattern?
Answer
Sign in to view the complete answer paper.
What are the consequences of Decorator Pattern?
Answer
Sign in to view the complete answer paper.
Give the intent of Façade Pattern.
Answer
Sign in to view the complete answer paper.
What is the motivation of Interpreter Pattern?
Answer
Sign in to view the complete answer paper.
Write the structure of Command Pattern.
Answer
Sign in to view the complete answer paper.
Part B
List and explain different ways of organizing design patterns.
Answer
Sign in to view the complete answer paper.
Give the step-by-step approach to apply a design pattern effectively.
Answer
Sign in to view the complete answer paper.
How does design patterns solve design problems?
Answer
Sign in to view the complete answer paper.
Give an overview of organizing a catalog.
Answer
Sign in to view the complete answer paper.
How a Design pattern solves the design problem? Illustrate with an example.
Answer
Sign in to view the complete answer paper.
Explain in detail about Supporting Multiple Look-and-Feel Standards.
Answer
Sign in to view the complete answer paper.
Describe transparent enclosure in embellishing the user interface.
Answer
Sign in to view the complete answer paper.
Elaborate on User Operations, Spelling Checking and Hyphenation design problem.
Answer
Sign in to view the complete answer paper.
What are consequences of Builder pattern? Give the implementation of Builder pattern.
Answer
Sign in to view the complete answer paper.
Discuss in detail about creational pattern.
Answer
Sign in to view the complete answer paper.
What are the benefits of Singleton pattern? Discuss the implementation issues of singleton pattern in detail.
Answer
Sign in to view the complete answer paper.
In detail discuss the Motivation, Structure, Collaborations and implementation of the Prototype Pattern.
Answer
Sign in to view the complete answer paper.
The Façade pattern and the Adapter pattern may seem similar? What is the essential difference between the two? Explain.
Answer
Sign in to view the complete answer paper.
Explain in brief about Bridge pattern.
Answer
Sign in to view the complete answer paper.
What are two classic examples of decorators? How does the Decorator pattern help to decompose the problem?
Answer
Sign in to view the complete answer paper.
Briefly discuss about Memento pattern.
Answer
Sign in to view the complete answer paper.
Discuss the Participants, Collaborations, Sample Code, and Related Patterns of Command Pattern and Interpreter Pattern.
Answer
Sign in to view the complete answer paper.
Give the Motivation, Participants, Structure and Implementation of Strategy Pattern and Visitor Pattern.
Answer
Sign in to view the complete answer paper.
Differentiate Mediator pattern and the Template Method pattern.
Answer
Sign in to view the complete answer paper.