250+ TOP MCQs on Component Based Software Engineering and Answers

Software Engineering Questions for Aptitude test 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

Answer: a
Clarification: 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

Answer: d
Clarification: 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

Answer: c
Clarification: The answer is self explanatory.

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

Answer: d
Clarification: 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

Answer: d
Clarification: All the options supports the implementation, assembly, deployment, execution of components.

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

Answer: a
Clarification: 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

Answer: c
Clarification: None.

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

Answer: c
Clarification: 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

Answer: c
Clarification: None.

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

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

Leave a Reply

Your email address will not be published. Required fields are marked *