In which debugging approach, the program is loaded with print statements to print the intermediate values with the hope that some of the printed values will…
In which debugging approach, the program is loaded with print statements to print the intermediate values with the hope that some of the printed values will help to identify the statement as error?
Show answerHide answer
Correct answer: (C) Brute Force Method
Explanation
In the brute force debugging method, the program is filled with print statements and memory dumps in the hope that the printed values will reveal the faulty statement. It is the most common but least efficient method.