Exploiting Patterns in Software Architecture

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following can a pattern operate on?
Emphasize the solutions
Identify and name abstract
Provide a target for recognition
All of the mentioned
Explanation:
All of the mentioned are the ways in which a pattern can operate.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is for factory method behavioral characteristic?
Interpreter
Template method
Iterator
None of the mentioned
Explanation:
Interpreter and Template method are for factory method.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
What does emphasizing solution actually mean for patterns to operate?
Discovering patterns rather than inventing them
Serves as exemplars to programmers
All of the mentioned
None of the mentioned
Explanation:
Emphasizing solution means discovering patterns rather than inventing them.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is strategy pattern dependent on?
Scalability
Modifiability
Portability
Modifiability & Portability
Explanation:
Strategy pattern is dependent on modifiability and portability.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
When there is a need to implement strategy pattern?
When a single task is implemented in variety of ways
When it is dependent on nature of inputs
All of the mentioned
None of the mentioned
Explanation:
All of the mentioned ways are used to implement strategy pattern.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is used in Decorator design pattern?
Broder Wrapper
Scroll Wrapper
Text View
All of the mentioned
Explanation:
All of the mentioned are used in Decorator design pattern.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the factors make a pattern portable?
Creating instances of some appropriate resource at run time
Presentation of two different user interface tool-kits
All of the mentioned
None of the mentioned
Explanation:
All of the mentioned factors can be considered to make a pattern portable.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Patterns are mostly used in which of the following?
Design in large
Design in Small
Coding
All of the mentioned
Explanation:
All of the mentioned are used for patterns.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
How is reliability enhanced when a template is allowed in component?
Once the template is incorrect, then templatized portion of every using component is correct
Once the template is correct, then templatized portion of every using component is correct
All of the mentioned
None of the mentioned
Explanation:
Once the template is correct, then templatized portion of every using component is correct.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
How does a use of template allowed in components simplify things?
Reliability is enhanced
Coding time is increased
Testing is more complexed
All of the mentioned
Explanation:
A template can enhance reliability, reduce coding time and simplify testing.