Software Testing Quiz
Questions: 16 · 10 minutes
1. An account locks after three failed login attempts, and later behavior depends on whether an administrator has reset it. Which technique is especially suitable for designing these tests?
State transition testing
Equivalence partitioning
Statement coverage
Pairwise testing
2. An input accepts integers from 1 through 100. Which grouping best represents equivalence partitions?
Values below 1, values from 1 through 100, and values above 100
Odd numbers, even numbers, and decimal numbers
Values from 1 through 25, 26 through 50, 51 through 75, and 76 through 100
The values 1, 50, and 100 only
3. What is the primary purpose of regression testing?
To determine whether a requirement should be included in the product
To confirm that every possible input combination has been tested
To measure how quickly users can learn a new interface
To check whether changes have unintentionally affected previously working behavior
4. An automated test sometimes passes and sometimes fails on the same build because it depends on unpredictable timing. What is this test commonly called?
A flaky test
A smoke test
A static test
A confirmation test
5. A team reviews requirements for ambiguity and contradictions before any software is executed. What category of testing activity is this?
Dynamic testing
Performance testing
Static testing
Recovery testing
6. A minor spelling error does not affect checkout, but it appears in a prominent campaign message that must launch tomorrow. How could the defect reasonably be classified?
Low severity but high priority
High severity but low priority
High severity and high priority because every visible defect blocks use
Low severity and low priority because spelling never affects release decisions
7. Two services pass their isolated tests, but an error appears when one service sends data to the other. Which testing is most directly suited to investigating this failure?
Unit testing
Integration testing
Usability testing
Acceptance testing
8. Testing time is limited, so the team focuses first on features where failure is both likely and highly damaging. Which approach does this illustrate?
Random testing
Exhaustive testing
Risk-based testing
Checklist-based testing
9. A field accepts whole-number ages from 18 through 65, inclusive. Which set best applies boundary value analysis?
18, 30, 50, and 65
20, 35, 50, and 60
1, 17, 66, and 100
17, 18, 65, and 66
10. Which information would make a defect report most useful for reproducing a problem?
A general statement that the feature does not seem reliable
The tester’s opinion about who probably introduced the defect
A list of unrelated defects found during the same testing session
Exact steps, expected and actual results, and relevant environment details
11. A tester designs cases from documented requirements and observable behavior without examining the source code. Which general technique is this?
White-box testing
Static code analysis
Mutation testing
Black-box testing
12. A new build has just been deployed. The team runs a short suite covering login, navigation, and one critical transaction before beginning deeper testing. What is this suite primarily serving as?
A complete acceptance test
A smoke test
A full regression suite
A usability benchmark
13. A developer tests one calculation function in isolation while replacing its database dependency with a test double. Which test level is this?
System testing
Acceptance testing
Unit testing
Integration testing
14. A tester begins with a broad mission, learns how a new feature behaves, and adapts the next checks based on observations rather than following a fixed script. Which approach is being used?
Regression testing
Exploratory testing
Load testing
Static analysis
15. In software testing, what is a test oracle?
A tool that automatically generates every possible test case
A source used to determine the expected result of a test
A production database copied into the test environment
A meeting where stakeholders prioritize reported defects
16. Business representatives verify that completed workflows meet agreed business needs before release. What type of testing are they primarily performing?
Component testing
Performance testing
Acceptance testing
Mutation testing