Validating sources

In computer science, data validation is the process of ensuring that data have undergone data cleansing to ensure they have data quality, that is, that they are both correct and useful.

It uses routines, often called "validation rules" "validation constraints" or "check routines", that check for correctness, meaningfulness, and security of data that are input to the system.

The rules may be implemented through the automated facilities of a data dictionary, Data validation is intended to provide certain well-defined guarantees for fitness, accuracy, and consistency for any of various kinds of user input into an application or automated system.

The simplest kind of data type validation verifies that the individual characters provided through user input are consistent with the expected characters of one or more known primitive data types; as defined in a programming language or data storage and retrieval mechanism as well as the specification of the following primitive data types: 1) integer; 2) float (decimal); or 3) string.For example, many database systems allow the specification of the following l (plus, minus, and parentheses).A more sophisticated data validation routine would check to see the user had entered a valid country code, i.e., that the number of digits entered matched the convention for the country or area specified.A validation process involves two distinct steps: (a) Validation Check and (b) Post-Check action.The check step uses one or more computational rules (see section below) to determine if the data is valid.The Post-validation action sends feedback to help enforce validation.

You must have an account to comment. Please register or login here!