Computer Science
What is the difference between an error and exception?
Python Data Handling
17 Likes
Answer
An Error is a bug in the code that causes irregular output or stops the program from executing whereas an Exception is an irregular unexpected situation occurring during execution on which programmer has no control.
Answered By
12 Likes
Related Questions
Differentiate between a syntax error and a semantics error.
Correct any false statements:
(a) Compile-time errors are usually easier to detect and to correct than run-time errors.
(b) Logically errors can usually be detected by the compiler.
What are main error types? Which types are most dangerous and why?
Differentiate between a syntax error and a logical error in a python program. When is each type of error likely to be found?