KnowledgeBoat Logo

Computer Science

Differentiate between a syntax error and a semantics error.

Python Data Handling

51 Likes

Answer

Syntax ErrorSemantics 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