Consider the bar code 39 is a common bar code system that consists of narrow and wide
Question:
Consider the bar 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) A wide space occurs before a narrow space.
(b) Two wide bars occur consecutively.
(c) Two consecutive wide bars are at the start or end.
(d) The middle bar is wide.
Step by Step Answer:
Applied Statistics And Probability For Engineers
ISBN: 9781118539712
6th Edition
Authors: Douglas C. Montgomery, George C. Runger