Software Testing MCQ
Software Testing MCQs : This section focuses on "Software Testing" of Software Engineering. These Multiple Choice Questions (MCQ) should be practiced to improve the Software Engineering skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Which of the following is not true about Software Validation?
A. Validation ensures the product under development is as per the user requirements.
B. Validation do not emphasizes on user requirements.
C. Validation emphasizes on user requirements.
D. Validation is carried out at the end of the SDLC.
View Answer
Ans : B
Explanation: Validation do not emphasizes on user requirements is not true about Software Validation.
2. Which of the following is true about Software Verification?
A. Verification ensures the product being developed is according to design specifications.
B. Verifications concentrates on the design and system specifications.
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Both option A And B are correct.
3. How many types of software testing exist?
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : B
Explanation: Testing can either be done manually or using an automated testing tool.
4. Which of the following is also known as "Behavioral" testing?
A. Black-box testing
B. White-box testing
C. Both A and B
D. None of the above
View Answer
Ans : A
Explanation: Black-box testing is carried out to test functionality of the program. It is also called "Behavioral" testing.
5. SRS stands for?
A. System requirements specification
B. System respond software
C. Software respond system
D. Software requirements specification
View Answer
Ans : D
Explanation: Software requirements specification(SRS) document : Functional Requirements document
6. In which type of testing : software is compiled as product and then it is tested as a whole?
A. Integration Testing
B. Acceptance Testing
C. Regression Testing
D. None of the above
View Answer
Ans : B
Explanation: System Testing : The software is compiled as product and then it is tested as a whole.
7. Which of the following white-box testing technique is to set up test cases which covers all statements and branch conditions?
A. Data-flow testing
B. Boundary testing
C. Control-flow testing
D. Pair-wise testing
View Answer
Ans : C
Explanation: Control-flow testing : The purpose of the control-flow testing to set up test cases which covers all statements and branch conditions. The branch conditions are tested for both being true and false, so that all statements can be covered.
8. Exhaustive testing is?
A. always possible
B. practically possible
C. impractical but possible
D. impractical and impossible
View Answer
Ans : C
Explanation: Exhaustive testing is the testing where we execute single test case for multiple test data.It means if we are using single test case for different product or module under manual testing.
9. Which of the following is not used in measuring the size of the software?
A. Size of module
B. Function Points
C. KLOC
D. None of the above
View Answer
Ans : C
Explanation: KLOC and function points both can be used as size measurement for measuring the size of the software.
10. Test cases should uncover errors like
A. Nonexistent loop termination
B. Comparison of different data types
C. Incorrect logical operators or precedence
D. All of the above
View Answer
Ans : D
Explanation: Test cases should uncover errors such as all the explained options and much more.
Discussion