Computer Knowledge
Software Testing and Quality Control
2,292 Questions
Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.
Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions
Software Testing and Quality Control Questions
-
confirms that the software meets the technical specifications
-
confirms that the software meets the business requirement
-
validates the software modules
-
confirms that the software fills the gap between the expected and actual result
B
Correct answer
Explanation
Validation confirms that the software meets the business requirements and user needs - answering 'Are we building the right product?' Verification (option A) checks technical specifications. Option C describes unit testing, and option D is vague.
-
confirms that the software fills the gap between the expected and actual result
-
confirms that the software meets the business requirement
-
confirms that the software meets the technical specifications
-
verifies the software modules
C
Correct answer
Explanation
Verification is the process of evaluating software to determine whether the products of a given development phase satisfy the conditions imposed at the start of that phase (i.e., confirming it meets technical specifications). Validation confirms it meets business requirements.
B
Correct answer
Explanation
This statement is False. A Test Plan is a strategic document describing the scope, approach, resources, and schedule for testing activities. A step-by-step procedure for executing a specific test is called a Test Script or Test Procedure, not a Test Plan.
-
Entry criteria Test Verify Exit Criteria
-
Entry criteria Test Validate Exit criteria
-
Entry criteria Test Validation/Verification Exit criteria
-
None of the above
C
Correct answer
Explanation
ETVX stands for Entry criteria, Test, Verification/Validation, and Exit criteria. This is a testing documentation standard defining the conditions for starting tests, test procedures, verification/validation activities, and completion criteria.
-
Smoke test
-
Regression test
-
Module test
-
None of the above
A
Correct answer
Explanation
Smoke test (or build verification test) is the first system test performed to verify basic functionality. It checks that critical features work before deeper testing. Regression testing is for detecting defects in modified code, not the first test.
-
Stress Testing
-
Regression Testing
-
Smoke Testing
-
Guerilla Testing
D
Correct answer
Explanation
Guerilla Testing (or monkey testing) is an ad-hoc, unstructured testing technique where testers or business users quickly and randomly interact with the application to find weaknesses without following predefined test cases.
-
programming in pairs
-
Doing extensive Code Review
-
Unit testing of all the code
-
All of the above
D
Correct answer
Explanation
XP includes all three practices: pair programming (continuous review), extensive code review, and comprehensive unit testing. These together ensure code quality and rapid feedback.
-
Tool to detect defects
-
Tool to manage Test cases
-
Tool to generate xml
-
Tool to manage defects
D
Correct answer
Explanation
Bugzilla is a widely used, open-source web-based general-purpose defect tracking and bug reporting tool. It is not designed for writing test cases or generating XML.
-
To trak test execution progress
-
Tool to manage Test cases
-
Tool to maintain requirements
-
All of the above
D
Correct answer
Explanation
Mercury Quality Center (now HP ALM) is a comprehensive test management tool that tracks test execution progress, manages test case repositories, and maintains requirements with traceability. All three functions are core features.
-
Requirements Tab
-
Test Lab tab
-
Test Plan tab
-
Test Case tab
C
Correct answer
Explanation
In Mercury Quality Center/HP ALM, test cases are authored in the Test Plan tab where they're organized into folders and suites. Test Lab is for execution, Requirements Tab links requirements to tests, and there is no standalone Test Case tab.
-
When onsite team asks to mark it BLOCKED
-
When test case is out of scope
-
When we do not have time to execute a test case
-
When a test case is failing due to another FAILED test.
D
Correct answer
Explanation
A test case is marked BLOCKED when it cannot be executed due to a dependency failure - typically when another test case has failed and blocked the path forward. Being out of scope or lack of time are different statuses (N/A or Not Tested).
-
Close the defect without verifying developer comments.
-
Check developers comments and simply close the bug
-
Reopen the bug.
-
Check the developer comments and reopen the bug if you do not agree with it.
D
Correct answer
Explanation
When a developer rejects a defect, the tester should review the rejection reason, verify if it's justified, and reopen if they disagree with the developer's assessment. Simply closing without review, or always reopening, are both incorrect approaches.
-
Test Case which starts from the Gateway and ends elsewhere
-
Test Case which starts from the Gateway and ends at the Third Party
-
Test Case which starts from the Gateway and ends at the Gateway
-
Test Case which starts from the Gateway and ends at the Gateway through the Thirdparty
D
Correct answer
Explanation
E2E (End-to-End) test validates complete flow from entry point (Gateway) through external systems (Third Party) and back to entry point. Options A-C are incomplete as they don't return to origin. Only D captures the full round-trip through third-party systems.
-
Errors resulting from the services
-
Errors resulting from system failures
-
Errors resulting from the third parties
-
Errors resulting from eMM tool
-
It is how frequently the defect is occuring
-
It is how fast the defect needs to be resolved
-
It is how big the impact on the system
-
It is how long it takes to test the defect
C
Correct answer
Explanation
Severity measures the extent of impact a defect has on system functionality, user experience, or business operations. It's distinct from priority, which relates to how quickly a fix is needed.