Placement AptitudeHardTCS Digital · Infosys SP

A fair coin is tossed 6 times. What is the probability that no two consecutive tosses are both heads?

  1. A. 21/64
  2. B. 5/16
  3. C. 3/8
  4. D. 11/32

Correct answer: A. 21/64

Count HH-free strings of length n: 2, 3, 5, 8, 13, 21 for n = 1 to 6 (Fibonacci recurrence). So 21 favourable out of 64.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic