validation and verification

6

Click here to load reader

Upload: mrmwood

Post on 21-May-2015

3.703 views

Category:

Education


2 download

TRANSCRIPT

Page 1: Validation and Verification

Validation and Verification

Page 2: Validation and Verification

1. What is validation?2. Name 5 types of validation3. What is verification?4. Give an example to illustrate the

difference between validation and verification.

Learning objectives with a TWIST

Page 3: Validation and Verification

A method of checking data as it is entered, to reduce the number of errors.

A Validation Rule is what the data is tested against. If the data fails to meet the criteria an error message will appear.

Validation

Page 4: Validation and Verification

Presence check – has the data been entered Range check – is the data within a certain range of letters or

numbers? E.g. 1-99 Format check – does the data follow a correct pattern e.g. DOB

18/02/1981 Length check – Has the correct number of characters been

entered? List/Lookup check – Is the data within the list of acceptable

values? Cross Field check – Checks two fields are entered correctly e.g.

if a particular phone is available on only one network it will be rejected if a different network is selected

Check digit – Make sure longer numbers are entered correctly e.g. barcode (last digit checks via complex calculation that the previous digits are correct)

Validation Types

Page 5: Validation and Verification

Validation reduces data entry errors but can not remove them completely

Example:◦ 18/02/1991 might be entered instead of 18/02/1981◦ The above meets the validation rule (format) but is

obviously wrong which might mean that the system rejects the customers application (e.g. would be to young to get a phone contract)

To avoid this we use verification

Validation Continued

Page 6: Validation and Verification

Is the process of proofing the data

This can be done by proofreading or double data entry (two pass verification)

Double data entry is where the data is entered twice systematically and then verified to make sure both entries are the same

Verification