Validation and Verification
Validation and Verification
Validation and Verification
In Section 4A you met the concept of data integrity. We say that data has integrity if it is
accurate and up to date.
All organisations know that data is useless to them unless the data is kept up to date. For
example, a hotel may hold the names and addresses of people who have stayed there in
the past, so they can send them details about special offers. The names and addresses
are of no use unless they are correct.
You also saw in Section 4A that the aim of data security is to keep data accurate. Data
stored on a computer system may have been altered by mistake or it may have been
altered deliberately by someone who should not have done so.
Data security prevents the wrong people from having access to data and protects the
hardware and software from damage.
But suppose the data was entered incorrectly in the first place. No amount of data
security will prevent that from happening. Data verification and data validation are two
techniques that can be used when data is first entered, in order to check whether it
is correct.
• Data verification is a process carried out by humans.
• Data validation is an automatic process carried out by software.
Data verification
There can be some problems when an
Typographical errors;
employee keys in data that is written on a tand saw
source document. Errors may occur-because it I sent down the stree .
my friends playing cricket.
is difficult to read the writing, or the person
may simply make a typing mistake.
• Typographical errors are the typing errors
that we all make when we hit the wrong key. Transpositional errors;
• Transposition errors happen when we enter
numbers or characters in the wrong order. It
is very easy to do this when entering long
____________
I wne~ down the stre~t and wa.s
my fl'lends playing cricket.
......,... .,
1
Data validation
You may have entered your personal details into a
web-based form on-line. If you leave out some data that
oug~t to be included it will give you a message and ask
• WHAT DOES IT MEAN ?
data validation
Data v~!&datlcil
out by!jf~ m~
data Is ~n,d
, ..,_,re
~ ; t tlfy
m
irrled
e r/
ta ·
you to enter it. Similarly, if you type in a password that cannot be con:ect.
incorrectly it will tell you to try again.
These are examples of data validation checks. They are
carried out automatically by the software.
Similar validation checks can be used when data is entered into any computer system
from a source document, such as the insurance example on page 230. Data validation
checks are carried out by the software as the data is being entered. If the data validation
checks identify a possible error, a warning is displayed.
There are many kinds of data validation checks and suitable ones will be chosen
depending on what data is being entered. Here are some of them.
Range checks
These check whether numerical data is within expected limits. For example, if you are
asked to enter someone's age, the number should b_e b~tween Oand 110. If the data
required is the date when someone joined an or~an1sat1~n then cle~rly the date cannot
be in the future. Similarly, figures entered for height, weight, shoe size, etc can all be
checked against the range of numbers that could be reasonably expected.
Data type checks
These check whether the data is of the correct type, such as number, date or text. For example,
phone numbers are numerical, so a data type check would notice if a letter was included.
---=----~•
• The address given on {he form does n0t exist.
.-
en 1 What is the main difference between data verification and data validation?
z 2 Why is it better to use ,double entry for data verification rather than simply checking_over what
0 has been entered?
. en 3 Describe three methods of data validation.
lB