Validation and Verification

¡Supera tus tareas y exámenes ahora con Quizwiz!

Examples of Validation in online shopping

Presence - Customer has to enter all the starred fields before the program will allow you onto the next screen Format - Ensures that the right pattern of characters have been entered i.e. 2 letters followed by 6 numbers for a stock code Range - That there are no silly dates entered such as 30th of February for date of birth or date of delivery. Data type - No letters entered into a number field for quantity of goods. Fixed value - List of choices for title such as Mr, Mrs, Ms, Dr, etc Length check - Credit card must have 16 numbers

Examples of Validation in online banking

- Check digit on account number - Range check on date of birth - Presence check on certain (specified) field.

Examples of Verification

- Proof reading (carefully comparing the data entered to the data on the original form) - Double entry of data (entering data twice to ensure it is correct) - Sending back printouts (printout out what has been typed in and sending it back to the person who supplied it, to check it).

Validation

- Validation is the automatic checking of data entered into a computer system. - Validation is a (computer) check to ensure that data is sensible / reasonable / legal

Verification

- Verification is the use of checks to make sure data is consistent and has not been corrupted. - Verification is a human check ensuring that data has been copied correctly from one medium to another - Verification is used to make sure data is consistent and has not been corrupted. - Verification is used to stop data entry/copying errors

Examples of Validation (2)

Data type - data must be of a specified type i.e. numerical, text, Boolean, image, data entered for the number in stock must be numerical, if a text item is entered it must be rejected. Check digit - numerical calculation on a code number and comparing it with the final digit, if the same value is not found then an error message is displayed. Fixed value - data must conform to one of the values in a predefined list i.e. for gender only m or f is allowed, entering anything else will result in an error message.

Examples of Validation in school record system (2)

Fixed value Definition: data must conform to one of the values in a predefined list Example: parent choosing their title - Select only from a list Mr, Mrs, Ms, Miss, Dr Length check Definition: Must have a certain number of characters / numbers Example: Phone number must have 11 digits Data type Definition: Data must be of a specified type i.e. numerical, text, Boolean Example: School Year Group (Alphanumerical)

Examples of Validation

Presence - requires that a value must be entered, the details of an order are being input, the order cannot be processed unless an order number is entered and the routine will return an error if the box is left empty. Format - the data must conform to a prescribed layout, a NI number consists of 2 letters 6 digits and then a letter. If the operator tries to enter a different combination an error is returned. Range - the data must be a value that falls between 2 prescribed values, the data of birth of a pupil must lie between 01/09/83 and 31/08/95, any date that falls out of the range is rejected.

Examples of Verification in online banking

Proof reading - being asked to check what you have entered is correct before being allowed to move on. Double entry - having to re-input your account number, email address or the password.

Examples of Verification in online shopping

Proof reading / Read before you submit: being asked to check what you have entered is correct before being allowed to move on, i.e. ordered the right amount of items. Double entry: having to re-input your account number, email address or the password 'when creating the account or changing a password'.

Examples of Validation in school record system

Range checks Definition: Data is between stated ranges Example: Date of Birth Format checks Definition: Must be in the correct pre-defined format Example: Expiry Date on Canteen card Presence checks Definition: There must be a character present in a required field or at a particular place Example: '@' in an email address


Conjuntos de estudio relacionados

AD RESEARCH JMC 3333 QUIZ 1 (FISHER)

View Set

Sociology chapter 20 - urbanization, environment,

View Set

Perfusion Questions (Ati and Saunders)

View Set

Multiplication Strategies: Array's, Repeated Addition, Equal Groups, & Number Lines!!!!

View Set