A bar code is a pattern of bars and spaces that can be read by a scanning device ---- a computer, which determines the code ---- the widths of the bars and spaces.