Data validation Flashcards
(12 cards)
What is the purpose of Data Validation?
To ensure that data is sensible, reasonable, complete and within acceptable boundaries.
What does a Presence Check do?
Ensures that data has been entered into a field.
What does a Length Check verify?
Ensures that data entered has the correct number of characters or does not exceed a certain number of characters.
What is the function of a Type Check?
Ensures that data entered is of the correct data type.
Name a few data types that a Type Check might validate.
- Numeric
- Text
- Date/Time
- Yes/No (Boolean)
- Currency
What does a Format Check ensure?
Ensures that data entered is of an exact format, possibly matching an input mask.
What is the purpose of a Range Check?
Ensures that data entered is within an acceptable range, possibly between a lower and upper boundary.
Fill in the blank: A Presence Check ensures that _______ has been entered into a field.
[data]
Fill in the blank: A Length Check ensures that data entered has the correct number of _______.
[characters]
True or False: A Format Check can ensure that a date is entered in the correct format.
True
True or False: A Range Check can be used to determine if a password is within a specified length.
False
What is a Lookup Table?
A list of data which can be used to provide values for other data fields.