Let a computer program generate only the digits 0 and 1 to form a string of binary numbers with probability of occurrence of 0 at even places be and probability of occurrence of 0 at the odd place be . Then the probability that 10 is followed by 01 is equal to :
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. the probabilities depend on the parity of each place.
Concept refresher. Independent places multiply their probabilities; the probability of 1 at a place is 1 minus the probability of 0 there.
Approach. The block "1001" can start at an odd place or an even place; find each probability and add, which is the reading the question intends.
Step 1: Odd start
Starting at an odd place, the four places are odd, even, odd, even, and the digits 1, 0, 0, 1 have probability .
Step 2: Even start
Starting at an even place, the places are even, odd, even, odd, and the same digits have probability .
Step 3: Answer
The two starting cases are separate, so adding their probabilities gives .
Answer. (D)
Why the other options are wrong
- (A) counts only one starting place; the pattern can start at an odd or an even place.
- (B) would need each start to give ; each gives .
- (C) is three times ; the two starts give each.
Key takeaway
The trap. using for every place.
How toppers think. list the parity of each of the four places.
Remember. at each place.
More on Independent Events
- A man throws a fair coin repeatedly. He gets 10 points for each head he throws and 5 points for each tail he…
- A and B alternately throw a pair of dice. A wins if he throws a sum of 5 before B throws a sum of 8, and B…
- A fair die is thrown until 2 appears. Then the probability, that 2 appears in even number of throws, is
- All 28 on Independent Events ›