Please enable JavaScript.
Coggle requires JavaScript to display documents.
Validation and verification - Coggle Diagram
Validation and verification
Validation
The checking of data to make sure that it's reasonable and within set bounds.
Types
Type check
A type of validation that checks data is the correct data type.
Example
In a clothes shop, dress sizes may range from 8 to 18. By setting the data type as number, only numbers could be entered. Eg: 10, 12, 14,... and you would prevent anyone trying to enter text such as ‘ten’ or ‘ten and a half’.
Presence check
A type of validation that makes sure the data has been entered.
Example
When you sign up for a new account on a social media platform, you cannot leave the password empty.
Length check
A type of validation that checks the number of characters within the set limit.
Example
The length of "hello world" is 11. (The space is also a character.)
Format check
A type of validation that makes sure the data meets the correct order.
Example
Dates must be written as dd/mm/yyyy
Range check
A type of validation that makes sure the data is between the minimum and the maximum.
Example
An age must be between 0 and 100. A date must be before today's date.
Verification
Visual check
Comparing the data entered with the original side-by-side
Example
Reading each line from a paper copy and checking if it's identical on the computer
Double entry check
Two people enter the same data when are then compared.
Example
The same data is entered twice, usually by different people. The computer will then check whether there are any differences in what they each entered.
Definition
Checking that data is entered accurately, that it's the same as the original