Because computers do not understand words, they use a different type of language, of which barcodes are a part. And this is how it works.
What looks like thick and thin lines are actually a combination of seven vertical bars – some white and some black. The white bars reflect light and are recognised as zeros. The black bars don’t reflect light as much and so these are recognised as ones.
This is a way of communicating in binary – the alphabet of computers. These seven black and white bars produce this sequence of zeros and ones, which a computer recognises as the digit five. The next set of seven black and white bars are recognised as the digit three.
Once the computer works out all the digits, it strings them together to make the 13-digit identification number. It then looks this number up in a database to find out what it is. By giving items a unique digital identity, computers right across the world can communicate with each other.
You might not realise it, but something as common as searching the web means that a computer is performing an incredibly complex task – picking through billions of web pages to find the one you are looking for. It is computer code, on your phone and in the search engine running on computers (also known as servers) that could be thousands of miles away that make this possible.
Search engines constantly keep information about the web and create a vast catalogue of human knowledge. Without indexes, it just wouldn’t be possible to find anything.
Imagine trying to find a word in a dictionary without an ordered index, an impossible task right? But because the worldwide web is indexed, words that you type on your phone are sent to the search engine for analysis.
If a word seems unusual, it checks to see if it’s a misspelling. and the search engine moves to lists of similar words that, from past experience, are more likely to be what you intended. Have you noticed that Google does this?
For each key word that you type, the search engine will look through the indexes and pull out pages that contain them. These pages are then ranked into order of relevance according to lots of factors.
The different search engines use different programs, but they all attempt to read your mind and present you with what you want. And in less than a second, what you get is a nice ordered list of the best results from billions of webpages. That is the power of computer code!