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. A Do Loop

  2. B. Recovery Scenario

  3. C. IFHEN statement

  4. D. Selectase statement

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

Recovery Scenarios are specifically designed to handle unpredictable exceptions during testing, such as unexpected pop-ups, crashes, or object state changes. Do Loop is for controlled iteration, IFTHEN is conditional logic, and Select Case handles multiple conditions. Recovery Scenarios provide event-driven exception handling.

Multiple choice technology testing
  1. True

  2. False

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

Retesting checks if a specific defect fix works. Regression testing checks if the fix broke other parts of the system. They are different - retesting is focused on the fixed issue, regression is broader.

Multiple choice technology testing
  1. True

  2. False

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

Integration testing involves testing the interactions between integrated modules or systems. It can employ both black-box testing (verifying inputs and outputs without seeing internal code) and white-box testing (examining internal logic and code structures). While integration testing is a level of testing rather than a method, it commonly uses both approaches at module interfaces.

Multiple choice technology testing
  1. Scheme Verification

  2. XML Validation

  3. XML Verification

  4. Scheme Validation

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

Scheme Validation is the recommended QTP functionality to verify object repository XML files conform to the QTP object repository schema. The other terms (Scheme Verification, XML Validation, XML Verification) are not actual QTP features.

Multiple choice technology testing
  1. to find faults in software

  2. to prove that software has no faults

  3. to give confidence in the software

  4. to find performance problems

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

Testing cannot prove software has no faults - it can only demonstrate the presence of faults. Complete absence of faults is theoretically impossible to prove through testing alone. Finding faults, building confidence, and identifying performance problems are all valid testing objectives.

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

State Transition Testing is a black-box technique because it tests the system's external behavior as it transitions between different states without knowledge of internal code structure. The other options are all white-box techniques: Statement Testing examines code execution paths, Path Testing analyzes logical paths through code, and Data Flow Testing tracks how variables are used and defined throughout the code.

Multiple choice technology testing
  1. True

  2. False

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

The statement is false because Alpha Testing is conducted internally at the developer's site, NOT at the customer site. Alpha testing is performed before release by the development team or internal testers. Beta Testing is the phase that occurs at customer sites after alpha testing is complete. This distinction is important in the software release lifecycle.

Multiple choice technology testing
  1. to find faults in software

  2. to prove that software has no faults

  3. to give confidence in software

  4. to find performance problems

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

Option B is NOT a reasonable test objective because it's impossible to prove software has absolutely no faults - testing can only demonstrate the presence of defects, not their absence (Dijkstra's principle). The other options ARE reasonable: finding faults (A) is testing's primary purpose, giving confidence (C) through thorough testing is valid, and finding performance problems (D) helps ensure quality.

Multiple choice technology testing
  1. True

  2. False

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

Static white box testing involves analyzing the internal structure, design, and source code of an application without actually running the program. This includes code reviews, inspections, and walkthroughs to identify logic errors or security vulnerabilities early in the development cycle.

Multiple choice technology testing
  1. Static White-box

  2. Dynamic White-box

  3. Static Black-box

  4. Dynamic Black-box

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

Code coverage is a Dynamic White-box testing technique. It requires executing the code with test cases (dynamic) and analyzing the internal structure/branches (white-box). Static analysis examines code without execution, while black-box testing ignores internal structure.