Software Testing MCQs

Topic-wise practice questions for Software Engineering. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1hard
A function has a Cyclomatic Complexity of 5. What does this number technically tell the tester?
Q2medium
Which testing technique is most effective for discovering Logic Errors and "Dead Code" that can never be executed?
Q3medium
A software component accepts an integer input representing a user's age, which must be between 18 and 65 (inclusive). Using Boundary Value Analysis, which set of values represents the best test inputs?
Q4medium
A software product is finished and is currently being tested by a selected group of end-users at their own locations before the general public release. This is known as:
Q5easy
In software testing, what is "Oracle"?
Q6hard
(Code/Console Logic) A developer is analyzing a function's Control Flow Graph. Based on the logic below, what is the minimum number of test cases required to achieve 100% Statement Coverage? coverage_logic.cpp

void checkAccess(bool isAdmin, bool isActive) {
if (isAdmin) {
logAdminAccess();
    }
if (isActive) {
grantAccess();
    }
Q7easy
What is the primary objective of Performance Testing?
Q8easy
What is the difference between Smoke Testing and Sanity Testing?
Q9easy
What does the "Pesticide Paradox" in software testing suggest?
Q10medium
(Code/Console Logic) A QA engineer is looking at an Automation Report. Based on the console output, which testing category is being executed?