2.4 Data Validation and Program Testing Flashcards
What is data validation?
Data validation checks that the data being passed into a program meets a set of requirements.
What is data verification?
Data verification checks that the program output matches the expected output.
List all the data validation techniques.
Range Check
Length Check
Presence Check
Format Check
Check Digit
Name and Explain the 3 test cases for testing and debugging programs.
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.
Give one example of data verification.
Double Entry.
Entering the data (password) twice and comparing both copies to ensure that they are the same.