Validation and Verification
Validation and Verification
Validation
- Ensures that only data that is reasonable is accepted.
- Different types of validation checks:
- Range check: Checks that the value of a number is between an upper value and a lower value.
- Length check: Checks that the data entered is a reasonable number or an exact number of characters.
- Type check: Checks that the data entered is of a given data type.
- Presence check: Checks to ensure that some data has been entered and the value has not been left blank.
- Format check: Checks that the characters entered conform to a pre-defined pattern.
Verification
- Used to check that the data does not change as it is being entered.
- Different types of verification checks:
- Double entry: The data is entered twice and compared to ensure that both entries are the same.
- Screen/visual check: A manual check to ensure the data on the screen is the same as the form.