CBSE Class 11 Computer Science
Question 109 of 173
Data Handling — Question 38
Back to all questions 38
Question Question 38
Differentiate between a syntax error and a semantics error.
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 |