?Briefly describe (including examples in your answer) at least six of the types of data validation rules in the input process.
What will be an ideal response?
1. A sequence check can be used when the data must be in some predetermined sequence. If the user must enter work orders in numerical sequence, for example, then an out-of-sequence order number indicates an error, or if the user must enter transactions chronologically, then a transaction with an out-of-sequence date indicates an error.2. An existence check can apply to mandatory data items. For example, if an employee record requires a Social Security number, an existence check would not allow the user to save the record until he or she enters a suitable value in the Social Security number field.3. A data type check can test to ensure that a data item fits the required data type. For example, a numeric field must have only numbers or numeric symbols, and an alphabetic field can contain only the characters A through Z (or a through z).4. A range check can be used to verify that data items fall between a specified minimum and maximum value. The daily hours worked by an employee, for example, must fall within the range of 0 to 24. When the validation check involves a minimum or a maximum value, but not both, it is called a limit check. Checking that a payment amount is greater than zero, but not specifying a maximum value, is an example of a limit check.5. A reasonableness check identifies values that are questionable, but not necessarily wrong. For example, input payment values of $.05 and $5,000,000.00 both pass a simple limit check for a payment value greater than zero, and yet both values could be errors. Similarly, a daily hours worked value of 24 passes a 0 to 24 range check; however, the value seems unusual, and the system should verify it using a reasonableness check.6. A validity check can be used for data items that must have certain values. For example, if an inventory system has 20 valid item classes, then any input item that does not match one of the valid classes will fail the check. Verifying that a customer number on an order matches a customer number in the customer file is another type of validity check. Because the value entered must refer to another value, that type of check also is called referential integrity. Another validity check might verify that a new customer number does not match a number already stored in the customer master file.7. A combination check is performed on two or more fields to ensure that they are consistent or reasonable when considered together. Even though all the fields involved in a combination check might pass their individual validation checks, the combination of the field values might be inconsistent or unreasonable. For example, if an order input for 30 units of a particular item has an input discount rate applicable only for purchases of 100 or more units, then the combination is invalid; either the input order quantity or the input discount rate is incorrect.8. Batch controls are totals used to verify batch input. Batch controls might check data items such as record counts and numeric field totals. For example, before entering a batch of orders, a user might calculate the total number of orders and the sum of all the order quantities. When the batch of orders is entered, the order system also calculates the same two totals. If the system totals do not match the input totals, then a data entry error has occurred. Unlike the other validation checks, batch controls do not identify specific errors. For example, if the sum of all the order quantities does not match the batch control total, you know only that one or more orders in that batch were entered incorrectly or not input. The batch control totals often are called hash totals because they are not meaningful numbers themselves, but are useful for comparison purposes.
You might also like to view...
A ____ is a portion of the image that is superimposed or separated from other parts of the document.
a. border b. control c. layer d. banner
A ruler guide is a nonprinting horizontal or vertical line that can be aligned to any position on the ruler
Indicate whether the statement is true or false
The formula, =AND(A1>0,A1<5), demonstrates a proper way of using the AND function.
Answer the following statement true (T) or false (F)
_______________ are generated at the federal, state, and local levels to show the types and frequency of crimes committed.
Fill in the blank(s) with the appropriate word(s).