Software Architecture Questions and Answers – Component Based Systems

This set of Software Architecture Multiple Choice Questions & Answers (MCQs) focuses on “Component Based Systems”.

1. What are the benefits for component based product lines?
a) Being able to take faster advantage of new product and new technology
b) Higher employee productivity
c) Increase in time to market market
d) None of the mentioned
View Answer

Answer: c
Explanation: The benefits are Being able to take faster advantage of new product and new technology, High employee productivity.

2. Which of the following are incorrect needs for component based product lines?
a) More changeable system
b) More extensible system
c) Less reliable components
d) All of the mentioned
View Answer

Answer: c
Explanation: High extensible system are needed for component based product lines.

3. Interface assumptions can be into which of following forms?
a) Provides assumption
b) Required assumption
c) All of the mentioned
d) None of the mentioned
View Answer

Answer: c
Explanation: All of the mentioned are the two forms of Interface assumptions.

4. Which of the following are types of Interface mismatch?
a) Avoid it
b) Detect those cases you haven’t avoided
c) Repair those cases you have detected by adapting the components
d) All of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned are types of interface mismatch.
advertisement
advertisement

5. Which of the following are techniques for repairing interface mismatch?
a) Wrappers
b) Bridges
c) Mediaters
d) All of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned are the techniques for repairing interface mismatch.

6. Which of the following truly describes Wrappers?
a) Encapsulation whereby some components is encased within an alternative abstraction
b) Translation between assumptions of an arbitrary component to some provides assumptions of some other arbitrary components
c) Incorporation of planning function that in effect results in runtime determination of the translation
d) None of the mentioned
View Answer

Answer: a
Explanation: Wrappers are Encapsulation whereby some components is encased within an alternative abstraction.

7. Which of the following truly describes Mediators?
a) Encapsulation whereby some components is encased within an alternative abstraction
b) Translation between assumptions of an arbitrary component to some provides assumptions of some other arbitrary components
c) Incorporation of planning function that in effect results in runtime determination of the translation
d) None of the mentioned
View Answer

Answer: c
Explanation: Mediators are incorporation of planning function that in effect results in runtime determination of the translation.

8. Which of the following truly describes Bridges?
a) Encapsulation whereby some components is encased within an alternative abstraction
b) Translation between assumptions of an arbitrary component to some provides assumptions of some other arbitrary components
c) Incorporation of planning function that in effect results in run-time determination of the translation
d) None of the mentioned
View Answer

Answer: b
Explanation: Bridges are Translation between assumptions of an arbitrary component to some provides assumptions of some other arbitrary components.
advertisement

9. Which of the following shows properties of the others two interface repairing technique?
a) Wrappers
b) Bridges
c) Mediaters
d) None of the mentioned
View Answer

Answer: c
Explanation: Mediator technique shows properties of other two techniques.

10. Which of techniques for avoiding interface mismatch?
a) A disciplined approach to specify as many assumptions about a components interface as is feasible
b) Assumptions stated assertions about sufficiency of the services provided each module
c) All of the mentioned
d) None of the mentioned
View Answer

Answer: a
Explanation: One of the technique to avoid interface mismatch is a disciplined approach to specify as many assumptions about a components interface as is feasible.
advertisement

Sanfoundry Global Education & Learning Series – Software Architecture.

Here’s the list of Best Books in Software Architecture.

To practice all features of Software Architecture, here is complete set on 1000+ Multiple Choice Questions and Answers on Software Architecture.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.