Answer:
A) b) and c) answer has been explained below.
Explanation:
For the question would use 1's and 0's and taking probabilities to be equal for both using random test pattern whose formula is when p = q
then Simplify to
P[k] = nCk /2^n
A.Probability that all bits are 1s
16c16/2^16 = 1/65536
B. Probability that all bits are 0s
16c0/2^16 = 1/65536
C.the probability that exactly 8 bits are 1s and 8 bits are 0s
16c8/2^16 = 12870/65536 =>0.1963 ≈ 19.63%