Algorithm design Flashcards
validation
to test whether data entered is reasonable/ sensible
7 types of validation
Range check Type check Length check Presence Check Character check Format check Look up check
length check
To make sure the data entered is within a certain number of characters
Format check
To make sure an appropriate format of letters and numbers have been used
Type check
To check the correct type of data has been entered
Lookup check
To check the validity of data by reference to table or file
Presence check
To check that some data has been entered(not left blank)
Character Check
Checks that the input contains (or does not contain) specific characters
Verification
To check that the data input is the same as the original source
Double entry
Data is entered twice
Compares both data entries to check if they are the same
Visual Check
Data is entered once and then visually compared against the original
Test data
Normal
Abnormal
Extreme
Boundary
Normal test data
Should be accepted(valid) and has known outcomes
Abnormal/Erroneous test data
Data should be rejected(invalid) and produce error messages
Extreme test data
Largest and smallest values that should be accepted(normal data can take)