Design Patterns Mid - I, September - 2014
1.__________defines the way the user interface reacts to user input.
-
View
-
Container
-
Model
-
Controller
-
Answer: D
2.The structural class patterns use _______to compose classes.
-
Inheritance
-
Abstraction
-
Polymorphism
-
Aggregation
-
Answer: A
3.Reuse by sub classing is often referred has _______.
-
Black box reuse
-
White box reuse
-
Gray box reuse
-
Both A&B
-
Answer: B
4.Composite pattern is a ______pattern.
-
Creational
-
structural
-
Behavioural
-
None
-
Answer: B
5.Design patterns used in _____development environment.
-
Object oriented
-
Procedure oriented
-
Structure oriented
-
None
-
Answer: A
6.Total how many design patterns are listed in the catalog of design patterns.
-
22
-
23
-
21
-
18
-
Answer: B
7.Design Patterns are used in __________________ development environment.
-
Object Oriented
-
Procedure Oriented
-
Both a & b
-
None
-
Answer: A
8.Composite pattern is a______________ pattern.
-
Structural
-
Behavioural
-
Creational
-
None
-
Answer: A
9.Design Patterns solve _____________________problem.
-
Coding
-
Analysis
-
Design
-
All
-
Answer: C
10.Singleton pattern is a __________________ pattern.
-
Structural
-
Behavioural
-
Creational
-
None
-
Answer: A
11.A _________________is an object that represent an algorithm.
Answer: Strategy
12.WYSIWYG stands for______________.
Answer: What You See Is What You Get
13.MVC decouples views and models by establishing a________________ protocol between them.
Answer: Notify
14.A common way to represent hierarchically structured information is though a technique called ____________________.
Answer: Recursive Composition
15._________________can act as a local representative for an object in a remote address space.
Answer: Proxy
16.MVC Stands for_______________
Answer: Model View Controller
17.Fascade is a_________________ patterns.
Answer: Structural
18.Abstract factory is a_____________ patterns.
Answer: Creational
19.Each design pattern has_______________ essential elements.
Answer: 4
20.________________ acts as a convenient surrogate or place.
Answer: Proxy