Error Handling Flashcards

1
Q

Name the 3 types of errors that occur in software

A

Syntax errors
Run-time errors
Logic errors

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

What is a syntax error

A

an error that occurs when the programmer fails to obey one of the grammar rules of the programming language that they are using

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

What is a run-time error

A

An error that occurs whenever the program instructs the computer to carry out an operation that is either not designed to or slow to do

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

What is a logic error

A

An error that occurs when either: the programmer did not understand the manner in which the program was meant to behave

The programmer did not understand the individual behaviour of each operation that was part of the program

The programmer was careless

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