Question: Consider the code 39 is a common bar code system that consists of narrow and wide bars (black) separated by either wide or narrow spaces
Consider the code 39 is a common bar code system that consists of narrow and wide bars (black) separated by either wide or narrow spaces (white). Each character contains nine elements (five bars and four spaces). The code for a character starts and ends with a bar (either narrow or wide) and a (white) space appears between each bar. The original specification (since revised) used exactly two wide bars and one wide space in each character. For example, if b and B denote narrow and wide (black) bars, respectively, and w and W denote narrow and wide (white) spaces, a valid character is bwBwBWbwb (the number 6). Suppose that all 40 codes are equally likely (none is held back as a delimiter).
Determine the probability for each of the following:
(a) The code starts and ends with a wide bar.
(b) Two wide bars occur consecutively.
(c) Two consecutive wide bars occur at the start or end.
(d) The middle bar is wide.
Step by Step Solution
3.50 Rating (170 Votes )
There are 3 Steps involved in it
a Number of permutations of the bars that start and end with a wide b... View full answer
Get step-by-step solutions from verified subject matter experts
