Software Testing & QA MCQ
Test your Software Testing and Quality Assurance knowledge with 100 multiple choice questions covering fundamentals to advanced concepts, with instant feedback and explanations.
What is the primary goal of software testing?
2What is a "test case"?
3What is the difference between "verification" and "validation"?
4What is "unit testing"?
5What is "integration testing"?
6What is "system testing"?
7What is "acceptance testing"?
8What is "regression testing"?
9What is "smoke testing"?
10What is "black-box testing"?
11What is "white-box testing"?
12What is "manual testing"?
13What is "automated testing"?
14What is a "test plan"?
15What is a "bug" (or "defect")?
16What is the purpose of "test data"?
17What does "test coverage" measure?
18What is "exploratory testing"?
19What is a "test environment"?
20What is the "defect life cycle" (or "bug life cycle")?
21What is the difference between "severity" and "priority" of a defect?
22What is "User Acceptance Testing" (UAT)?
23What is a "test case management tool" used for?
24What is "boundary value analysis"?
25What is "equivalence partitioning"?
26What is "static testing"?
27What is "dynamic testing"?
28What is the purpose of a "checklist" in testing?
29What is "usability testing"?
30What is "compatibility testing"?
31What is "performance testing" used to evaluate?
32What is the difference between "load testing" and "stress testing"?
33What is a "test script"?
34What is the "test pyramid" a metaphor for?
35What is "ad-hoc testing"?
36What is "alpha testing"?
37What is "beta testing"?
38Why is it important to write a clear "expected result" for each test case?
39What does "QA" stand for in software development?
40What is the difference between "Quality Assurance" (QA) and "Quality Control" (QC)?
What is "Test-Driven Development" (TDD)?
2What is "Behavior-Driven Development" (BDD)?
3What is a "mock object" used for in unit testing?
4What is the difference between a "mock" and a "stub"?
5What is "code coverage" and what is a limitation of relying on it too heavily?
6What is "continuous integration" (CI) testing?
7What is "shift-left testing"?
8What is "exploratory" vs "scripted" testing best used for?
9What is a "test fixture"?
10Why is test independence (tests not depending on each other or on execution order) important?
11What is a "flaky test"?
12What is "API testing"?
13What is "end-to-end (E2E) testing"?
14What is "session-based test management"?
15What is "risk-based testing"?
16What is "non-functional testing"?
17What is "security testing"?
18What is "pairwise testing" (or "all-pairs testing")?
19What is the role of a "test oracle"?
20What is "exploratory automation" or "automation-assisted exploratory testing"?
21What is the purpose of "smoke testing" within a CI/CD pipeline?
22What is "data-driven testing"?
23What is "keyword-driven testing"?
24What is "contract testing" in the context of microservices?
25What is "mutation testing"?
26What is the purpose of a "defect density" metric?
27What does "test environment parity" mean and why does it matter?
28What is a "smoke test suite" typically composed of?
29What is the benefit of "parallel test execution"?
30What is the difference between "functional testing" and "non-functional testing"?
31What is "exploratory charter" used for in session-based testing?
32What is the purpose of "regression test suite optimization" (e.g. test selection or prioritization)?
33What is "exploratory" testing's relationship with documentation, compared to scripted testing?
34What is "snapshot testing" (common in UI component testing)?
35What is the goal of "accessibility testing"?
36What is the main trade-off when deciding how much of a test suite to automate?
37What is a "traceability matrix" used for in testing?
38In a CI/CD pipeline, what is a "quality gate"?
39What is "cross-browser testing" specifically focused on?
40What is a "sanity test" and how does it differ from a smoke test?
In the test pyramid, what is a key risk of having too many end-to-end (E2E) tests relative to unit tests (the "inverted pyramid" or "ice cream cone" anti-pattern)?
2What is "test isolation" at the database level, and why is it especially challenging for integration tests?
3How does "mutation testing" help evaluate the quality of a test suite beyond code coverage, and what is its main practical drawback?
4What is "test data management" in large-scale enterprise testing, and why is it a non-trivial problem?
5How can "observability" (logs, metrics, traces) complement traditional testing in production environments, e.g. via "testing in production" or canary releases?
6What is the "Pesticide Paradox" in software testing?
7What is the difference between "verification of correctness" and "validation of value" when assessing automated test suites in an Agile environment, and how can teams avoid a suite that is "green but useless"?
8In exploratory testing, what is the significance of "tacit knowledge" and why is it hard to fully replace with automation?
9What is "chaos engineering" and how does it relate to traditional QA testing?
10What challenges arise when testing systems built on "eventual consistency" (e.g. distributed databases), and how do testers typically address them?
11How does "property-based testing" differ from traditional example-based unit testing?
12What is the danger of "overfitting" automated tests to the current implementation rather than the desired behavior?
13What is the "test automation pyramid" critique sometimes raised regarding UI-based automation tools (e.g. record-and-playback)?
14How can "test smells" (analogous to code smells) indicate deeper problems in a test suite, and give an example?
15In performance testing, what is the difference between "throughput" and "latency", and why might optimizing for one negatively affect the other?
16What is "fault injection testing" and how does it differ from simply writing negative test cases?
17Why might a team adopt "consumer-driven contract testing" instead of full end-to-end integration tests for microservices?
18What is the significance of "idempotency testing" for APIs, particularly in distributed systems with retries?
19How does "model-based testing" generate test cases, and what is a key advantage over manually written test cases?
20What organizational challenge does "you build it, you test it, you run it" (common in DevOps culture) address compared to traditional siloed QA teams, and what risk does it introduce if not balanced properly?