Answer: 0.4512
Step-by-step explanation:
A bit string is sequence of bits (it only contains 0 and 1).
We assume that the 0 and 1 area equally likely to any place.
i.e. P(0)= P(1)= 
The length of bits : n = 10
Let X = Number of getting ones.
Then , 
Binomial distribution formula :
, where p= probability of getting success in each event and q= probability of getting failure in each event.
Here , 
Then ,The probability that a bit string of length 10 contains exactly 4 or 5 ones.






Hence, the probability that a bit string of length 10 contains exactly 4 or 5 ones is 0.4512.