Validation and Verification Flashcards
(21 cards)
Why is verification used?
- To ensure that changes have not been made to the values originally
intended when data is copied - From one source to another
What is a verification check?
Verification is the act of checking data is accurate when entered into a system.
What is a validation check?
Validation is an automated process where a computer checks if a user input is sensible and meets the program’s requirements.
What are the six types of validation checks?
- range check
- length check
- type check
- presence check
- format check
- check digit
What are the two types of verification checks?
- Double - entry checks
- Visual checks
What is a range check?
Ensures the data entered as a number falls within a particular range.
What is a length check?
Checks the length of a string.
What is a type check?
Check the data type of a field.
What is a presence check?
Looks to see if any data has been entered in a field.
What is a format check?
Ensures that the data has been entered in the correct format.
Format checks are done using pattern matching and string handling.
What are check digits?
Numerical values that are the final digit of a larger code such as a barcode or an International Standard Book Number (ISBN).
They are calculated by applying an algorithm to the code and are then attached to the overall code.
What is double entry checking?
Double entry checking involves entering the data twice in separate input boxes and then comparing the data to ensure they both match.
What happens if the data does not match in double entry checking?
If the data does not match, an error message is shown.
What are visual checks?
Visual checks involve the user visually checking the data on the screen.
What occurs after a visual check?
A popup or message then asks if the data is correct before proceeding.
What should the user do if the data is incorrect after a visual check?
If the data is incorrect, the user then enters the data again.
What are the four types of test data?
- Normal
- Abnormal
- Extreme
- Boundary
Normal Data
Normal test data is data that should be accepted in the program.
Abnormal / Erroneous Data
Abnormal test data is data that is the wrong data type or format.
Extreme Data
Extreme test data is the maximum and minimum values of normal data that are accepted by the system.
Boundary Data
- Boundary test data is similar to extreme data except that the values on either side of the maximum and minimum values are tested
- The largest and smallest acceptable value is tested as well as the largest and smallest unacceptable value