Consider the code 39 is a common bar code system that consists of narrow and wide bars
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 (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 Answer:
Applied Statistics And Probability For Engineers
ISBN: 9781118539712
6th Edition
Authors: Douglas C. Montgomery, George C. Runger