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 web technology
  1. (A)Version

  2. (B)Update

  3. (C)Help

  4. (D)Patch

  5. (E)Syntax

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

A patch is a small piece of software designed to fix bugs, defects, or security vulnerabilities. Unlike major version updates or upgrades, patches are typically focused fixes provided free of charge by software vendors to maintain software stability and security.

Multiple choice technology testing
  1. Simplicity

  2. Stability

  3. Observability

  4. All of the above

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

To answer this question, the user needs to know what is meant by testable software and what are its characteristics.

Testable software is software that can be easily tested to ensure that it meets the requirements and specifications provided. Characteristics of testable software include:

A. Simplicity: Testable software should be easy to understand and use. When software is simple, it is easier to test and identify issues.

B. Stability: Testable software should be stable and reliable. This means that it should perform consistently and not produce unexpected results.

C. Observability: Testable software should be observable, meaning that its behavior can be easily monitored and studied. This allows for easier identification of issues and faster resolution of problems.

Based on the above explanation, the correct answer is:

The Answer is: D. All of the above

Multiple choice technology testing
  1. black-box testing

  2. white-box testing

  3. behavioural testing

  4. grey-box testing

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

White-box testing (also called glass-box, clear-box, or structural testing) examines the internal structure, design, and coding of software. It requires the tester to have knowledge of the internal code and logic to design test cases that exercise different paths, branches, and conditions within the module. This is in contrast to black-box testing, which focuses on inputs and outputs without knowledge of internal code.

Multiple choice technology testing
  1. Checking that we are building the right system

  2. Performed by an independent test team

  3. Making sure that it is what the user really wants

  4. Checking that we are building the system right

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

Verification is the process of checking that we are building the system right - meaning it meets the specified requirements and technical specifications. It answers the question: Are we building the product correctly? This is different from validation, which checks that we are building the right system (whether it meets user needs and expectations).

Multiple choice technology testing
  1. Path Testing

  2. Data flow testing

  3. Statement testing

  4. State Transition testing

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

State Transition testing is a black-box testing technique that models system behavior as states and transitions between them. It focuses on the system's external behavior rather than internal code structure. In contrast, Path Testing, Data flow testing, and Statement testing are all white-box techniques that require knowledge of the internal code logic and structure.

Multiple choice technology testing
  1. System Testing

  2. Smoke Testing

  3. Sanity Testing

  4. Performance Testing

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

Smoke Testing (also called build verification testing) is performed to verify that the most critical functions of an application work properly without failing, ensuring the build is stable enough for further detailed testing. It acts as a preliminary check to decide whether to proceed with more comprehensive testing. Sanity Testing is similar but focuses on a specific functional area after a regression.

Multiple choice technology testing
  1. One

  2. More than two

  3. Two

  4. Three

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

The two main techniques in Black-box testing are Equivalence Partitioning and Boundary Value Analysis. Equivalence Partitioning divides input data into groups expected to be treated similarly, while Boundary Value Analysis focuses on testing at the boundaries between these partitions. These are foundational black-box testing methods.

Multiple choice technology testing
  1. Defect Clustering

  2. Pesticide Paradox

  3. Both 1 & 2

  4. None

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

Defect Clustering and Pesticide Paradox are both established principles of testing. Defect Clustering states that a small number of modules contain most defects, while Pesticide Paradox observes that repeating the same tests eventually becomes ineffective as they stop finding new defects. Since both are valid principles, option C (Both 1 & 2) is incorrect, making D (None) the correct answer.

Multiple choice technology testing
  1. An Error

  2. A Fault

  3. A Failure

  4. A Defect

  5. A Mistake

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

In software testing terminology, a 'Failure' is the deviation from specified or expected behavior that is visible to end-users. An error or mistake refers to the human action that caused the issue, a fault or defect is the imperfection in the code, but the observable incorrect behavior is called a failure.

Multiple choice technology testing
  1. Performed by customers at their own site

  2. Performed by customers at the software developer's site

  3. Performed by an Independent Test Team

  4. Performed as early as possible in the lifecycle

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

Beta testing involves customers using the software in their own environment with real data, unlike alpha testing which is conducted at the developer's site by internal staff. Independent test teams perform testing at various stages, and early lifecycle testing is a strategy not specific to beta testing.

Multiple choice technology testing
  1. Execution

  2. Design

  3. Planning

  4. Check Exit criteria completion

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

Finding faults during planning is most cost‑effective because defects detected early require minimal rework. Later activities like design, execution, or exit‑criteria checks are progressively more expensive, and the other choices do not offer the lowest remediation cost.