Consider the bar code 39 is a common bar code

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.


  • Access to 1 Million+ Textbook solutions
  • Ask any question from 24/7 available


Copyright © 2019 SolutionInn All Rights Reserved