# Creating a UPC Barcode

- Author:
- victogerbs

## Instructions for Use

1. Click on “Show Partition”. This divides the barcode into 95 equal partitions. Write a sequence of the 95 binary digits. If the area is Black = 1, White = 0.
2. Click on “Show Binary” to check your answer.
3. Notice how the barcode is further partitioned into subsections (the darker lines).
· The 1

^{st}subsection includes three digits. · The 2^{nd}, 3^{rd}, 4^{th}, 5^{th}, 6^{th}, and 7^{th}subsections each include seven digits. · The 8^{th}subsection includes five digits. · The 9^{th}, 10^{th}, 11^{th}, 12^{th}, 13^{th}, and 14^{th}subsections include seven digits. · The 15^{th}subsection contains three digits. · The 1^{st}subsection is known as the Left Guard, the 8^{th}subsection as the Middle Guard, and the 15^{th }subsection as the Right Guard. 4. Click on “Show Codes”. The 2^{nd}, 3^{rd}, 4^{th}, 5^{th}, 6^{th}, and 7^{th}subsections will be Left-Side Codes. The 9^{th}, 10^{th}, 11^{th}, 12^{th}, 13^{th}, and 14^{th }subsections will be Right-Side Codes. Write the corresponding number for each subsection. 5. Click on “Show UPC” to double check your answer. 6. This is the UPC code that is printed on packages. Go to http://www.upcitemdb.com/ and type in your 12-digit UPC code to discover where this UPC code comes from. Where did this UPC code come from?## Questions to Guide Learning

1. How are the Left and Right-Side Codes similar?
2. How are the Left and Right-Side Codes different?
3. How do you think the computer knows which way the code is oriented?