Lesson 8 - Validation and Verification
Lesson 8 - Validation and Verification
Success Criteria
VALIDATION
VERIFICATION
For data entry,
VALIDATION is performed It is used to check that the
automatically by the computer data
system to ensure that only data does not change as it is being
that is reasonable is accepted entered.
• Range checks
• Length checks
• Type checks
• Character
checks
• Format checks
• Presence
checks
• Check digits.
Length Check
Presence Check
» Double entry
Data is entered twice, sometimes by different
operators.
The computer system compares both entries
If they are different outputs an error message
» Screen/visual check.
A manual check completed by the user entering the
data.
When the data entry is complete the data is displayed
on the screen and the user is asked to confirm that it
is correct before continuing.
LO:We
Theareuser
learning to understand
either checks thethe concept
data on theofscreen
Validation
against
and Verification
the resources that they have with them.
AFL
https://quizizz.com/admin/quiz/
58d9391a04bd40205838be3c/data-validation-and-
verification?fromSearch=true&source=null
Task 1: State, with reasons, which validation checks you could use for the following inputs.
You may decide that more than one validation check is required.
– Entering a telephone number
– Entering a pupil’s name
– Entering a part number in the form XXX999, when X must be a letter and 9 must be a
digit.
Task 2: Write an algorithm using pseudocode to check the age and height of a child who
wants to go on a fairground ride. The age must be over 7 and under 12, the height must be
over 110 centimeters and under 150 centimeters.
Task 3: Write an algorithm using pseudocode to check that the length of a password is
between 8 and 12 characters inclusive.
Strength
Improvement
Development