Software Testing MCQ SET-1

In this page provide you software multiple choice question which help to many exam like Semester exam, Gate Exam, Railway , ISRO etc.
Q.1 What is the primary purpose of software testing?
Verification
To identify errors
Verification and Validation of software
None of these
Explanation
The fundamental objective of testing is to discover defects, bugs, or errors in the software to ensure its quality.
Q.2 Test cases are typically designed during which of the following stages?
Test specification
Test planning
Test configuration
None of these
Explanation
Test design and the creation of test cases occur during the test specification phase of the testing lifecycle.
Q.3 Which of the following is NOT another name for structural testing?
Glass box testing
Behavioural testing
White box testing
None of these
Explanation
Structural testing (White box) looks at the internal logic. Behavioural testing is another name for Black box testing, which focuses on external functionality.
Q.4 Which testing technique is primarily applied for usability testing?
White box
Grey box
Black box
None of these
Explanation
Usability testing is a Black box technique because it evaluates the software from the end-user’s perspective without looking at the internal code.
Q.5 Which of the following is NOT considered a high-level Test Type?
Database Testing
Security Testing
Statement Testing
None of these
Explanation
Statement testing is a white-box testing technique used to measure code coverage, rather than a category of testing like Security or Database testing.
Q.6 What is the primary need for software testing?
Find bugs
Resolve bugs
Security purpose
All of the above
Explanation
Testing is essential to identify flaws, ensure they are fixed, and verify the overall security and reliability of the application.
Q.7 At what point can White-box testing typically be started?
After installation
After SRS creation
After programming
None of these
Explanation
White-box testing requires access to the source code, so it can only begin once the programming/coding phase has taken place.
Q.8 Which of the following is the international standard for software component testing?
IEEE 829
BS7925-2
BS7925-1
None of these
Explanation
BS 7925-2 is the specific standard recognized for the testing of individual software components.
Q.9 Testing software with actual data in the actual user environment is known as?
Beta testing
Alpha testing
White Box
None of these
Explanation
Beta testing is performed by real users in a real-world environment to identify any remaining issues before the final release.
Q.10 Which of the following is NOT a standard type of software testing?
Manual Testing
Automation Testing
Flow Testing
None of these
Explanation
Manual and Automation are the primary methods of testing. ‘Flow testing’ is not a standard top-level classification in testing theory.
Q.11 Where is Beta Testing typically performed?
Developer's end
User's end
Both A & B
None of these
Explanation
Beta testing is external acceptance testing where the software is sent to a group of target users to test in their own environment.
Q.12 A program with high cyclomatic complexity is likely to be?
Large
Difficult to test
Small
None of these
Explanation
High cyclomatic complexity indicates a high number of decision points and logical paths, making the code much more difficult to test thoroughly.
Q.13 Unit testing is primarily performed by which group?
Users
Developers
Customers
None of these
Explanation
Unit testing is the first level of testing and is performed by the programmers (developers) who wrote the code.
Q.14 Which of the following can be performed as part of Manual Testing?
White Box
Black Box
Grey Box
All of these
Explanation
Manual testing involves human intervention and can utilize White box, Black box, or Grey box methodologies.
Q.15 Error guessing is categorized as a?
Test verification technique
Test data management technique
Test the software
None of these
Explanation
Error guessing is an experience-based technique used to design test cases based on where errors are likely to occur.
Q.16 Unit Testing is fundamentally a type of?
Black Box Testing
Beta Testing
Functional Testing
None of these
Explanation
Unit testing focuses on the functional correctness of the smallest testable parts of an application.
Q.17 Which of the following is NOT a white-box testing technique?
State transition testing
Path testing
Statement testing
None of these
Explanation
State transition testing is a black-box technique. Path and Statement testing require knowledge of the internal code structure.
Q.18 What is the definition of Alpha testing?
Post-release testing at developer site
The first testing performed
Pre-release testing by end users at the developer's site
None of these
Explanation
Alpha testing is conducted by internal staff or representative users at the developer’s location before the software is released to the general public.
Q.19 Usability Testing is classified as which type of testing?
White Box Testing
Grey Box Testing
Non-Functional Testing
None of these
Explanation
Usability testing checks how user-friendly the software is, which falls under the category of non-functional quality attributes.
Q.20 Which of the following best describes the core activity of testing?
Finding broken code
Evaluating deliverables to find errors
A stage of all projects
None of these
Explanation
Testing is the process of evaluating a product or deliverable to verify that it meets requirements and to identify any defects.