2.1 Identifying errors and suggesting fixes Flashcards

1
Q

What are the two main types of errors?

A

Syntax and Logic errors

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

What are syntax errors?

A
  • Syntax errors are errors which break the grammatical rules of the programming language
  • They stop it from being run/translated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are logic errors?

A
  • Logic errors are errors which produce unexpected output
  • On their own they won’t stop the program running
How well did you know this?
1
Not at all
2
3
4
5
Perfectly