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

Multiple choice technology testing
  1. re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed

  2. re-testing is done after faults are fixed; regression testing is done earlier

  3. re-testing is done by developers; regression testing is done by independent testers

  4. re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Re-testing (or confirmation testing) runs the same test cases to confirm a specific defect is fixed. Regression testing runs tests on unchanged parts of the system to ensure no new defects or side-effects were introduced by changes.

Multiple choice technology testing
  1. yes, because testing includes all non-constructive activities

  2. no, because they apply to development documentation

  3. yes, because both help detect faults and improve quality

  4. no, because they are normally applied before testing

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Reviews and inspections are static testing techniques that examine documentation or code without execution. Like dynamic testing, their purpose is detecting defects and improving quality, making them part of the broader testing discipline. Static testing finds faults earlier and cheaper than dynamic testing, complementing test execution. The testing lifecycle includes both static and dynamic techniques.

Multiple choice technology testing
  1. as the first approach to deriving test cases

  2. by inexperienced testers

  3. after more formal techniques have been applied

  4. after the system has gone live

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Error guessing is an experience-based, informal technique. It is most effective as a complement after formal, systematic techniques (like boundary value analysis) have been applied to ensure no obvious gaps remain uncovered.

Multiple choice technology testing
  1. when the test completion criteria have been met

  2. when all planned tests have been run

  3. when no faults have been found by the tests run

  4. when time for testing has run out

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Testing should stop when defined exit criteria (completion criteria) are met, ensuring objective quality goals are satisfied. Running out of time or tests is resource-based, not quality-based, and finding no faults may just mean tests are ineffective.

Multiple choice technology testing
  1. Yes,the test can be recovered from the Unattached folder

  2. No, once a test is deleted .it is gone

  3. Yes,the tests can be recovered from the Subject folder

  4. No,only Project Manager have permission to recover deleted tests

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In HP Quality Center's Test Plan module, deleting a folder does not permanently delete the tests immediately; instead, the tests are moved to the system-created 'Unattached' folder, allowing recovery. They do not go to the Subject folder, and they are not permanently deleted right away.

Multiple choice technology testing
  1. From the Requiremnts module

  2. On the test details page (Test Plan)

  3. On the attachments page(TestPlan)

  4. From The Test Lab module

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In the Requirements module, you select requirements and use the 'Cover' or 'Add Test' buttons to link tests to requirements. While you can see requirements on test details, the actual linking happens from Requirements module. Test Lab is for execution, not linking.

Multiple choice technology testing
  1. Testcases

  2. Repository

  3. Load test

  4. Defects

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Quality Center is fundamentally a repository - it stores and manages test assets (requirements, tests, defects, cycles). 'Testcases' and 'Defects' are items within the repository, not its main function. Load testing is separate functionality.

Multiple choice technology testing
  1. Requirement and Defect

  2. Requirement,Test Plan,Test Lab and Defect

  3. Requirement,Test Plan and Defect

  4. Defect

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Quality Center/ALM, defects can be logged from multiple modules to provide flexibility throughout the testing lifecycle. The Defect module itself is the primary location, but you can also log defects directly from the Requirements module (when reviewing requirements), Test Plan module (during test design/execution), and Test Lab module (while running tests). This integrated workflow allows testers to capture issues immediately upon discovery, regardless of which module they are working in.

Multiple choice technology testing
  1. Details

  2. Design Steps

  3. Test Script

  4. Req Coverage

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In the Test Plan module of Quality Center/ALM, the Design Steps tab contains the detailed test steps where you can specify manual or automated execution. This tab provides the option to convert a manual test (with defined steps) into an automated test by associating it with an automated test script or tool. The Details tab contains general test metadata, Test Script is for actual automation code, and Req Coverage shows requirement mappings.

Multiple choice technology testing
  1. Non-functional(Excluding Performance Testing)

  2. Non Functional(Including Performance Testing)

  3. Functional

  4. All of the above

  5. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

OAT (Operational Acceptance Testing) performs non-functional testing such as security, usability, reliability, and compatibility testing, but excludes performance testing. Option A correctly describes this scope. Options B incorrectly includes performance testing, while C incorrectly suggests functional testing which is done in other phases.

Multiple choice technology testing
  1. Functional changes in components/systems

  2. Connectivity between components/systems

  3. Completeness of backups

  4. If OAT is successful

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Heartbeat messages are periodic signals sent between components to verify that communication channels are working and systems are reachable. They specifically test connectivity status rather than functionality, backup completeness, or test success. When heartbeats stop, it indicates a connection failure.

Multiple choice technology testing
  1. test management & control,

  2. test specifications & design,

  3. test execution & logging,

  4. performance & monitoring

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Test data preparation tools support the test specification and design phase by helping create, manage, and prepare the data sets needed for test scenarios. They are not used for test management/control (A), execution/logging (C), or performance monitoring (D), which are separate testing activities.

Multiple choice technology testing
  1. Requires knowledge on the bug fixes and how it affect the system

  2. Includes the area of frequent defects

  3. Includes the area which has undergone many/recent code changes

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Effective regression test selection requires multiple considerations: understanding how bug fixes impact system behavior (A), focusing on areas with historical defect patterns (B), and prioritizing recently changed code (C). All three factors are necessary for comprehensive regression coverage.

Multiple choice technology testing
  1. The failure occurs only if you reach a statement taking the TRUE branch of an IF statement, and you got to the statement with a test that passed through the FALSE branch.

  2. The failure depends on the program's inability to handle specific data values, rather than on the program's flow of control.

  3. Both A and B

  4. We are not required to test code that customers are unlikely to execute.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Complete statement coverage can miss bugs because some defects only occur under specific branch conditions (A), while others depend on data value handling rather than control flow (B). Both scenarios mean a bug can exist even when every statement is executed. Option D is a testing strategy, not a reason for coverage gaps.

Multiple choice technology testing
  1. deviations from standards,

  2. requirement defects,

  3. design defects,

  4. insufficient maintainability and incorrect interface specifications.

  5. All of the above.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Static code reviews excel at finding non-runtime defects such as coding standard deviations, ambiguous requirements, flawed architecture/designs, poor maintainability, and interface mismatches before dynamic execution starts.