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
-
Polarity tester
-
LAN analyzer
-
Line analyzer
-
Breakout box
C
Correct answer
Explanation
A line analyzer is the instrument designed to monitor telephone or data lines for voltage surges, noise, and other abnormalities. The other listed tools serve different purposes, making the stored answer correct.
A
Correct answer
Explanation
In Quality Center (QC/ALM), requirements can be mapped to test plans within the Test Plan module. This allows traceability between requirements and test cases. The mapping ensures test coverage for all requirements.
C
Correct answer
Explanation
In Quality Center/ALM, test scripts (test cases) typically have 5 possible statuses: Not Completed, Passed, Failed, No Run, and N/A. This covers the full lifecycle of test execution from not started to various completion states.
A
Correct answer
Explanation
Quality Center allows linking defects directly from the Test Lab module. After running a test, you can link a defect to the test run to track failures. This integration between Test Lab and Defects modules is a core feature for defect tracking.
A
Correct answer
Explanation
Requirement mapping can be done from the Test Plan module in Quality Center. You can associate test cases with requirements to establish traceability. This Coverage Analysis feature shows which requirements are covered by which tests.
C
Correct answer
Explanation
Test scripts in Quality Center have 5 standard statuses covering their lifecycle: Not Completed (not run), Passed, Failed, No Run (skipped), and N/A (not applicable). These statuses allow teams to track test execution progress and results accurately.
-
Regression testing
-
Integration testing
-
System testing
-
User acceptance testing
A
Correct answer
Explanation
Regression testing benefits most from test capture and replay facilities because it involves repeatedly running the same tests after code changes. Captured test scenarios can be automatically replayed to verify that existing functionality remains intact, which is the core purpose of regression testing.
-
Find bugs in the program
-
Check the technical accuracy of the document
-
Ensure the ease of use of the document
-
Ensure that the program is the latest version
B
Correct answer
Explanation
Comparing a user manual with the actual program behavior during system testing verifies that the documentation accurately reflects what the software does. This ensures users receive correct instructions and prevents confusion from mismatches between documented and actual behavior. Finding bugs (A) is a secondary benefit, not the primary goal. Ease of use (C) and version checking (D) are separate concerns.
-
Error Guessing
-
Boundary Value Analysis
-
Decision Table testing
-
Equivalence partitioning
D
Correct answer
Explanation
Equivalence partitioning achieves input and output coverage by grouping inputs that should be treated similarly into classes, then testing representatives from each class. This ensures coverage of all possible behaviors without testing every value. Boundary value analysis focuses on edges, error guessing is ad-hoc, and decision tables handle complex logic combinations.
-
Data driven testing
-
Migration testing
-
Configuration testing
-
Back to back testing
B
Correct answer
Explanation
Migration testing specifically verifies data conversion from legacy systems to new systems, checking that data is accurately transferred and transformed. Data-driven testing uses data files to drive tests, configuration testing checks software behavior under different configs, and back-to-back testing compares two systems' outputs.
-
Equivalence partitioning
-
State transition testing
-
LCSAJ
-
Boundary value analysis
C
Correct answer
Explanation
LCSAJ (Linear Code Sequence and Jump) is a white-box structural testing technique that analyzes code execution paths through the program. The other options - equivalence partitioning, state transition testing, and boundary value analysis - are all black-box techniques that test without examining internal code.
-
Once a test is deleted, it is gone
-
The tests can be recovered from the Subject folder
-
The test can be recovered from the Unattached folder
-
Only Project Managers have permission to recover deleted tests
C
Correct answer
Explanation
In HP Quality Center (now ALM), deleting a folder in the test plan tree does not permanently delete the tests themselves. Instead, they are moved to the Unattached folder, allowing them to be recovered from there. Subject is the root of the test plan tree, and once deleted, tests are not gone immediately, nor is this action restricted only to project managers.
-
Progress Tab of the Releases module
-
Quality Tab of the Release module
-
Defects module
-
Execution Flow Tab of the Test Lab module
B
Correct answer
Explanation
The Quality Tab within the Release module contains quality metrics including the Defect Opening Rate graph and Outstanding Defects graph. These graphs track defect trends and backlog. Option A's Progress Tab focuses on schedule progress, not defects. Option C's Defects module is for managing individual defects, not release-level metrics.
-
Coverage Analysis
-
Coverage Requirements
-
Test Coverage
-
Coverage graph
A
Correct answer
Explanation
Coverage Analysis view shows how child requirements are covered by tests, displaying the breakdown based on test coverage status. This helps identify which requirements have adequate test coverage and which don't. Options B, C, and D are not standard Quality Center view names for this analysis.
-
Convert lowest requirements to child steps
-
Convert lowest child requirement to design steps
-
Convert lowest child requirements to subject
-
Convert all requirements to tests
B
Correct answer
Explanation
The Automatic Conversion method can convert the lowest-level child requirements into design steps for test cases. This generates granular test steps from detailed requirements. Option A suggests child steps, not design steps. Option C mentions converting to subject which is not a valid conversion target.