Placement AptitudeHardTCS NQT Advanced · Amazon OA
A fair coin is tossed 5 times. What is the probability that no two heads come up on consecutive tosses?
- A. 11/32
- B. 1/2
- C. 8/32
- D. 13/32
Correct answer: D. 13/32
Strings of length n with no HH follow a(n) = a(n − 1) + a(n − 2): 2, 3, 5, 8, 13. So 13 of the 32 outcomes work: 13/32.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Three people take seats in a row of 10 seats so that between any two of them there are at least 2 empty seats. In how many ways can they…
- Two fair dice are thrown. What is the expected value of the larger of the two numbers (if they are equal, that common number)?
- Four fair dice are thrown. What is the probability that the total is exactly 14?
- In how many ways can 5 different balls be placed into 3 identical boxes if a box may be left empty?
- In how many ways can 3 different numbers be chosen from 1, 2, …, 30 so that their sum is divisible by 3?
- Ravi tells the truth 3 out of 4 times. He throws a fair die and reports that it shows a six; whenever he lies about a non-six result, he…