2.4 Data Validation and Program Testing Flashcards

1
Q

What is data validation?

A

Data validation checks that the data being passed into a program meets a set of requirements.

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

What is data verification?

A

Data verification checks that the program output matches the expected output.

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

List all the data validation techniques.

A

Range Check
Length Check
Presence Check
Format Check
Check Digit

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

Name and Explain the 3 test cases for testing and debugging programs.

A

Normal Data is test data that is expected and should be accepted by the system.

Abnormal Data is test data that falls outside of what is acceptable and should be rejected by the system.

Extreme Data is test data that is at the upper or lower limits of the data that is expected and it should be accepted by the system.

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

Give one example of data verification.

A

Double Entry.
Entering the data (password) twice and comparing both copies to ensure that they are the same.

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