2.3 Producing Robust Programs Flashcards

1
Q

What are the five types of input validation?

A

Presence check
Range check
Format check
Type check
Length check

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

What are the four types of tests?

A

Normal tests
Boundary tests
Erroneous tests
Invalid tests

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

What test is it when the data is accepted?

A

Normal test

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

What test is it when data is on the edge of what is acceptable?

A

Boundary test

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

What test is it when data is the wrong data type?

A

Erroneous test

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

What test is it when data is the right data type but is outside what is accepted?

A

Invalid test

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