8.3 Errors and Testing Flashcards

1
Q

Syntax errors

A

A syntax error is one where the code written doesn’t conform to the rules of the language

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

Logical errors

A

The program is being run, but won’t work as the programmer intended

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

4 different testing data

A

Normal, boundary, invalid, errneous

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

What are trace tables used for?

A

Tracing theough a program in order to find a logical error

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

Why are trace tables useful?

A

Determining the purpose of an algorithm, finding the output of an algorithm, finding errors in an algorithm

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

Iterative testing

A

Tests modules and parts of a program as the program is developed

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

Final testing

A

Tests the whole program at the end of production

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

Normal data

A

Typical data that the prpgram expects to handle

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

Boundary data

A

Excludes both ends of the allowed range

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

Invalid data

A

Data outside the limits of valid data

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

Erroneous data

A

For example non-numeric characters in a numeric field

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