Syntax and Logic Errors [2.3] Flashcards
1
Q
What is syntax?
A
Syntax is the spelling and grammar of a programming language.
2
Q
What is a syntax error?
A
Syntax error is when there is a spelling/grammatical error in the program, or incorrectly named/spelled variables.
3
Q
What is a logic error?
A
Logic errors occur when there is a fault in the logic or structure of the problem.