MCQ On Integration Testing
Q1. Integration Testing focuses on:.
- Individual functions
- Complete system behavior
- Interaction between modules
- User interface design
Answer: c, Interaction between modules
Solution: Integration testing verifies interaction and communication between modules.
Q2. Integration Testing is performed:.
- Before Unit Testing
- After Unit Testing
- After System Testing
- After Acceptance Testing
Answer: b, After Unit Testing
Solution: Integration testing starts after unit testing is completed.
Q3. Which of the following is a type of Integration Testing?.
- Smoke Testing
- Regression Testing
- Top-Down Testing
- Alpha Testing
Answer: c, Top-Down Testing
Solution: Top-down testing is a common integration testing approach.
Q4. In Top-Down Integration Testing, which test component is used?.
- Drivers
- Stubs
- Test harness
- Mocks
Answer: b, Stubs
Solution: Stubs simulate lower-level modules in top-down testing.
Q5. In Bottom-Up Integration Testing, which test component is used?.
- Stubs
- Spies
- Emulators
- Drivers
Answer: d, Drivers
Solution: Drivers simulate higher-level modules in bottom-up testing.
Q6. Big Bang Integration Testing means:.
- Modules are tested one by one
- Lower modules tested first
- All modules integrated and tested at once
- Only interfaces are tested
Answer: c, All modules integrated and tested at once
Solution: Big Bang testing integrates all modules simultaneously.
Q7. Integration Testing mainly detects:.
- Syntax errors
- Logical errors within a function
- Interface and data flow issues
- UI alignment defects
Answer: c, Interface and data flow issues
Solution: Integration testing finds issues in data and control flow between modules.
Q8. Incremental Integration Testing is preferred because:.
- It requires no planning
- Defect isolation is easier
- It tests everything at once
- It avoids unit testing
Answer: b, Defect isolation is easier
Solution: Incremental integration makes defect identification easier.
Q9. Who usually performs Integration Testing?.
- End users
- Clients
- Developers and Testers
- Business analysts
Answer: c, Developers and Testers
Solution: Integration testing is carried out by developers and testers.
Q10. Integration Testing is done before:.
- Unit Testing
- Regression Testing
- System Testing
- Maintenance Testing
Answer: c, System Testing
Solution: Integration testing precedes system testing.