BE 18CS731 7sem Feb March 2022
BE 18CS731 7sem Feb March 2022
BE 18CS731 7sem Feb March 2022
18CS731
:4
USN
2
Seventh Semester B.E. Degree Examination, Feb./Mar. 2022
:0
Software Architecture and Design Patterns
F
01
-S
Time: 3 hrs. Max. Marks: 100
2
Note: Answer any FIVE full questions, choosing ONE full question from each module.
2. Any revealing of identification, appeal to evaluator and /or equations written eg, 42+8 = 50, will be treated as malpractice.
F
02
-S
-2 Module-1
1 a. Define design pattern. Explain essential elements of design patterns. (08 Marks)
F
02
b. Explain Delegation with an example. (04 Marks)
-S
c. Explain how to select and use a design pattern. (08 Marks)
Important Note : 1. On completing your answers, compulsorily draw diagonal cross lines on the remaining blank pages.
4-
OR F
-2
-S
2 a. Explain the types of UML diagrams with example. (10 Marks)
U
b. Explain usecase analysis and hence write the usecase for registering new member. (10 Marks)
VT
Module-2 m
-S
3 a. Define structural patterns. Explain applicability, structure and participants of adapter design
1p
pattern. (10 Marks)
F
b. Explain motivation, applicability and structure of composite design pattern.
F
(10 Marks)
-S
:0
-S
32
OR
F
4 a. Explain motivation, applicability, structure and participants of façade design pattern.
F
-S
:
(10 Marks)
01
-S
b. Explain the issues to be considered when implementing the composite design pattern.
(06 Marks)
F
c. Mention few common situations in which proxy pattern is applicable. (04 Marks)
22
F
-S
-S
Module-3
20
responsibility.
SF
(10 Marks)
-S
2-
b. Explain motivation, applicability and implementation of interpreter design pattern. (10 Marks)
-0
OR
24
-S
6 a. Explain when to use memento, observer, state, command and mediator design pattern.
(10 Marks)
b. Explain Motivation, structure and implementation of iterator design pattern. (10 Marks)
F
-S
Module-4
7 a. With a neat diagrams, explain MVC architecture and alternative view of the MVC
F
(05 Marks)
c. Define controller. Explain the steps involved in defining the controller. (07 Marks)
F
1 of 2
-S
SF
pm
18CS731
9
:4
OR
2
8 a. Explain use case for drawing a line. (05 Marks)
:0
b. Explain the characteristics of architectural patterns. (05 Marks)
c. Explain implementing the undo operation.
F
(10 Marks)
01
-S
Module-5
2
9 a. With a neat diagram, explain the basic architecture of client/server systems. (10 Marks)
F
02
b. List and explain the steps to setup remote object system. (10 Marks)
-S
-2 OR
F
10 a. Draw state transition diagram for logging into the system, adding book and issuing book and
02
hence explain it.
-S
(10 Marks)
b. Draw and explain directory structure for servlet. (05 Marks)
4-
-S
U
*****
VT
m
-S
1p
F
F
-S
:0
-S
32
F
F
-S
:
01
-S
F
22
F
-S
-S
20
F
SF
-S
2-
-0
F
24
-S
F
-S
2 of 2
F
-S
F
-S
SF