JNTU
JNTU B.Tech IV DESIGN PATTERNS Previous Question Paper (November/December - 2018 - R15)
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
Define Design Pattern.
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 design that can be transformed directly into code, but a description or template for how to solve a problem that can be used in many different situations.
What are the uses of design pattern?
Answer
- They provide a common vocabulary for developers to communicate design ideas effectively.
- They capture the experience and best practices of expert designers, helping novices learn better design techniques.
- They promote reuse of successful designs and architectures, reducing development time and improving system maintainability.
What is the structure of document?
Answer
Sign in to view the complete answer paper.
Explain briefly about consequences of prototype.
Answer
Sign in to view the complete answer paper.
Describe the structure of Adaptor Pattern.
Answer
Sign in to view the complete answer paper.
List the Consequences of Façade Pattern.
Answer
Sign in to view the complete answer paper.
What are all the Consequences of Interpreter Pattern?
Answer
Sign in to view the complete answer paper.
Write the Pattern name and Classification of Mediator Pattern.
Answer
Sign in to view the complete answer paper.
What is the intent of strategy pattern?
Answer
Sign in to view the complete answer paper.
Write about Applicability of Visitor Pattern.
Answer
Sign in to view the complete answer paper.
Part B
Describe how a Design Pattern solves the Design Problems.
Answer
Sign in to view the complete answer paper.
Explain about Design Patterns in Smalltalk MVC.
Answer
Sign in to view the complete answer paper.
Describe about Catalog of Design Patterns.
Answer
Sign in to view the complete answer paper.
How to organize the Catalog of Design Pattern?
Answer
Sign in to view the complete answer paper.
Discuss the Motivation, Structure, Collaborations and Implementation of the following Patterns: a) Builder b) Singleton.
Answer
Sign in to view the complete answer paper.
Can we use Abstract factory? Explain briefly.
Answer
Sign in to view the complete answer paper.
Explain about Multiple window system.
Answer
Sign in to view the complete answer paper.
Discuss the Pattern name, Applicability, Consequences and Related Patterns of the following Patterns: a) Composite b) Decorator.
Answer
Sign in to view the complete answer paper.
Discuss the Participants, Collaborations, Sample Code, and Related Patterns of the following: a) Adaptor b) Façade.
Answer
Sign in to view the complete answer paper.
Explain in detail about Command Pattern.
Answer
Sign in to view the complete answer paper.
Describe in detail about Mediator Pattern.
Answer
Sign in to view the complete answer paper.
Explain the Motivation, Participants, Structure and Implementation of following Patterns: a) Strategy b) Visitor.
Answer
Sign in to view the complete answer paper.
Discuss in detail about the following Patterns: a) State b) Template Method.
Answer
Sign in to view the complete answer paper.