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
  1. All-pairs testing

  2. Equivalence partitioning

  3. Boundary value analysis

  4. Path testing

  5. Decision tables

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

Basis path testing, or structured testing, is a method for designing test cases intended to examine each mathematically possible path of execution at least once.It is a white-box testing technique.

Multiple choice
  1. Equivalence partitioning

  2. Branch testing

  3. Data flow testing

  4. Condition testing

  5. Loop testing

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

Equivalence partitioning (also called Equivalence Class Partitioning or ECP) is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. It is a black-box testing technique. It is nota form of control-structural testing.

Multiple choice
  1. Stress testing

  2. Load testing

  3. Soak testing

  4. Spike testing

  5. Isolation testing

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

Soak testing, also known as endurance testing, is usually done to determine if the system can sustain the continuous expected load. During soak tests, memory utilization is monitored to detect potential leaks. Also important, but often overlooked is performance degradation. That is, to ensure that the throughput and/or response times after some long period of sustained activity are as good or better than at the beginning of the test. It essentially involves applying a significant load to a system for an extended, significant period of time. The goal is to discover how the system behaves under sustained use.

Multiple choice
  1. Regression testing is an integral part of the extreme programming software development method.

  2. Regression testing includes rerunning previously completed tests.

  3. Regression testing seeks to uncover new software bugs.

  4. Regression testing can be used for tracking the quality of output.

  5. Regression tests can be broadly categorized as non-functional tests.

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

Regression tests can be broadly categorized as functional tests or unit tests. Functional tests exercise the complete program with various inputs. Unit tests exercise individual functions, subroutines, or object methods. Both functional testing tools and unit testing tools tend to be third-party products that are not part of the compiler suite, and both tend to be automated. A functional test may be a scripted series of program inputs, possibly even involving an automated mechanism for controlling mouse movements and clicks. A unit test may be a set of separate functions within the code itself, or a driver layer that links to the code without altering the code being tested.