April
1999 QUESTION 3 Total Marks: 20 Marks |
Click here to access other
questions
GRADE A
|
(a) | (i) Describe two hidden costs which can be reduced by using electronic forms. | [4] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
(ii) List two drawbacks of using electronic forms. | [2] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) Two
hidden costs:
(ii) Two drawbacks:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
(b) | Describe, using examples, each of the following types of code. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) Significant-digit subset codes. | [2] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(ii) Cipher codes. | [2] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(iii) Sequence codes. | [2] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(i)
Significant - digit subset codes The code is divided into subset of code. For example:
(ii) Cipher codes
for markdown price. Markdown price would be displayed as BIMC on the price tag to prevent customer from knowing it. It would only be known by the staff only. BIMC means $18.75 for markdown price. (iii) Sequence code
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
(c) | Give one example of how each of the following guidelines can aid coding. | [1] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) "Avoid confusing codes". | [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(ii) "Keep codes concise". | [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(iii) "Keep codes stable". | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) Avoid
confusing codes (avoid codes that similar) Eg: 5 and the letter 'S'. This should be avoided. (ii) Keep codes concise (avoid long code, as for inevitable
long codes such as phone number, it should be divided into subcode) (iii) Keep code stable (semantic
remains unchanged)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
(d) | Give one example of each of the following means of validating input data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) Test for reasonableness. | [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(ii) Test for invalid values. | [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(iii) Test for comparison with stored data. | [1] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
(i) Test
for reasonableness Eg: age of a person should be reasonable one. It should not be 1200 or 120 years old. (ii) Test for invalid values
You should not enter value other than 1, 2, 3. (iii) Test for comparison with
stored data
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
(e) | When is the check digit approach useful? | [2] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|