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