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. 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).

Multiple choice technology testing
  1. True

  2. False

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

In a pest/defect tracking system (PEST likely refers to Project Error/Issue Tracking System), the testing type is a MANDATORY field. Every defect must be categorized by testing type (functional, performance, security, etc.) for proper triage, assignment, and metric analysis. This metadata is essential for defect lifecycle management.

Multiple choice technology testing
  1. Within the Project

  2. Outside the Project

  3. QAG

  4. All the above

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

External Quality Assurance is designed to provide an objective, unbiased review of project quality, which requires it to be conducted by personnel outside the project team. Internal QA is done within the project, while QAG (Quality Assurance Group) could be internal or external depending on the structure.

Multiple choice technology testing
  1. QA Prime

  2. Test Lead

  3. Tester

  4. QA Analyst

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

In the QA team hierarchy, the QA Analyst is responsible for day-to-day test execution and issue identification. When they encounter blocking issues or dependencies that prevent progress, they escalate these to the TCS QA Manager. Test Leads and QA Primes focus on planning and coordination, while Testers may report to QA Analysts rather than directly to QA Manager.

Multiple choice technology testing
  1. True

  2. False

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

Functional testing and Regression testing are sequential, not simultaneous. Functional testing validates new features first. Once features pass functional tests, THEN regression testing ensures existing functionality remains intact. Running them simultaneously would waste resources - if functional tests fail, there's no point running regression until fixes are made.

Multiple choice technology testing
  1. DDD

  2. High Level Scenarios

  3. Low Level Scenarios

  4. SSD

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

During the test design phase, test cases are developed based on high-level scenarios. High-level scenarios outline the overall flow and functionality to be tested, which are then refined into detailed test cases. Documents like DDD (Detailed Design Document) or SSD are design specifications, not test scenarios.