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.
11. _____ is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not.
A. Software Design
B. Software Implementation
C. Software Testing
D. Software Requirement
View Answer
Ans : C
Explanation: Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not.
12. Test Automation __________ the testing time.
A. increases
B. reduces
C. does not depend
D. None of the above
View Answer
Ans : B
Explanation: Test Automation reduces the testing time
13. SDLC stands for?
A. Software Deployment Life Cycle
B. Software Design Life Cycle
C. Software Developer Life Cycle
D. Software Development Life Cycle
View Answer
Ans : D
Explanation: Software Development Life Cycle (SDLC)
14. Validation is a process is done by?
A. developers
B. testers
C. client
D. None of the above
View Answer
Ans : B
Explanation: Validation is a process is done by testers
15. Verification has a?
A. dynamic activities
B. subjective activities
C. static activities
D. objective activities
View Answer
Ans : C
Explanation: It has static activities, as it includes collecting reviews, walkthroughs, and inspections to verify a software.
16. Validation occurs after verification
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: Validation occurs after verification and mainly involves the checking of the overall product.
17. Which of the following term describes testing?
A. Finding broken code
B. Evaluating deliverable to find errors
C. A stage of all projects
D. None of the above
View Answer
Ans : B
Explanation: Software testing is the process of evaluation a software item to detect differences between given input and expected output
18. What is Cyclomatic complexity?
A. Black box testing
B. Green box testing
C. Yellow box testing
D. White box testing
View Answer
Ans : D
Explanation: Cyclomatic complexity measures the amount of decision logic in the program module.Cyclomatic complexity gives the minimum number of paths that can generate all possible paths through the module
19. Alpha testing is done at
A. Developer’s end
B. User’s end
C. Developer’s & User’s end
D. None of the above
View Answer
Ans : A
Explanation: Alpha testing takes place at the developer’s end. Developers observe the users and note problems. Alpha testing is testing of an application when development is about to complete. Minor design changes can still be made as a result of alpha testing
20. What are the various Testing Levels?
A. Unit Testing
B. System Testing
C. Integration Testing
D. All of the above
View Answer
Ans : D
Explanation: Unit, system, integration testing all of them are levels in testing.
Discussion