Testing and Test Data Flashcards

1
Q

Why does a program need tested?

A

To make sure there aren’t any errors.

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

What are the two types of testing?

A

Iterative testing
Terminal (final) testing

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

What is iterative testing?

A

Testing during development, e.g. throughout the writing of the code.

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

What is terminal (final) testing?

A

Testing done at the end to make sure that no errors occur when all the modules interact with each other. Making sure you have a working program to release.

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

What are the 4 types of test data?

A

Normal
Boundary
Invalid
Erroneous

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

In terms of test data, what is NORMAL?

A

What you would expect to be input, somewhere in a range, such as the middle value, e.g. range 1-10, 5 is entered.

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

In terms of test data, what is BOUNDARY?

A

The limits of what should be expected, e.g. range 1-10, 1 is entered to test the lower boundary and 10 is entered to test the upper boundary.

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

In terms of test data, what is INVALID?

A

Correct data type that should not be accepted because it is outside of the range, such as the middle value, e.g. range 1-10, 16 is entered.

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

In terms of test data, what is ERRONEOUS?

A

The wrong data type, such as the middle value, e.g. range 1-10, “five” is entered.

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

What is the purpose of test data?

A

So the programmer can check that the program is thoroughly tested and works as intended.

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