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. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing

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

Statement testing (A) examines code execution - white box. Path testing (B) analyzes code paths - white box. Data flow testing (C) tracks variable use - white box. State transition testing (D) focuses on system states and transitions - this is black-box testing, not white-box, as it tests behavior without examining internal code.

Multiple choice technology testing
  1. Cost of automation

  2. Performance of automation

  3. Value of automation

  4. Quality of automation

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

When introducing automation, demonstrating its value (such as ROI and time saved) is critical to justify the initial high investment. While cost, quality, and performance are important metrics, proving value is the primary driver for adoption.

Multiple choice technology testing
  1. Effort needed to automate a set of given test cases

  2. Cost needed to automate a set of given test cases

  3. Percentage of a set of given test cases that is automatable

  4. Investment done to automate a set of given test cases

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

Automation Index measures what portion of your test suite can be automated. Option C correctly identifies it as a percentage of automatable test cases. The other options focus on cost, effort, or investment rather than the core metric of automatability.

Multiple choice technology testing
  1. Percentage automatable

  2. Automation progress

  3. Automation Index

  4. Automation coverage index

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

Automation Progress tracks completion of your automation effort by comparing automated cases against automatable ones. Unlike Automation Index (which measures potential), this measures actual progress toward that potential.

Multiple choice technology testing
  1. Defects with severity 1 and 2

  2. Defects that are keeping maximum number of test cases in wait

  3. Defects that are linked with same requirement

  4. Defects with a high priority

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

This report identifies defects that block the execution of the largest number of test cases, keeping them in a waiting state. High severity or priority bugs do not necessarily block tests, and requirement linking does not measure blocking status.

Multiple choice technology testing
  1. Error discovery rate

  2. Problem reports by priority

  3. Defect ageing

  4. Defect fix retest

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

Problem reports by priority directly reflects quality by showing the distribution of defects by severity. This quality-focused metric differs from process metrics like ageing or retest, which measure timing and workflow efficiency.

Multiple choice technology testing
  1. Critical

  2. Major

  3. Minor

  4. Severe

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

A Major defect is one with significant impact that still allows testing to continue, especially when a workaround exists. Critical defects block testing entirely, while Minor defects have negligible impact. The presence of an interim solution confirms this is Major rather than Critical.

Multiple choice technology testing
  1. Software scalability

  2. Infrastructure utilization

  3. Invalid data entries

  4. Both (a) and (b)

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

Performance testing focuses on system responsiveness, throughput, scalability, and resource utilization (infrastructure). Invalid data entries are functional defects that would be caught during functional testing, not performance testing. Performance testing assumes valid inputs and tests how the system performs under load.

Multiple choice technology testing
  1. Databases

  2. Forward Compatibility

  3. Backward Compatibility

  4. Compatibility of Peripherals

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

Compatibility testing validates actual software interactions with databases, backward compatibility with older versions, and peripheral compatibility. Forward compatibility (future unknown versions) cannot be tested - it's a design consideration, not a validation element. We can test backward compatibility but cannot predict future system requirements.

Multiple choice technology testing
    1. Response time
    1. Response time and 3. Memory Leak
    1. Response time and 2. Reliability
  1. All of the above

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

Functional testing validates what the system does (features and behavior), not how it performs. Response time, reliability, and memory leaks are non-functional quality attributes that require specialized performance, stress, and longevity testing respectively. Functional testing assumes the system works and checks if features meet requirements.