volume_mute

Unit Testing and Debugging Relationship

publish date2026/06/17 05:25:32.675634 UTC

Complete the statement about the relationship between development testing and debugging: "Development testing is primarily a (1) process and is usually interleaved with (2) - the process of locating problems with the code and changing the program to fix these problems."

Please drag and drop the selected option in the right place or type it instead
validation testing
defect testing
code review
debugging

Correct Answer

(1) defect testing
(2) debugging

Explanation

Development testing is primarily a defect testing process where the aim is to discover bugs. It is interleaved with debugging - the process of locating problems with the code and changing the program to fix these problems. Testing discovers errors; debugging identifies their precise location and fixes them.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears