Exercise · ZW-MULTIPLICATION-PRINCIPLE-003 · ★☆☆ Basic

How many binary strings of length 8 are there?

Choose one option.

Show answer
  • A. \(256\)

Explanation

Each of the 8 positions takes 2 values: \(2^8=256\). The value 64 would be \(8^2\), with base and exponent swapped.

Study Discrete mathematics in ZWMath →

Review the concept: Multiplication principle

If a task is done in successive steps and step \(i\) admits \(n_i\) options regardless of how the earlier steps were done, the total number of ways \(N\) is the product of those numbers.

\[N=n_1\cdot n_2\cdots n_k\]

More practice problems: multiplication principle

← ZW-MULTIPLICATION-PRINCIPLE-002 ZW-MULTIPLICATION-PRINCIPLE-004 →