Question Detail

COS 102 concept of problem solving; lecture 1 week 2 Objective Question

Question

According to the document, what is one key reason why debugging is considered a difficult task?
Options
A Compilers often fail to provide useful error messages.
B There may be no obvious relationship between the external manifestation(s) of an error and its internal cause(s).
Correct Answer
C Programmers always use inefficient debugging tools.
D Most bugs are intentionally hidden by other developers.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 16 lists several reasons 'Why Debugging is Hard', with the first being: 'There may be no obvious relationship between the external manifestation(s) of an error and its internal cause(s)'.

Hint

Review the bullet points on page 16 that explain the inherent difficulties and complexities of debugging.

Question Info