Quizzma Latest Questions

Which one of the following errors is not easily tractable in programming?

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




Leave an answer

Leave an answer

What is the capital of Egypt? ( Cairo )

1 Answer

  1. The correct answer is B. Logical error.

    Explanation: Logical errors are mistakes in a program that cause it to operate incorrectly or produce unintended results, even though the program runs without any crashes (i.e., no compile-time or run-time errors). These errors can be difficult to trace and fix because the program doesn’t provide explicit feedback that something is wrong; it simply behaves incorrectly based on the logic implemented. In contrast, runtime errors, compile-time errors, and syntax errors are usually easier to identify and correct, as they often produce clear messages or crashes.

Related Questions