Component and Integration testing - MCQs
1. Component testing may be done in isolation from rest of the system depending upon its life cycle model. True or false.a) True
b) false
View Answer / Hide Answer2. Stubs and drivers are used in component and integration testing. True or false.a) True
b) false
View Answer / Hide AnswerANSWER: a) True
Comment: If all the modules are not ready then stubs and drivers are used during component and integration testing.
3. Which of the following statement is correct?1. Stubs are dummy calling program.
2. Drivers are dummy called program.
a) Only 1
b) Only 2
c) Both
d) None
View Answer / Hide AnswerANSWER: d) None
Comment: Drivers are dummy calling program while Stubs are dummy called program.
4. In big bang integration, all the modules are not required to be completed before integration testing starts. True or false.a) True
b) false
View Answer / Hide AnswerANSWER: b) false
Comment:In big bang integration, all the modules are required to be completed before integration testing starts.
5. Stubs and drivers are used in big bang integration. True or false.a) True
b) false
View Answer / Hide AnswerANSWER: b) false
Comment:In big bang integration, all the modules are required to be completed before integration testing starts. So, it does not required any dummy programs.
6. Which of the following are characteristics of incremental integration model?1. Defects are easy to detect
2. All the modules are required to be completed before integration testing starts.
3. It is time consuming
4. Stubs and drivers are used
a) 2,4
b) 1,3,4
c) 1,2,4
d) All of the above
View Answer / Hide AnswerANSWER: b) 1,3,4
Comment: If all modules are not completed, stubs and drivers can be used.
7. Which of the following are integration approaches?1. Top – Down integration
2 Bottom -Up integration
3. Functional integration
4. Big bang integration
a) 1,2
b) 1,2,4
c) 1,2,3
d) All the above
View Answer / Hide Answer8. The goal of integration testing is to find defects in communication between two modules rather than seeing if modules are working correctly. True or false.a) True
b) false
View Answer / Hide Answer9. Which of the following statement are correct?1. Stubs are used in bottom-up approach.
2. Stubs are used in Top-down approach.
3. Drivers are used in bottom-up approach.
4. Drivers are used in Top-down approach.
a) 1,3
b) 1,4
c) 2,3
d) 2,4
View Answer / Hide AnswerANSWER: c) 2,3
Comment: Drivers are dummy calling program while Stubs are dummy called program.
10. Who is responsible for integration testing?a) Developer
b) Software Tester
c) Specialist integration tester
d) both a and c
e) All the above
View Answer / Hide Answer11. A large scale system integration test may come after the acceptance of a system. True or false.a) True
b) false
View Answer / Hide Answer12. What is the objective of integration testing?a) To verify that system is functioning according to specified requirements
b) To verify that system meets user expectation and needs
c) To verify that system separately testable modules are functioning properly
d) To verify that interfaces between different parts of system
e) All of the above
View Answer / Hide AnswerANSWER: d) To verify that interfaces between different parts of system