- What is data integrity, and why two kinds of check?
Validation asks 'is this sensible?'; verification asks 'has this changed?'
Data integrity means the data is accurate, complete and consistent. Errors creep in when data is entered by a human or transferred between systems, so we use two complementary kinds of check.
| Validation | Verification | |
|---|---|---|
| Question it answers | Is the data reasonable / sensible? | Has the data changed / does it match the source? |
| Who does it | The computer, against defined rules | The computer or a person, by comparing copies |
| When | Mainly on entry | On entry AND on transfer |
Crucial limitation (examiners test this): neither check proves the data is correct.
- Validation only proves the value is acceptable — a date of birth of 03/03/2010 is valid even if the real date was 03/03/2011.
- Verification only proves the value was entered/copied without change — typing the same wrong number twice still passes double entry.
So validation and verification reduce errors; they cannot guarantee truth.
- Integrity = accurate, complete, consistent data.
- Validation = sensible against rules (done by the computer).
- Verification = unchanged / matches the source.
- Neither proves the data is the correct value.