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. finding defects

  2. Gaining confidence in and providing information about the level of quality

  3. preventing defects

  4. all of the above

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

Testing serves multiple purposes: finding defects in the software, gaining confidence about quality by providing information, and preventing defects through early involvement (like test-driven development or reviews). Since all three purposes (A, B, C) are valid, 'all of the above' is the correct answer.

Multiple choice technology testing
  1. Coding

  2. Testing

  3. Debuging

  4. Designing

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

Debugging is the systematic process of identifying, analyzing, and removing defects or failures from software. While testing finds failures, debugging investigates the root causes and implements fixes. Coding is writing the program, testing checks if it works correctly, and designing plans the structure - none of these involve the systematic analysis and removal of failure causes.

Multiple choice technology testing
  1. Quality

  2. Result

  3. Failure

  4. Coverage

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

Coverage is defined as the degree, expressed as a percentage, to which a specified coverage item (such as branches, statements, or paths) has been exercised by a test suite. Other options like Quality, Result, and Failure do not represent percentage-based metrics of test execution thoroughness.

Multiple choice technology testing
  1. Test policy

  2. Test Strategy

  3. Test Approach

  4. Test Basis

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

A test policy is the highest-level document that describes an organization's overall principles, approach, and objectives for testing. It sets the direction and philosophy but doesn't detail specific methods. A test strategy is more specific, describing the approach for particular programs or test levels. Test approach is even more detailed and specific, while test basis refers to the documents used as reference for testing.

Multiple choice technology testing
  1. Test Control

  2. Test implementation

  3. Test ase execution

  4. Test monitoring

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

Test monitoring is the ongoing activity of periodically checking, tracking, and reporting the status of a test project. It provides visibility into progress without necessarily taking corrective action. Test control involves taking actions based on monitoring results. Test implementation prepares tests, and test case execution runs them - neither is primarily about periodic status checking.

Multiple choice technology testing
  1. Test policy

  2. Test approach

  3. Test Strategy

  4. Test Control

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

A test strategy provides a high-level description of the test levels to be performed (unit, integration, system, acceptance) and the testing activities within those levels for an organization or program. It bridges the gap between the high-level test policy and detailed test plans. A test policy is broader and more principle-based, test approach is more specific, and test control is an ongoing management activity.

Multiple choice technology testing
  1. N-Switch Coverage

  2. N-Switch Testing

  3. N+1 testing

  4. Mutation Testing

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

N-Switch Testing is a state transition testing technique where test cases are designed to execute all valid sequences of N-transitions. N-Switch Coverage is the metric used to measure this testing, but the design method itself is N-Switch Testing.

Multiple choice technology testing
  1. Standard

  2. Text

  3. Bitmap

  4. All of the above

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

QTP can validate multiple checkpoint types: standard checkpoints verify object properties, text checkpoints check text content, and bitmap checkpoints compare visual appearance. All listed types are valid QTP checkpoint categories.

Multiple choice technology testing
  1. Unit testing

  2. User Acceptance Testing

  3. Integration testing

  4. All of the above

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

In the standard testing sequence (Unit → Integration → System → Acceptance), User Acceptance Testing (UAT) is the final phase after System testing. Unit and Integration testing come before System testing.

Multiple choice technology testing
  1. True

  2. False

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

All three statements about Agile Testing are true: (a) Agile delivers small working code regularly, (b) Continuous integration/testing reduces defects, (c) Agile accepts late binding requirements (changes allowed). These are core Agile principles.

Multiple choice technology testing
  1. True

  2. False

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

Agile technical practices DO use TDD (a is correct), DO use Continuous Integration (b is wrong saying 'Non-Continuous'), and DO have high coding standards (c is wrong saying 'Low'). Since statements contradict core Agile technical practices, the answer is False.