Which one of the following errors is not easily tractable in programming? A. Run-time error
B. Logical error
C. Compile-time error
D. Syntax error
Which one of the following errors is not easily tractable in programming?
Share
The correct answer is B. Logical error.
Explanation: Logical errors are mistakes in a program’s logic that lead to incorrect results or behavior, even though the program runs without crashing. Unlike run-time errors, compile-time errors, or syntax errors, which can be easily identified and corrected, logical errors can be subtle and harder to trace since they do not produce immediate error messages or warnings. Instead, they often require careful debugging and testing to identify and fix.