What is the probability that a randomly selected bit string of length 10 is a palindrome?
Show answerHide answer
Correct answer: (B) 1/32
Explanation
In a 10-bit palindrome the first 5 bits can be chosen freely and the last 5 bits are fixed by them. So there are 2⁵ palindromes out of 2¹⁰ strings. Probability = 2⁵/2¹⁰ = 1/2⁵ = 1/32.