Which of the following statements correctly describes the difference between testing and debugging?

  • A. Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities.
  • B. Testing shows failures caused by defects; debugging finds, analyzes, and removes the causes of failures in the software.
  • C. Testing removes faults; debugging identifies the causes of failures.
  • D. Testing prevents the causes of failures; debugging removes the failures.

Answer: Option B