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
-
Synchronisation
-
Paramerization
-
Smart identification
-
Transaction
B
Correct answer
Explanation
Parameterization is the feature of selecting different test data values at run-time. It allows tests to use data-driven inputs from external sources (data tables, Excel, databases) instead of hardcoded values, enabling the same test to run with multiple data sets.
-
Do Loop
-
Recovery Scenario
-
IF THEN Statement
-
Select case statement
B
Correct answer
Explanation
A Recovery Scenario in HP QuickTest Professional (QTP) is designed to handle unpredictable errors and testing exceptions during execution. Standard control statements like Do Loop or IF cannot handle unexpected popups.
-
Analog mode
-
Low level Recording mode
-
Normal Recording mode
-
Run Analog mode
B
Correct answer
Explanation
Low-Level Recording mode is specifically used when QuickTest cannot recognize an object during recording. It records at the coordinate level. Analog mode is for continuous mouse/keyboard operations, Normal mode is standard recording, and Run Analog is not a recording mode type.
-
Call Action
-
Split Action
-
Reusable Action
-
Called action
C
Correct answer
Explanation
A Reusable Action can be called by other tests or actions in QTP, enabling code modularity and reusability. Call Action is a command, Split Action divides actions, and Called action is not the formal term for this capability.
-
Synchronize
-
Wait
-
WaitProperty
-
Pause
C
Correct answer
Explanation
WaitProperty is the synchronization method that waits for a specific object property to reach a desired value. Synchronize is a general term, Wait introduces a fixed delay, and Pause halts execution without property-based waiting.
-
Is the same as equivalence partitioning tests
-
Test boundary conditions on, below and above the edges of input and output equivalence classes
-
Tests combinations of input circumstances
-
Is used in white box testing strategy
B
Correct answer
Explanation
Boundary value analysis is a black-box testing technique that focuses on testing at the boundaries, just below, and just above the edges of input and output equivalence classes. It's distinct from equivalence partitioning (A), doesn't test combinations (C), and is not specific to white-box testing (D).
-
System testing
-
Usability testing
-
Performance testing
-
Both b & c
D
Correct answer
Explanation
Non-functional testing evaluates system attributes beyond functional behavior. Usability testing assesses user experience and interface design, while Performance testing measures system responsiveness, scalability, and speed under load. Both test quality characteristics rather than specific features.
-
Data tester
-
Boundary tester
-
Capture/Playback
-
Output comparator
C
Correct answer
Explanation
Capture/Playback tools record manual test interactions and replay them automatically, making them ideal for regression test automation. They capture user actions and test inputs during manual execution, then reproduce them precisely to validate that recent changes haven't broken existing functionality.
-
Done by the Developer
-
Done by the Test Engineers
-
Done By Management
-
Done by an Entity Outside the Project’s sphere of influence
D
Correct answer
Explanation
Independent Verification & Validation means testing performed by an organization completely separate from the development project. This independence ensures objectivity - the evaluating entity has no stake in the project's outcome and no influence from the development team, providing unbiased quality assessment.
-
updating tests when the software has changed
-
testing a released system that has been changed
-
testing by users to ensure that the system meets a business need
-
testing to maintain business advantage
B
Correct answer
Explanation
Maintenance testing involves testing a system that has already been released and is operational, after changes or modifications have been made. It ensures that updates, patches, or enhancements haven't introduced defects and that the system continues to function correctly in its production environment.
-
performed by customers at their own site
-
performed by customers at the software developer's site
-
performed by an Independent Test Team
-
performed as early as possible in the lifecycle
A
Correct answer
Explanation
Beta testing is performed by actual end users at their own locations using their own hardware and data. This distinguishes it from alpha testing, which is conducted at the developer's site by internal teams. Beta testing provides real-world validation before general release.
-
re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects
-
re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed
-
re-testing is done after faults are fixed; regression testing is done earlier
-
re-testing is done by developers; regression testing is done by independent testers
A
Correct answer
Explanation
Re-testing (confirmation testing) is performed to verify that a specific bug has been successfully resolved. Regression testing checks whether recent code modifications have accidentally introduced new faults or broken existing functionality in unmodified areas of the system. Their purposes and scopes are distinct.
-
It includes the verification of designs.
-
It states that modules are tested against user requirements.
-
It specifies the test techniques to be used.
-
It only models the testing phase.
B
Correct answer
Explanation
The V-model is a software development model that links each development phase with a corresponding testing phase. Its key principle is that modules are validated against user requirements through verification and validation activities. Option B correctly captures this fundamental testing principle.
-
When the specified number of faults are found.
-
When the test completion criteria are met.
-
When all high and medium priority tests are complete.
-
When all statements have been executed.
B
Correct answer
Explanation
Testing stops when predetermined completion criteria are met, not when arbitrary fault counts are reached or specific test categories finish. Good test planning defines exit criteria based on risk, coverage, and quality thresholds. Statement coverage alone is insufficient as a stopping criterion.
-
Features to be tested
-
Incident reports
-
Risks
-
Schedule
B
Correct answer
Explanation
A test plan typically includes features to be tested, risks, schedule, and scope. Incident reports are outputs of test execution, not inputs to planning. They belong in test summary reports, not the plan itself. The plan documents what will be tested and how, not results from testing.