errors and testing Flashcards

1
Q

What are the two main types of errors?

A

Logic and syntax errors.

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

What is a syntax error?

A

A syntax error is when the code written does not follow the rules of the language.

This means that the compiler can’t translate the program into machine code so the program will not run.

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

What is a logic error?

A

A logic error is when the compiler is able to run the program, but the program does something which is not expected.

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

What is a difference between syntax and logic errors?

A

Logic error are more difficult to find.

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

What is inclusive data?

A

It is data which uses a number range of 1 - 100.

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

What is normal data?

A

Data which is clearly in the given range.

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

What is boundary data?

A

It is data on the boundaries of the valid range.

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

What is erroneous data?

A

It is data outside of the range which will not be accepted.

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

What type of error is a trace table used for?

A

Logic errors.

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

What does a test plan do?

A

It keeps track of possible tests that will be run on the system after coding.

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