8.5: Validation & Verification
Exam Board:
Eduqas / WJEC
Specification:
2020 +
What are validation and verification checks?
Validation is a process to check that data is reasonable or sensible before it is accepted.
​
Verification is the process of checking that data is correct after it has been entered.
Validation Checks
Range Check
Checks data is within a certain range.
Age:
34
203
Type Check
Checks data is a certain data type.
Height (in cm):
182
Two metres
Format Check
Checks data is entered in a certain way.
Date of Birth (DD/MM/YYYY)
25/03/2001
25th March 01
Presence Check
Checks that data has actually been entered and not left blank.
Password:
fluffythecat123
Lookup Table
A table of acceptable entries, also known as a list.
![gender.PNG](https://static.wixstatic.com/media/fb2250_ea839e5471984d4d870a03e32a0857f0~mv2.png/v1/fill/w_247,h_118,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/gender_PNG.png)
Length Check
Checks the length of the input is within a certain amount.
Telephone Number
08323877319
07383
Verification Checks
Double Entry
Typing in the data twice to make sure there were no spelling errors the first time.
Password:
fluffythecat123
flufythecat123
Proofreading
Checking two copies of data to ensure they are exactly the same.
Check Digit
Similar to a checksum in a data packet, a check digit is calculated on barcodes to ensure the rest of the numbers are correct.
Address:
11 Cherry Lane
11 Cherry Road
![Monochrome on Transparent.png](https://static.wixstatic.com/media/fb2250_3ea96235b043402db51377f4844041f0~mv2.png/v1/crop/x_0,y_0,w_1692,h_1248/fill/w_46,h_34,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Monochrome%20on%20Transparent.png)
Questo's Questions
8.4 - Validation & Verification:
​
1. Describe each type of validation check and give an example.
-
a. Range Check [3]
-
b. Type Check [3]
-
c. Format Check [3]
-
d. Presence Check [3]
-
e. Lookup Table (List) [3]
-
f. Length Check [3]
​
2. For the following data, suggest which validation check would be most suitable and why:
-
a. Password [3]
-
b. Country of Birth [3]
-
c. Number of Tickets [3]
-
d. Weight (in kilograms) [3]
​
3. Describe three types of verification check and give an example:
-
a. Double Entry [3]
-
b. Proofreading [3]
-
c. Check Digit [2]