SE 2205a (Unit 1 - Part 3) Flashcards

1
Q

What is a syntax error?

A

-Errors that the program can’t understand
-Reported by compiler once any syntactical error is made
-The program will not compile erroneous syntax

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

What is a linker error?

A

Reported by the linker

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

What is a runtime error?

A

Occur while the program is running if the environment detects an operations that is impossible to carry out

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

What is a logic error?

A

occur when a program doesn’t perform the way it was intended to

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

What is an exception?

A

is an event that represents a run time error or run-time condition that prevents a program to run (execute) normally

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

How might an exception occur?

A

-unavailable resource
-unexpected input from a user
-logical error on the part of the programmer

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