Computer Knowledge
Software Testing and Quality Control
2,598 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
-
All cycles
-
Only 1st cycle
-
Only last cycle
-
none of cycle
A
Correct answer
Explanation
In HP ALM/Quality Center, when a requirement is assigned to a release, it needs to be tested across all cycles to ensure thorough validation. Testing only in one cycle would not provide complete coverage. Testing only in the last cycle would miss early feedback and integration issues. The 'all cycles' approach ensures regression testing and catches defects throughout the release lifecycle.
-
Release cycle
-
Parent requirement
-
Functional Requirement
-
Other child requirement
B
Correct answer
Explanation
In hierarchical requirement management tools (like HP ALM / Quality Center), linking a child requirement to a test automatically links its parent requirement to ensure proper traceability and coverage rollup.
-
Yes indirectly linked to test instance
-
No, a defect can be linked to only one entity
-
No all linked to other entities must be done separately
-
Yes, directly to other defect linked to test instance
A
Correct answer
Explanation
In HP ALM/Quality Center, when you log a defect during manual test execution, it is automatically linked to the test instance from which it was created. This indirect link maintains traceability between defects and test execution. The defect is not linked to only one entity - it has associations. No separate linking is required as the system handles it automatically. It's not directly linked to other defects, but to the test instance.
-
No , it can not be recovered
-
Yes, it can be from Subject folder
-
Yes, it can be from Unattached folder
-
Yes, it can be from Deleted folder
C
Correct answer
Explanation
In QC/ALM, when you delete a folder, it moves to the Unattached folder where it can be recovered. The Unattached folder acts as a temporary holding area for deleted items before they are permanently removed. The Deleted folder typically contains items that are permanently deleted and cannot be recovered.
-
No
-
Yes, however an automated test can not follow manual test
-
Yes, automated and manual test may be used in same test
-
None
C
Correct answer
Explanation
In QC/ALM, a test set can contain both manual and automated tests. Test sets are designed to be flexible containers that can organize different types of tests together. You can mix manual and automated tests within the same test set for comprehensive test execution and reporting.
-
Test case
-
Repository
-
Load test
-
Defects
B
Correct answer
Explanation
Quality Center (QC) is fundamentally a test management repository that stores and organizes test artifacts including test cases, requirements, and defects. Its primary functionality is to serve as a centralized storage and management system for all quality assurance processes and artifacts.
-
The name and/or organisational position of the person raising the problem.
-
Version of the Software Under Test.
-
Suggestions as to how to fix the problem.
-
Actual and expected results.
C
Correct answer
Explanation
Software incident reports document defects with factual information: who reported it, software version, and actual vs. expected results. They describe what went wrong, not how to fix it - determining the solution is a separate debugging task for developers.
-
Test case specification.
-
Test design specification.
-
Test procedure specification.
-
Test results.
A
Correct answer
Explanation
The test case specification defines test inputs, execution conditions, and expected results. Test design specification outlines the overall test approach, test procedure specification details execution steps, and test results document actual outcomes from test execution.
-
i, iii. and iv. are more for developers.
-
ii. and iv. are more for developers.
-
ii, iii. and iv. are more for developers.
-
ii. and iii. are more for developers.
B
Correct answer
Explanation
Coverage measurement tools help developers identify which code paths haven't been executed. Dynamic analysis tools detect runtime issues like memory leaks. Performance testing typically requires QA specialists, test comparators serve testers, and incident management is used across the team.
-
Unreachable code.
-
Unreachable Variables
-
Faults in the requirements
-
Too few comments
C
Correct answer
Explanation
Static code analysis examines source code structure to identify issues like unreachable code, unused variables, and insufficient comments. It cannot detect faults in requirements because requirements are not code - they are separate documents that static analysis tools don't process.
-
Boundary Testing
-
Ad Hoc Testing
-
Functional Testing
-
Mutation Testing
B
Correct answer
Explanation
Ad Hoc testing is unstructured, exploratory testing where testers randomly try various functionality to find unexpected defects. Boundary testing checks edge values, Functional testing validates requirements, and Mutation testing modifies code to verify test suite quality. 'Breaking the system randomly' is the hallmark of Ad Hoc.
-
Ad Hoc Testing
-
Compatibility Testing
-
Endurance Testing
-
Functional Testing
C
Correct answer
Explanation
Endurance testing (also called soak testing) evaluates system stability over prolonged periods to detect issues like memory leaks, resource exhaustion, or slow degradation that only appear after extended runtime. Ad Hoc is random exploration, Compatibility checks cross-platform behavior, and Functional testing validates features.
-
Component Testing
-
Scalability Testing
-
Ad Hoc Testing
-
Agile Testing
D
Correct answer
Explanation
Agile Testing is a practice in agile development where testing is integrated throughout the development lifecycle, with development treating testing as its customer and emphasizing test-first design through techniques like TDD. It promotes continuous testing alongside development rather than as a separate phase.
-
Agile Testing
-
Functional Testing
-
Acceptance Testing
-
Smoke Testing
C
Correct answer
Explanation
Acceptance testing is performed by customers or users to verify if the software meets business requirements and is ready for deployment. Agile testing is a development methodology, functional testing focuses on feature correctness, and smoke testing verifies basic build stability rather than final acceptance.
-
Component Testing
-
Exhaustive Testing
-
End-to-End Testing
-
Functional Testing
B
Correct answer
Explanation
Exhaustive Testing aims to test every possible combination of inputs and preconditions. While theoretically complete, it's usually impractical for real-world systems due to the exponential growth of test cases with each input variable.