Machine-translated by Google. Questions are authored in English.
Top

Discussion

The number of eight-bit computer words formed by 0s and 1s with exactly three 1s and five 0s is :

  • A.15
  • B.56
  • C.65
  • D.30

Answer: B

There are 56 such words.

Choose which 3 of the 8 bit positions hold the 1s; the remaining 5 are 0s:

\[ \begin{aligned} \binom{8}{3} &= \frac{8 \times 7 \times 6}{3 \times 2 \times 1} \\ &= 56 \end{aligned} \]

Choosing the positions of the five 0s gives the same answer, \(\binom{8}{5} = 56\). The value 15 is \(\binom{6}{2}\), and 30 and 65 do not arise from choosing positions at all.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.