4.1.1.9 Exception handling Flashcards

1
Q

What is exception handling?

A

The process of responding to exceptions during the program which interrupt the normal flow of the program.

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

What is a syntax error?

A

The code produces an error because it doesn’t follow the rules of the language

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

What is a logic error?

A

The code is executed but doesn’t perform the expected action

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