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.
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
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]