Computer Science
Differentiate between a syntax error and a semantics error.
Python Data Handling
51 Likes
Answer
Syntax Error | Semantics Error |
---|---|
Syntax errors occurs when the rules of the programming language are violated. | Semantic errors occur when the statement are not meaningful. |
Example: x = false | Example: x * y = z |
Answered By
29 Likes
Related Questions
What is the difference between an error and exception?
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?
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.