ACSE0514-[Design Patterns] (1)
ACSE0514-[Design Patterns] (1)
SECTION A
C H 20
M
(a) They captured design accessible to novices and other experts
(b) They capture expert design knowledge
O P
(c) None of these
(d) All of these
1-b.
C
Select from the below author that is not a part of GOF (Gang of Four). (CO1)
(a) Design patterns represent the best practices used by experienced object-
oriented software developers.
(b) Design patterns are solutions to general problems that software
.
Page 1 of 4
.
developers faced during software development.
(c) Design patterns are obtained by trial and error by numerous software
developers over quite a substantial period of time.
(d) All of the above.
1-d. Which of the following is a generic structure that is extended to create a more 1
specific subsystem or application? (CO2)
1-e. Choose one of the pattern in which all the classes coupling is reduced(CO3) 1
(a) Iterator
(b) Facade
2 4
1-f.
(c) Mediator
(d) Proxy
the collaboration
C H
(a) Interaction is begun by one of the collaborators or a client object outside
A R
(b) The object directs the collaboration, with all communication going
between it and the colleagues in the interactionAll of the mentioned
(c) All of the above
M
(d) None of the mentioned
1-g.
O
provided.(CO4)
P
Choose design pattern that works on data and action taken based on data 1
1-h. The use of design patterns for the development of object-oriented software has 1
important implications for (CO4)
1-j. Choose one of the following are correct for copy constructor(CO5) 1
2 4
2.a.
2.c.
2.d.
2.e.
Write a short note on Adapter pattern.(CO3)
C H
Does command design pattern provides extensibility ?(CO5)
2
3-a.
M
Explain the purpose and scope of the behavioural pattern.(CO1) 6
3-b.
3-c.
O P
Draw the catalogue of the Design patterns(CO1)
3-d.
3.e. C
Mention specific problems builder pattern solves.(CO2)
In discussing the essence of the Decorator, it is said that “the structure is not
the pattern.” What does this mean? Why is this important? (CO3)
6
3.g. Discuss why access to the non-static variable is not allowed from static method 6
in Java. (CO5)
SECTION C 50
6-a. Explain the two issues addressed by the composite design pattern(CO3) 10
8-a.
8-b.
Make a UML diagram of Template method. Explain how it works.(CO5)
2 4
Differentiate between State Design Pattern and Strategy Design Pattern. (CO5)
10
10
2 0
C H
A R
M
O P
C
.
Page 4 of 4