Data Input Methods: Data Dictionary: Its Development and Use
Data Input Methods: Data Dictionary: Its Development and Use
Data Input Methods: Data Dictionary: Its Development and Use
Contents
2. LEARNING UNIT 1
Data Dictionary : its development and use
3. LEARNING UNIT 2
Data input methods : Batch and Interactive
4. LEARNING UNIT 3
Coding technique for unique data representation.
5. References
DATA INPUT METHODS
MOTIVATION
During systems analysis it is essential for an analyst to decide the necessary
and sufficient data for designing an application. DFD gives the dataflows
and stores of a system. Individual data elements of dataflows and stores can
be catalogued. Such a catalogue with description of each element and their
types will be an invaluable aid while designing a system. A catalogue will
also bring out if any data is duplicated/missed. A catalogue will also be an
invaluable documentation of a system. Such a catalogue is called Data
dictionary-It is actually metadata, i.e., data about data. After data dictionary
is designed one needs to determine how the data is to be input. Data input
methods depend on whether the data is filled in by customers in forms
manually and later input by data entry operators or data is directly input by
users on PC’s. We thus need to understand both these methods.
LEARNING GOALS
Inspection
Receivin Office
g Items
Vendor Received
Delivery Process
note note
Orders Purchase
Office
Discrepancy
note
WORD STATEMENT OF REQUIREMENTS FOR THE ABOVE DFD
Vendor sends items with a delivery note while fulfilling an order (along
with the physical items) to a receiving office.
Receiving office compares a delivery note against order placed. If there is
a discrepancy a discrepancy note is sent to purchase office.
Actual items received note is sent to the inspection office along with items
received.
2)
Name : Delivery date
Description : Date item is to be delivered
Origin : Part of delivery note from vendor.Is also in orders data store which
is input to receiving process
Destination : Receiving process
Data type : Numeric Integer
Length : 8 digits
Limits on value : Date field in the form DDMMYYYY.
Should satisfy constraints of a date in calendar
Remarks: Blank fields not allowed.
e.g.05082004 is ok but not 582004
ERROR SOURCES
Errors in on-line data entry due to poor screen design. System should
inform the user immediately when wrong data is input
Errors in off-line data entry due to bad form design and human errors by
users and data entry operator.
Using a form which leaves enough space for writing legibly and has clear
instructions prevents user from making mistakes.
It is not always possible for the machine to give message when input is
wrong, error may be found after elapse of time period. Therefore good
controls to automatically detect and if possible correct errors is required.
BATCH DATA ENTRY
Data
Data entered Keyboard Input file validation
in forms Data entry program
Error
Input batch
batch Update
Error
report program
Data Data
Output report processing store
program
Name
Address
Bad design : Tendency will be to fill name on top line.
Not enough space for letters of address
Parent/Guardian of minor
Enter date Enter date
(Bad design)
(Good design)
Tick oneClear
of the boxes below
instructions. Enough space for entry manually.
As manual data input from forms are slow and expensive, attempts have
been made to automate form reading using scanners, but this needs hand
writing recognition and correct form alignment, which is not always
successful. However, if forms require just darkening some pre-defined
areas they can be machine read and interpreted.
Example – Multiple choice questions in exams where specific boxes are
darkened based on the choice.
INTERACTIVE DATA INPUT
Advent of PC’s and client/server model in computer networks, interactive
data input is now widely used
Advantages are instant response when data is input so that errors are
immediately corrected, flexibility in screen design which minimizes manual
effort. And use of mouse and icons simplifies pre-determined choices of data
Menus
Templates
Commands
EXAMPLE
SELECT ALTERNATIVE
Your choice
TEMPLATE
Example
Roll no
Name
FIRST NAME/INTIALS LAST NAME
Dept code
CE CS ME EE IT
Year
Hostel code
A B C D
Example
Computer : Did you request deletion of record ?
Type Y or N
User :Y
Computer : Give student roll no
User : 56743
Computer : Is name of the student A.K.Jain?
Type Y or N
User :Y
Computer : Is he 1st year student
Type Y or N
User :Y
Computer : Shall I delete name?
User :Y
Normally all three models will occur together in application .In other words
Menu, Forms and Commands are not mutually exclusive. In Graphical user
interface design use of languages such as Visual Basic simplifies design of
user interface.
LEARNING UNIT 3
Roll no 87 1 05 2 465
Roll no BA 1 95 C B R
Characteristics
Codes Concise Expandable Meaningful Comprehensive Precise
n
(∑Widi )mod N=0 by design
i=1
What should be the values of N & Wis
Single transcription error: dk become t
n n
(∑Widi )= (∑Widi ) + t Wk - Wk dk
i=1 i=1
Use modulo n check with n prime > largest code character value
Conditions
For hexadecimal codes symbols = 16, n =17
• For0<Wk<N
alphanumeric codes 26 letters
• As [t-dk] < 10 and Wk < N, N>10
• 10 digits
Product of integer not a prime => N a prime
• Smallest prime > 10 =11 => N=11
36 symbols
Therefore n=37.
VALIDATING INPUT DATA
Radix errors - For example seconds field cannot exceed 60,month field
cannot exceed 12
Range check - Fields should be within specified range
Reasonableness check - Telephone bill cannot be more than 10 times
average bill of last few months
Inconsistent data - For example : 31-04-99
Incorrect data- Batch total checks this
Missing data - Batch control data checks this
Inter field relationship check -
For example - Student of 8lh class cannot have age > 25
REFERENCES
1. Most of the material in this module has been adapted from the book
“Analysis and Design of Information Systems”, 2nd Edition, by
V.Rajaraman, Prentice Hall of India, 2003. Chapter 5 (pp. 49-52) and
Chapter 11 (pp.154-170).