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

  2. test plan data

  3. test Instance data

  4. requirements data

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

Quality Center allows importing defects data, test plan data (test cases), and requirements data to populate the repository. Test Instance data is not directly imported - instances are created when test cases are added to test sets. Option C describes test instances which are generated, not imported.

Multiple choice technology testing
  1. Coverage Analysis

  2. Coverage Requirements

  3. Test Coverage

  4. Coverage graph

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

Coverage Analysis view shows how child requirements are covered by tests, displaying the breakdown based on test coverage status. This helps identify which requirements have adequate test coverage and which don't. Options B, C, and D are not standard Quality Center view names for this analysis.

Multiple choice technology testing
  1. Convert lowest requirements to child steps

  2. Convert lowest child requirement to design steps

  3. Convert lowest child requirements to subject

  4. Convert all requirements to tests

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

The Automatic Conversion method can convert the lowest-level child requirements into design steps for test cases. This generates granular test steps from detailed requirements. Option A suggests child steps, not design steps. Option C mentions converting to subject which is not a valid conversion target.

Multiple choice technology mainframe
  1. Displays from 1 to 99 and program ends normally

  2. displays from 1 to 100 and program ends normally

  3. Program will terminate abnormally without displaying anything

  4. displays till 99 and program will terminate abnormally

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

The loop increments #A from 1 to 99 (when #A=99, condition fails and it exits), then RESET fails because #A is already 99, causing abnormal termination. Options A and B are wrong because the program doesn't end normally.

Multiple choice technology testing
  1. Gorilla Testing

  2. Monkey Testing

  3. Automation Testing

  4. User Testing

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

Monkey Testing is a software testing technique where tests are performed randomly with the goal of breaking the system. It simulates a monkey randomly using the application without specific test cases, helping discover unexpected bugs and crashes that structured testing might miss. Automation tools are often used to generate these random inputs.

Multiple choice technology testing
  1. Stress Testing

  2. Random testing

  3. Ad Hoc testing

  4. Functional Testing

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

Ad Hoc testing is an informal testing approach where the tester tries to break the system by randomly exploring its functionality without formal test plans or documentation. Unlike structured testing methods, it relies on the tester's intuition and experience to find defects through spontaneous exploration.

Multiple choice technology testing
  1. Unit Testing

  2. Endurance Testing

  3. Monkey Testing

  4. Gorilla Testing

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

Gorilla Testing is a testing technique where one particular module or component is tested heavily and repeatedly to ensure it works correctly under all conditions. Like a gorilla pounding on one spot, this approach focuses intensive testing effort on a single area rather than broad coverage, often used for critical or complex modules.

Multiple choice technology testing
  1. Endurance testing

  2. Functional Testing

  3. Exhaustive testing

  4. Ad Hoc Testing

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

Endurance testing specifically targets problems that emerge during extended runtime, such as memory leaks, resource exhaustion, or performance degradation that compound over time. Functional testing validates behavior against requirements, exhaustive testing tries all possible inputs (impractical), and ad hoc testing is informal exploration.

Multiple choice technology testing
  1. Random Testing

  2. Exhaustive testing

  3. Endurance testing

  4. Mutation testing

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

Exhaustive testing is a testing approach that attempts to cover all possible combinations of input values and preconditions for a software element. It theoretically tests every possible path and scenario, though this is often impractical for complex systems due to combinatorial explosion. Random testing selects inputs arbitrarily, while endurance testing checks for issues during prolonged execution, and mutation testing modifies code to verify test suite effectiveness.

Multiple choice technology testing
  1. Ad Hoc testing

  2. Gorilla testing

  3. Monkey testing

  4. Mutation testing

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

Monkey testing is a testing technique where automated tools randomly execute system functionality without specific test cases. It's named after the concept of a monkey randomly interacting with a system. This differs from Ad Hoc testing (unstructured but manual), Gorilla testing (focused repetitive testing of critical features), and Mutation testing (modifying code to test test suite effectiveness).

Multiple choice technology testing
  1. Endurance Testing

  2. Exhaustive Testing

  3. Mutation Testing

  4. Ad Hoc tesing

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

Ad Hoc testing is an informal, unstructured testing approach where testers randomly execute system functionality to find defects. Unlike other testing types, it relies on tester intuition and lacks formal planning. Endurance testing checks for issues over prolonged execution, Exhaustive testing covers all input combinations, and Mutation testing modifies code to verify test effectiveness.

Multiple choice technology testing
  1. Gorilla Testing

  2. Monkey Testing

  3. Load Testing

  4. Stress Testing

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

Gorilla Testing involves testing a single module, node, or function repeatedly and heavily to verify its robustness under extreme conditions. In contrast, Monkey Testing refers to random testing without a test plan, whereas Load and Stress testing assess performance and limits of the entire system under workload.

Multiple choice technology testing
  1. Long Testing

  2. Stress Testing

  3. Endurance testing

  4. Exhaustive testing

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

Endurance testing (also called longevity or soak testing) checks for problems that occur during prolonged system execution. It specifically targets memory leaks, resource exhaustion, and performance degradation that may only appear after extended operation. This differs from stress testing (overloading the system) and exhaustive testing (covering all inputs).

Multiple choice technology testing
  1. Ad Hoc Testing

  2. Exhaustive testing

  3. Mutation Testing

  4. Random testing

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

Exhaustive testing is a systematic approach that attempts to cover all possible combinations of input values and preconditions for a software element. It theoretically tests every path, state, and input combination, though this is often impractical for complex systems due to the exponential growth of test cases. This differs from random testing (arbitrary input selection) and mutation testing (code modification).