Preparing for software testing interviews or strengthening your QA skills? This Software Testing MCQs collection covers testing fundamentals, testing levels and types, STLC, test design techniques, defect management, automation, API testing, performance, security, Agile and DevOps, test management, database and mobile testing, and advanced practices. Use these multiple-choice questions to assess your knowledge and identify topics to revise.
Note: Score 60% or higher to unlock an exclusive offer of up to 50% off on all self-paced Software Testing and Quality Assurance courses.
Let's begin!
1. What is the primary goal of software testing?
2. Which activity verifies that software meets specified requirements?
3. What is the difference between an error and a defect?
4. Which testing principle states that exhaustive testing is impractical?
5. What does the term test oracle refer to?
6. Which quality characteristic concerns ease of modifying software?
7. What is the main purpose of a test plan?
8. Which document commonly maps requirements to test cases?
9. What is a test condition?
10. Which activity confirms that the product fulfills user needs in its intended context?
11. What is the purpose of a test summary report?
12. Which statement best describes risk-based testing?
13. Which testing level focuses on individual functions or components?
14. Which testing level checks interactions between integrated components?
15. Which testing level evaluates the complete integrated application?
16. Who typically performs user acceptance testing?
17. Which test type checks whether existing features still work after a change?
18. What is smoke testing mainly used for?
19. Sanity testing is generally performed to:
20. Which testing checks behavior against functional requirements?
21. Which testing evaluates performance attributes such as response time?
22. What is compatibility testing intended to verify?
23. Which testing checks whether an application can be installed and removed correctly?
24. What does exploratory testing combine?
25. What is usually the first major STLC phase?
26. During test analysis, the team primarily:
27. What is the key output of test design?
28. What is the purpose of test environment setup?
29. When does test execution begin?
30. What is retesting?
31. What is test closure concerned with?
32. What are entry criteria?
33. What are exit criteria?
34. Which metric indicates the proportion of planned test cases executed?
35. Why is requirement traceability useful during STLC?
36. What is a test deliverable?
37. Equivalence partitioning divides input data into:
38. Boundary value analysis focuses on:
39. For an input range of 1 to 100 inclusive, which set best represents boundary values?
40. Decision table testing is especially useful when behavior depends on:
41. State transition testing is best suited to systems where:
42. Use case testing derives tests primarily from:
43. Pairwise testing aims to cover:
44. Which technique uses experience to anticipate likely defects?
45. What is the purpose of a test condition?
46. Which technique is commonly used to test numeric input limits?
47. In a decision table, each column commonly represents:
48. What makes a test case effective?
49. What is a defect in software testing?
50. Which defect attribute describes its impact on business or system operation?
51. Which attribute indicates how soon a defect should be fixed?
52. What does a Reopened defect status usually mean?
53. What is defect triage?
54. What information is essential in a useful bug report?
55. What does a duplicate defect indicate?
56. What is defect leakage?
57. What is defect retesting intended to confirm?
58. What does Cannot Reproduce generally indicate?
59. Which measure can indicate how long defects remain unresolved?
60. Why should testers attach logs and evidence to defect reports?
61. What is the main benefit of test automation?
62. Which test cases are usually strong candidates for automation?
63. What is a test automation framework?
64. What does a Selenium WebDriver script commonly automate?
65. What is an assertion in an automated test?
66. What is a flaky test?
67. Why use explicit waits in browser automation?
68. What is Page Object Model (POM)?
69. What is a common limitation of UI test automation?
70. What is the purpose of automated regression suites?
71. Which practice improves automation maintainability?
72. What should a continuous integration pipeline do with automated tests?
73. What does API stand for?
74. Which HTTP method is generally used to retrieve a resource?
75. Which HTTP method is commonly used to create a resource?
76. What does HTTP status code 200 indicate?
77. What does HTTP status code 404 indicate?
78. Which format is widely used for JSON API responses?
79. What is an API endpoint?
80. What is the purpose of an API authentication test?
81. What does idempotency mean for an HTTP operation?
82. Which tool is commonly used to send and inspect API requests?
83. What should an API contract define?
84. What is schema validation in API testing?
85. What is the main purpose of load testing?
86. What does stress testing evaluate?
87. What is endurance testing?
88. What does response time measure?
89. What is throughput?
90. What is a bottleneck in performance testing?
91. Which metric is useful for monitoring server resource pressure?
92. What is spike testing designed to assess?
93. Why is a realistic workload model important?
94. What does concurrency refer to in load testing?
95. What is a baseline in performance testing?
96. Which result may indicate a memory leak?
97. What is the primary goal of security testing?
98. What does SQL injection exploit?
99. What is cross-site scripting (XSS)?
100. What does authentication verify?
101. What does authorization determine?
102. What is the principle of least privilege?
103. What is a vulnerability scan used for?
104. What is penetration testing?
105. Why should sensitive data be masked in test environments?
106. What is multi-factor authentication?
107. What does encryption provide?
108. What is a common purpose of security headers in web applications?
109. What is the focus of database testing?
110. What does ACID stand for in database transactions?
111. What is referential integrity?
112. What is mobile application testing intended to assess?
113. What is device fragmentation?
114. What does cross-browser testing verify?
115. Why test different screen sizes?
116. What is a mobile interruption test?
117. What is the purpose of testing offline behavior?
118. What is data validation in database testing?
119. Which SQL command retrieves records from a table?
120. What is a transaction rollback expected to do?
121. What is static testing?
122. Which is an example of static testing?
123. What is dynamic testing?
124. What is mutation testing used to assess?
125. What is code coverage?
126. What is accessibility testing intended to verify?
127. What does usability testing evaluate?
128. What is A/B testing?
129. What is canary testing or a canary release commonly used for?
130. What is chaos engineering?
131. What is contract testing between services?
132. What is the purpose of observability in production quality practices?