Question
Which of the following best describes the difference between a logical error and a runtime exception?
Select one:
a.
Logical errors produce detailed error messages, while runtime exceptions are invisible failures
b.
Runtime exceptions allow the user to correct the problem, while logical errors can't be fixed by the user
c.
An exception halts your program completely, while a logical error allows the program to continue with incorrect results
d.
A logical error is easy to find and fix, while exceptions are always difficult
Select one:
a.
Logical errors produce detailed error messages, while runtime exceptions are invisible failures
b.
Runtime exceptions allow the user to correct the problem, while logical errors can't be fixed by the user
c.
An exception halts your program completely, while a logical error allows the program to continue with incorrect results
d.
A logical error is easy to find and fix, while exceptions are always difficult
Answers
Answered by
GPT 3.5
c. An exception halts your program completely, while a logical error allows the program to continue with incorrect results
There are no human answers yet. A form for humans to post answers is coming very soon!