Bit View Of The Universal Product Code - The PjProblemStrings.
TECTechnics Classroom   TECTechnics Overview

Expressions Of Pj Problems
Bit View Of The Universal Product Code - The PjProblemStrings

Bit View Of The Universal Product Code - The PjProblemStrings

The Universal Product Code (UPC, also called UPC-A and UPC barcode) is on almost all products in any modern retail store. The UPC is a consumer product identifier. It was introduced in 1974 by GS1 (a not-for-profit organization that develops and maintains standards for business communication) to improve the efficiency of the check-out process, inventory management and supply chain logistics.

(a) Name the three symbolic languages and the two mappings that encode the Universal Product Code (figure 147.1).
(b) Why three symbolic languages and not one?
(c) Use PjProblemStrings to summarize the encoding of the Universal Product Code.

The strings: S7P2A21 (Physical Identity).

The math:
Pj Problems of Interest is of type identity.

Bit View Of The Universal Product Code - The PjProblemStrings

(a) The three symbolic languages that encode the Universal Product Code are: the geometric form language, the binary number system lauguage and the decimal number system language.
The two mappings are: geometric form to binary number and binary number to decimal number.

(b) Ideally, only the decimal number system language should be needed. However, the computation of the scanning technology needed to recognize just the decimal numbers (optical character recognition) is more complicated and less reliable.

(c) PjProblemString of Interest: S7P2A21 (physical identity). This identity consists of 12 decimal numbers (6 from the left side and 6 from the right side) derived from 84 strings of bits where 7 bits made up a decimal number.

Supporting PjProblemStrings:
S7P1A13 (containership - area): the 30 vertical black bars of various widths. The first two black bars and the white space between them constitute the left-hand guard pattern. The last two black bars and the white space between them constitute the right-hand guard pattern. These gaurd patterns orient the scanning device by establishing the tiniest black bar as a bit 1 and the white space between as a bit 0. So, both the left-hand guard pattern and the right-hand guard pattern are each represented by bits 101. Bars wider than the tiniest bar are 2, 3, or 4 times wider. If a bar is twice as wide, it is represented by two 1 bits (e.g. 11), 3 times wider by three bits (e.g. 111) and 4 times wider by four bits (e.g.1111). Ditto for the white spaces except that the bit representation is 0. A 5-bit center guard pattern (01010) is built in as an error indicator. If the scanner does not find the center guard pattern in its appropriate location, it disacknowledges the UPC.
S7P6A64 (grouping/interaction - multi criteria permutation): the orderly grouping of the black bars.
S7P4A41 (motion - linear): the light rays on the black bars from the scanner
S7P3A31 (force - pull): the absorption of light rays by the black bars (registered in the scanner system as a sequence of small black rectangles, figure 147.2).
Bit View Of The Universal Product Code - The PjProblemStrings
S7P5A51 (physical - change): the mapping of the sequence of small rectangles to binary numbers
S7P5A51 (physical - change): the mapping of the binary numbers to decimal numbers which establish the S7P2A21, the physical identity of the product.

In the case of the UPC, 051500241363, of figure 147.1, the product is Jif, to go peanut butter. The first digit is called the number system character. A 0 as the first digit implies a regular UPC; a 2 as the first digit implies product is a variable-weight grocery item (e.g. meat, produce); a 5 as first digit implies UPC is a coupon-UPC. The next five digits (51500) identify the manufacturer of the product; the next five digits (24136) identify the product of the manufacturer and is dependent on the manufacturer's code. In other words, several different manufacturers can have the same product code but the UPC will be different because the manufacturers' codes are different. The final digit (3, in this case) is called the modulo check character. It is used to check for errors in the UPC. The computer system calculates it by means of a formula. The result of the calculation must be equal to the modulo check character indicated in the UPC code otherwise the computer rejects the UPC code.

The UPC can be scanned in both directions. The computer knows the scanning direction by interpreting the parity of the first seven binary digits scanned. Odd parity implies scanning is left to right and the left-hand side mapping of binary to decimal table (figure 147.2) is used. Even parity implies scanning is right to left and the right-hand side mapping of binary to decimal table is used.

The price of a product is not part of a UPC. Product price is fetched from company's database. Also, an employee at checkout can type in the twelve decimal digits of the UPC if for some unexpected reasons, the scanner can not read the UPC.


The point . is a mathematical abstraction. It has negligible size and a great sense of position. Consequently, it is front and center in abstract existential reasoning.
Derivation Of The Area Of A Circle, A Sector Of A Circle And A Circular Ring
Derivation Of The Area Of A Trapezoid, A Rectangle And A Triangle
Derivation Of The Area Of An Ellipse
Derivation Of Volume Of A Cylinder
Derivation Of Volume Of A Sphere
Derivation Of Volume Of A Cone
Derivation Of Volume Of A Torus
Derivation Of Volume Of A Paraboloid
Volume Obtained By Revolving The Curve y = x2 About The X Axis
Single Variable Functions
Absolute Value Functions
Real Numbers
Vector Spaces
Equation Of The Ascent Path Of An Airplane
Calculating Capacity Of A Video Adapter Board Memory
Probability Density Functions
Boolean Algebra - Logic Functions
Ordinary Differential Equations (ODEs)
Infinite Sequences And Series
Introduction To Group Theory
Advanced Calculus - Partial Derivatives
Advanced Calculus - General Charateristics Of Partial Differential Equations
Advanced Calculus - Jacobians
Advanced Calculus - Solving PDEs By The Method Of Separation Of Variables
Advanced Calculus - Fourier Series
Advanced Calculus - Multiple Integrals
Production Schedule That Maximizes Profit Given Constraint Equation
Separation Of Variables As Solution Method For Homogeneous Heat Flow Equation
Newton And Fourier Cooling Laws Applied To Heat Flow Boundary Conditions
Fourier Series
Derivation Of Heat Equation For A One-Dimensional Heat Flow

The Universe is composed of matter and radiant energy. Matter is any kind of mass-energy that moves with velocities less than the velocity of light. Radiant energy is any kind of mass-energy that moves with the velocity of light.
Periodic Table
Composition And Structure Of Matter
How Matter Gets Composed
How Matter Gets Composed (2)
Molecular Structure Of Matter
Molecular Shapes: Bond Length, Bond Angle
Molecular Shapes: Valence Shell Electron Pair Repulsion
Molecular Shapes: Orbital Hybridization
Molecular Shapes: Sigma Bonds Pi Bonds
Molecular Shapes: Non ABn Molecules
Molecular Orbital Theory
More Pj Problem Strings

What is Time?
St Augustine On Time
Bergson On Time
Heidegger On Time
Kant On Time
Sagay On Time
What is Space?
Newton On Space
Space Governance
Imperfect Leaders
Essence Of Mathematics
Toolness Of Mathematics
The Number Line
The Windflower Saga
Who Am I?
Primordial Equilibrium
Primordial Care
Force Of Being

Blessed are they that have not seen, and yet have believed. John 20:29

TECTechnic Logo, Kimberlee J. Benart | © 2000-2021 | All rights reserved | Founder and Site Programmer, Peter O. Sagay.