Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Date of class.docx
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
1.94 Mб
Скачать

Date of class:_____________

LABORATORY CLASS №3

Topic: PRODUCT CODING

The objective: To study rules of decimal encoding for consumer units of goods and dispatch units of goods, and rules of their transforming into binary numerical code, and then into barcodes according to EAN-8 or EAN-13, DUN-14 or DUN-16. To be able in reading and writing barcodes, binary and decimal digital codes for consumer and dispatch units of goods.

Task 1

Convert decimal digits 540267 into binary digital code used in codes EAN-8 and EAN-13 for consumer units, using the sets A, B, C from table 1. Using the set C present digits by a barcode, supposing that 1 Mod=5 mm.

Table 1.

Table for transforming of binary codes into decimal digits,

using different sets of zero-ones permutations

for EAN barcodes

Decimal

Seven-element permutation

Set A

Set B

Set C

0

0001101

0100111

1110010

1

0011001

0110011

1100110

2

0010011

0011011

1101100

3

0111101

0100001

1000010

4

0100011

0011101

1011100

5

0110001

0111001

1001110

6

0101111

0000101

1010000

7

0111011

0010001

1000100

8

0110111

0001001

1001000

9

0001011

0010111

1110100

Task 2

Present decimal digits, offered by teacher, by binary numerical code, which is used in codes DUN-14 and DUN-16 for dispatch units, using five-element permutation of table 2. Using code ITF for dispatch units, present digits by a barcode, making width of narrow bars and blanks equal to 5 mm, width of wide bars and blanks equal to 10 mm.

Table 2

Binary codes, used for barcodes itf

Deciminal

Binary

0

00110

1

10001

2

01001

3

11000

4

00101

5

10100

6

01100

7

00011

8

10010

9

01010

«Start»

0000

«Stop»

100

Task 3

Using the barcode offered by teacher find decimal code for consumer unit if the digit put outside the left restrictive sign is known. By obtained decimal code determine country of supplier and also test is with check digit.

Mark and signature of professor:

Example of tests

  1. Specify a code for dispatch unit:

(choose more than one answer)

  1. DUN-14

  2. EAN-10

  3. DUN-16

  4. EAN-8

  5. CPC 34210.1

  1. Encoding of information signs in the left part of ean-13 code depends on:

(choose more than one answer)

  1. Position of an information sign

  2. System of classification

  3. Method of classification

  4. The digit put outside the left restrictive mark (flag digit)

  5. Quantity of «0»s and «1»s in a binary numerical code representing an information sign

  1. The first (left) digit in dun-14 system is:

(choose one answer)

  1. Check digit

  2. Country code

  3. Manufacturer code

  4. Package indicator

  5. The first digit of country code

Date of class:_____________

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]