Syntax and Logic Errors [2.3] Flashcards

1
Q

What is syntax?

A

Syntax is the spelling and grammar of a programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a logic error?

A

Logic errors occur when there is a fault in the logic or structure of the problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly