Question: Concern the set of binary strings of length 8 (each character is either the digit 0 or the digit 1).
1. How many such strings are there?
2. How many begin and end with 0?
3. How many begin or end with 0?
4. How many have 1 as the second digit?
5. How many begin with 111?
6. How many contain exactly one 0?
7. How many begin with 10 or have a 0 as the third digit?
8. How many are palindromes?
9. How many contain exactly seven 1s?
10. How many contain two or more 0s?