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. Testing is not context dependent

  2. Exhaustive testing is possible

  3. Early testing is impossible

  4. Absence-of-errors fallacy

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

The absence-of-errors fallacy is a fundamental testing principle stating that finding and fixing defects does not guarantee a usable system. A system can be defect-free but still fail to meet user needs or business objectives. Testing is context-dependent, exhaustive testing is impossible, and early testing is actually recommended.

Multiple choice technology testing
  1. Test Analysis and Design

  2. Test Planning and Control

  3. Test Implementation and Execution

  4. Evaluating Exit Criteria and Reporting

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

Test analysis and design is the phase where testability is evaluated. During this phase, testers examine the test basis (requirements, specifications) and test objects to determine if they can be effectively tested. This includes checking if the requirements are clear, measurable, and testable.

Multiple choice technology testing
  1. Checking which planned deliverables have been delivered

  2. Finalizing and archiving testware, the test environment and the test infrastructure for later reuse

  3. Handing over the testware to the maintenance organization

  4. Writing a test summary report for stakeholders

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

Test closure activities include checking planned deliverables, archiving testware, and handing over to maintenance. Writing a test summary report is actually part of evaluating exit criteria and reporting, not a test closure activity. The test summary report is created earlier when deciding if testing is complete.

Multiple choice technology testing
  1. Understanding what managers value about testing.

  2. write objective and factual incident reports and review findings

  3. Identifying potential customer work-arounds for bugs

  4. Promoting better quality software whenever possible.

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

Good relationships between testers and developers depend on professional, objective communication. Writing factual incident reports helps developers understand and fix issues without feeling personally attacked. Understanding managers, identifying workarounds, and promoting quality are all valuable but secondary to clear, objective reporting.

Multiple choice technology testing
  1. Each test stage has a different purpose

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing

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

Testing is split into distinct stages primarily because each stage serves a different purpose - unit testing checks individual components, integration testing checks interfaces, system testing checks the whole system, etc. This separation ensures comprehensive coverage.

Multiple choice technology testing
  1. User acceptance testing

  2. System testing

  3. Integration testing

  4. Regression testing

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

Regression testing involves re-running many existing tests repeatedly after each code change. Test tools automate this efficiently, saving significant time and effort compared to manual execution. Other testing types like UAT, system testing, and integration testing often require more human judgment and exploratory approaches that benefit less from pure automation.

Multiple choice technology testing
  1. The system shall be user friendly.

  2. The safety-critical parts of the system shall contain 0 faults.

  3. The response time shall be less than one second for the specified design load.

  4. The system shall be built to be portable.

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

A requirement is testable if it can be verified through a concrete, measurable test. Specifying that response time must be 'less than one second' under a specific load provides a quantifiable metric, unlike subjective or impossible criteria like 'user friendly' or '0 faults'.

Multiple choice technology testing
  1. System tests are often performed by independent teams.

  2. Faults found during system tests can be very expensive to fix.

  3. End-users should be involved in system tests.

  4. Functional testing is used more than structural testing.

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

System testing is typically performed by independent test teams (option A is true). Faults found during system testing are indeed expensive to fix because they're caught late in development (option B is true). Functional testing, which tests against requirements, is more commonly used than structural testing in system testing (option D is true). End-users are primarily involved in user acceptance testing, not system testing, making option C the false statement.

Multiple choice technology testing
  1. time runs out.

  2. the required level of confidence has been achieved.

  3. no more faults are found.

  4. the users won’t find any serious faults.

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

Testing is complete when the required level of confidence has been achieved, not when arbitrary conditions are met. Time running out (option A) is a constraint, not a completion criterion. Finding no more faults (option C) is unrealistic and doesn't prove sufficient coverage. Option D is subjective and unmeasurable. Option B is the only criterion based on measurable confidence levels and risk assessment.

Multiple choice technology testing
  1. It includes the verification of designs.

  2. It states that modules are tested against user requirements.

  3. It specifies the test techniques to be used.

  4. It only models the testing phase.

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

The V-model is a systems development lifecycle model that maps testing phases directly to corresponding development phases. It verifies designs early through static techniques and aligns verification (like design reviews) with validation (testing code against specifications).

Multiple choice technology testing
  1. Features to be tested

  2. Incident reports

  3. Risks

  4. Schedule

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

A test plan includes features to be tested (option A), risks (option C), and schedule (option D) - these are all planning elements. Incident reports (option B) are documents created during test execution when defects are found. They are outputs of the testing process, not inputs to the planning phase.

Multiple choice technology testing
  1. found in the software; the result of an error.

  2. departure from specified behavior.

  3. an incorrect step, process or data definition in a computer program.

  4. a human action that produces an incorrect result.

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

A failure is a departure from specified behavior - the system doesn't work as expected. Option A describes a defect or bug in the software. Option C describes an error in the code. Option D describes a mistake made by a person. The standard sequence is: mistake (human) → error (code defect) → failure (observable incorrect behavior).

Multiple choice technology testing
  1. Is the task done correctly

  2. Is the correct task done

  3. Is the task complete

  4. Is the task created

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

Verification asks 'Are we building the product right?' - it checks that the software correctly implements the documented requirements and specifications. Option A 'Is the task done correctly' captures this - it's about process correctness. Validation asks 'Are we building the right product?' which is about whether requirements themselves match user needs. Option A correctly identifies verification as process correctness.

Multiple choice technology testing
  1. Is the task done correctly

  2. Is the correct task done

  3. Is the task complete

  4. Is the task created

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

Validation asks 'Are we building the right product?' - it verifies that the software being built actually addresses the real user needs and intended purpose. Option B 'Is the correct task done' captures this - it's about requirements validity, not implementation correctness. Verification (Option A) is about building correctly according to specs. Option B correctly identifies validation as checking whether the right product is being built.

Multiple choice technology testing
  1. Automation testing is the process of developing and executing tests that can run unattended

  2. Automation testing is the process of developing and executing tests that can run with manual intervention

  3. All testing procedures are called automation testing

  4. Automation testing is the process of developing and executing tests that can be run by testers

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

The defining characteristic of automated testing is that tests execute without human intervention during the run - you write the test once, and it runs repeatedly unattended. Option A correctly states this key feature. Option B is wrong because manual intervention contradicts automation. Option C is too broad - not all testing is automated. Option D is incorrect because automation's purpose is to eliminate the need for testers to manually run each test. Option A is correct.