Question: Bar Code Exercise Postal Barcodes ( Page 1 of 2 ) For faster sorting of letters, the United States Postal Service encourages companies that send

Bar Code Exercise
Postal Barcodes (Page 1 of 2)
For faster sorting of letters, the United States Postal Service encourages companies that send large volumes of mail to use a bar code denoting the ZIP code. The encoding scheme for a five-digit ZIP code is shown in Table 1. There are full-height frame bars on each side. The five encoded digits are followed by a correction digit, which is computed as follows: Add up all digits, and choose the correction digit to make the sum a multiple of 10. For example, the ZIP code 95014 has sum of digits 19, so the correction digit is 1 to make the sum equal to 20.
Each digit of the ZIP code, and the correction digit, is encoded according to Table 1, where 0 denotes a half bar and 1 a full bar. Note that they represent all combinations of two full and three half bars. The digit can be easily computed from the bar code. For example, 01100 is 07+14+12+01+00=6. The only exception is 0, which would yield 11 according weight formula.
Continued on next slide
use at least one function
do not read digits separately
Page 24
 Bar Code Exercise Postal Barcodes (Page 1 of 2) For faster

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!