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

Multiple choice technology testing
  1. All cycles

  2. Only 1st cycle

  3. Only last cycle

  4. none of cycle

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Yes indirectly linked to test instance

  2. No, a defect can be linked to only one entity

  3. No all linked to other entities must be done separately

  4. Yes, directly to other defect linked to test instance

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. No , it can not be recovered

  2. Yes, it can be from Subject folder

  3. Yes, it can be from Unattached folder

  4. Yes, it can be from Deleted folder

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. No

  2. Yes, however an automated test can not follow manual test

  3. Yes, automated and manual test may be used in same test

  4. None

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Test case

  2. Repository

  3. Load test

  4. Defects

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. The name and/or organisational position of the person raising the problem.

  2. Version of the Software Under Test.

  3. Suggestions as to how to fix the problem.

  4. Actual and expected results.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Test case specification.

  2. Test design specification.

  3. Test procedure specification.

  4. Test results.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. i, iii. and iv. are more for developers.

  2. ii. and iv. are more for developers.

  3. ii, iii. and iv. are more for developers.

  4. ii. and iii. are more for developers.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Unreachable code.

  2. Unreachable Variables

  3. Faults in the requirements

  4. Too few comments

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Boundary Testing

  2. Ad Hoc Testing

  3. Functional Testing

  4. Mutation Testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Ad Hoc Testing

  2. Compatibility Testing

  3. Endurance Testing

  4. Functional Testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Component Testing

  2. Scalability Testing

  3. Ad Hoc Testing

  4. Agile Testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Agile Testing

  2. Functional Testing

  3. Acceptance Testing

  4. Smoke Testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Component Testing

  2. Exhaustive Testing

  3. End-to-End Testing

  4. Functional Testing

Reveal answer Fill a bubble to check yourself
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.