WORKED EXAMPLES ON DATA INPUT METHODS.

DATA INPUT METHODS

WORKED EXAMPLES

7.1 What is the purpose of data validation program?

To detect errors which may have been made by a data entry operator in entering data from forms into a computer’s secondary memory. The detected errors are then corrected to ensure that data file has no errors.

7.2 What are the main principles used in designing forms for data entry?

(i) Reduce human efforts in filling forms

(ii) Minimize possibility of errors in entering data from forms into a computer’s secondary memory

(iii) Minimize effort in entering data from forms into a computer’s secondary memory.

7.3 Design a form to be used by a salesman to report to the office about the sales executed by him at different customer locations

See Table below

image

image

7.4 Is concise code comprehensive? If not, why?

No. In a concise code the aim is to keep the length of the code small whereas in a comprehensive code it is to include as much information as possible about the entity being coded.

7.5 Is meaningful code necessarily comprehensive?

No. Meaningful code aids in recognizing the entity being coded whereas a

comprehensive code tries to include as much information as possible about the entity being coded. For example BICYCLE 24 indicates a 24 inch height cycle. It is meaningful. A code such as

BC 24 G R HERO 2684

Describes 24-inch bicycle, which is for gents, red in color, manufactured by Hero with serial number 2684.

7.6 What is the advantage of serial number code? Why is it not normally used?

It is concise, expandable and precise. It is not meaningful or comprehensive and thus not often used.

7.7 Design a group classification code to code (i) motor vehicles, (ii) music cassettes, and (iii) books.

image

image

7.9 Add a modulus-11 check digit to the codes (i) 48467 (ii) 96432 and (iii) 87646257.

Check digits are respectively

(i) 9 (ii) 8 (iii) 3.

7.10 Modulus–37 check is suitable for alphanumeric codes. Add a modulus-37 character to the codes (i) 4AB9W (ii) XBY483 and (iii) CAZ4642.

(i) 2 (ii) N (iii) N.

7.11 If modulus-11 check digit system is to generate detection of multiple identical digit transcription error (i.e., a code such as 45565 is wrongly entered as 48868), what should be constraints on the weights?

A digit t becomes x for weights wq, wr, ws.

Let wi be the weights.

image

image

Sum of any subset of weights should not be equal to 11 or a multiple of 11. Possible only for codes less than 4 digits long, including check digit.

7.12 A see-saw error is one in which one digit of the code is increased by x and another decreased by x. For example, 486732 becoming 456762. When can modulus-N check detect such errors?

image

7.13 Why is it useful to assign sequence numbers for data records? What are the types of errors detected by sequence numbering?

Can trace missing records using sequence numbers. Records out of sequence can be detected. Excess records (with duplicate sequence numbers) can be detected.

7.14 A set of data records for student examination results has the following format:

image

Design for these records a batch control record and a record control field and other appropriate checks for the fields

Batch control record

(i) No. of records in batch

(ii) Sum of marks in papers 1 to 4

(iii) No. of records with marks in papers 1 to 4 >=60

(iv) No. of records with marks in papers 1 to 4 < 40

Record check (i) Sum of marks in papers 1 to 4, (ii) No. of papers in record with marks >= 60

Other checks for the fields

(i) Modulus-11 check for Roll no.

(ii) Each marks field <= 100, >= 0

(iii) Sum field <= 400

(iv) Flag record with marks in any paper >= 80 and another paper <= 30.

7.15 What is the difference between range check and radix check?

Range gives maximum allowable value for a field as determined by the analyst.

For example in one paper if maximum marks is 50, range check will use 50 and if it is 100 in another it will use 100 as range. Radix is however an invariant. No. of hours/day are always 24 and is universally known.

7.16 Give some examples of fields where reasonableness check would be applicable.

If normal electricity consumption of a consumer is 250 kWh/month, a value of 1500 kWh in a month will be considered unreasonable. Other examples are:

(i) Deductions in a paybill

(ii) Price/unit of some items

(iii) Qty. ordered in comparison to normal averages.

7.17 Give some examples of inter-field relationship checks

Employee status vs. salary

Age vs. marital status (Age <= 12 cannot normally be married)

Age vs. Education

7.18 Design a dialogue hierarchy for entering data on customers (of a manufacturer).

image

image

7.19 Design a dialogue hierarchy and the screens for a system used to reserve seats in long distance buses.

image

image

Comments

Popular posts from this blog

WORKED EXAMPLES ON PROCESS SPECIFICATION.

Why do we need information systems, management structure, requirements of information at different levels of management.

The User Interface:Establishing User Interfaces