09 - File Processing Versus Database Management Systems
09 - File Processing Versus Database Management Systems
Database is a collection of data organized in a manner that allows access, retrieval, and use
of that data.
Data is a collection of unprocessed items, which can include text, numbers, images, audio,
and video.
Information is processed data; that is, it is organized, meaningful, and useful.
Qualities of Valuable Information
The information that data generates also is an important asset. People make decisions daily
using all types of information such as receipts, bank statements, pension plan summaries,
stock analyses, and credit reports.
• Accurate information is error free. Inaccurate information can lead to incorrect decisions.
For example, consumers assume their credit report is accurate. If your credit report
incorrectly shows past due payments, a bank may not lend you money for a car or house.
• Verifiable information can be proven as correct or incorrect. For example, security
personnel at an airport usually request some type of photo identification to verify that you
are the person named on the ticket.
• Timely information has an age suited to its use. A decision to build additional schools in a
particular district should be based on the most recent census report — not on one that is 20
years old.
• Organized information is arranged to suit the needs and requirements of the decision
maker. Different people may need the same information presented in a different manner.
For example, an inventory manager may want an inventory report to list out-of-stock items
first. The purchasing agent, instead, wants the report alphabetized by vendor.
• Accessible information is available when the decision maker needs it. Having to wait for
information may delay an important decision.
• Useful information has meaning to the person who receives it. Most information is
important only to certain people or groups of people.
• Cost-effective information should give more value than it costs to produce.
MAINTAINING DATA
File maintenance refers to the procedures that keep data current. File maintenance
procedures include adding records to, changing records in, and deleting records from a file.
Adding Records
Users add new records to a file when they obtain new data.
Changing Records
Generally, users change a record in a file for two reasons:
(1) to correct inaccurate data or
(2) to update old data with new data.
Deleting Records
When a record no longer is needed, a user deletes it from a file.
Validating Data
Validation is the process of comparing data with a set of rules or values to find out if the data
is correct. Many programs perform a validity check that analyzes entered data to help ensure
that it is correct.
ALPHABETIC/NUMBERIC CHECK An alphabetic check ensures that users enter only alphabetic
data into a field. A numeric check ensures that users enter only numeric data into a field.
Database
RANGE CHECK A range check determines whether a number is within a specified range.
CONSISTENCY CHECK A consistency check tests the data in two or more associated fields to
ensure that the relationship is logical. For example, the value in a Date Joined field cannot
occur earlier in time than a value in a Birth Date field.
COMPLETENESS CHECK A completeness check verifies that a required field contains data. For
example, some fields cannot be left blank; others require a minimum number of characters.
One completeness check can ensure that data exists in a Last Name field. Another can ensure
that a day, month, and year are included in a Birth Date field.
CHECK DIGIT A check digit is a number(s) or character(s) that is appended to or inserted in a
primary key value. A check digit often confirms the accuracy of a primary key value. Bank
account, credit card, and other identification numbers often include one or more check digits.