Software Engineering Questions and Answers – Component Based Software Engineering

This set of Software Engineering Questions and Answers for Aptitude test focuses on “Component Based Software Engineering”.

1. A software element conforms to a standard component model and can be independently deployed and composed without modification according to a composition standard.
a) True
b) False
View Answer

Answer: a
Explanation: This definition is essentially based on standards so that a software unit that conforms to these standards is a component.

2. Which of the following is a feature of CBSE?
a) It increases quality
b) CBSE shortens delivery time
c) CBSE increases productivity
d) All of the mentioned
View Answer

Answer: d
Explanation: CBSE increases quality, especially evolvability and maintainability. Other options are also favor CBSE.

3. Which of the following term is best defined by the statement:”For a component to be composable, all external interactions must
take place through publicly defined interfaces”?
a) Standardized
b) Independent
c) Composable
d) Documented
View Answer

Answer: c
Explanation: The answer is self explanatory.
advertisement
advertisement

4. A component model defines standards for
a) properties
b) methods
c) mechanisms
d) all of the mentioned
View Answer

Answer: d
Explanation: A component model defines standards for properties individual components must satisfy and methods and mechanisms for composing components.

5. Which of the following is not an example of component technology?
a) EJB
b) COM+
c) .NET
d) None of the mentioned
View Answer

Answer: d
Explanation: All the options supports the implementation, assembly, deployment, execution of components.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Which of the following term is best defined by the statement:”The operations on each side of the interface have the same name but their parameter types or the number of parameters are different.”?
a) Parameter incompatibility
b) Operation incompleteness
c) Operation incompatibility
d) None of the mentioned
View Answer

Answer: a
Explanation: None.

7. Which of the following term is best defined by the statement: “The names of the operations in the ‘provides’ and ‘requires’ interfaces are different.”?
a) Parameter incompatibility
b) Operation incompleteness
c) Operation incompatibility
d) None of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement

8. A _________ defines a set of standards for components, including interface standards, usage standards, and deployment standards.
a) Component-based software engineering
b) Component composition
c) Component model
d) Component interfaces
View Answer

Answer: c
Explanation: The implementation of the component model provides a set of common services that may be used by all components.

9. When composing reusable components that have not been written for your application, you may need to write adaptors or ‘glue code’ to reconcile the different __________
a) Component modules
b) Component composition
c) Component model
d) Component interfaces
View Answer

Answer: c
Explanation: None.
advertisement

10.____________ is a reuse-based approach to defining, implementing, and composing loosely coupled independent components into systems.
a) Component-based software engineering
b) Component composition
c) Component model
d) Component interfaces
View Answer

Answer: d
Explanation: Component Interfaces are PeopleSoft’s way of exposing the business logic developed into Components for consumption by other areas of the system.

Sanfoundry Global Education & Learning Series – Software Engineering.

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

To practice all areas of Software Engineering for Aptitude test, here is complete set of 1000+ Multiple Choice Questions and Answers on Software Engineering.

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.