0% found this document useful (0 votes)
11 views

Validation and verification

A level IT validation and verification notes

Uploaded by

Adil Qasmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Validation and verification

A level IT validation and verification notes

Uploaded by

Adil Qasmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Validation

Validation ensures the data entered into a system is sensible,


reasonable, and appropriate.

Common Types of Validation:

1. Range Check:

 Ensures data is within a specific range.

 Example: A test score must be between 0 and 100.

2. Type Check:

 Ensures data is of the correct data type.

 Example: A phone number should only contain digits, not


letters.

3. Length Check:

 Ensures the data has the correct number of characters.

 Example: A password must be at least 8 characters long.

4. Presence Check:

 Ensures that a field is not left empty.

 Example: A required "Email Address" field must be filled out.

5. Format Check:

 Ensures data is in the correct format or pattern.

 Example:

 Postcode: AB12 3CD.

 Email: [email protected].

6. Lookup Check (or Table Lookup):

 Ensures data matches a predefined list.

 Example: A list of valid product IDs or country names.

7. Consistency Check:

 Ensures data entered is consistent with other related data.

 Example: If a date of birth is entered, the age field must


match that DOB.

8. Check Digit:
 A mathematical validation used in identification numbers.

 Example: Validates barcodes or ISBN numbers in books.

9. Limit Check:

 Ensures a value does not exceed a specific boundary.

 Example: A queue length should not exceed a system's limit


(e.g., 100).

10. Cross-Field Validation:

 Ensures multiple fields are consistent.

 Example: Confirming that "Start Date" is before "End Date".

Verification

Verification ensures data entered matches the original


source accurately. It is a way to check for correctness and accuracy.

Common Types of Verification:

1. Double Entry:

 Data is entered twice and compared.

 Example: Entering a password twice during account creation.

2. Proofreading/Visual Check:

 A human checks the entered data against the original


document.

 Example: Verifying an invoice total manually.

3. Parity Check (for data transmission):

 Verifies that the number of 1s in a binary string is even (even


parity) or odd (odd parity).

 Example: Used in digital communication to ensure data


integrity.

4. Checksums:

 A mathematical operation creates a value based on the data,


and this value is checked during transmission.

 Example: Used to verify file integrity after downloads.

5. Hashing Verification:
 A hash of the original data is calculated and compared.

 Example: Verifying password hashes in databases.

6. Re-entry Verification:

 Asking users to confirm data entered.

 Example: Asking users to confirm delivery addresses after


entry.

7. Database Validation:

 Compares entered data to an existing database for accuracy.

 Example: Verifying customer ID against a stored database.

Practical Examples:

Validation:

 A flight booking system:

 Range check: The number of tickets must be between 1 and


10.

 Presence check: The passenger's name cannot be left empty.

 Format check: The credit card number must be 16 digits.

Verification:

 Bank account setup:

 Double Entry: Re-enter the email address for verification.

 Visual Check: Compare a user's ID document with the


information entered.

You might also like