Programming Errors Flashcards

(3 cards)

1
Q

Syntax error

A
  • Violates language’s grammar
  • Compiler will catch them
  • Eclipse makes red squiggles under your code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Run-time errors

A

Something unexpected happens during program

execution (e.g., dividing by 0, file not found)

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

Semantical/logical errors

A
  • Program does not generate expected results

* Can be challenging to uncover

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