(a) "2^8=256"
There are 256 bit strings of length 8.
(b)
"=2^9-1=511"
There are 511 bit strings of length 8 or less.
(c) There are 26 letters in the alphabet.
The number of 6 letter strings "=26^6"
The number of 6 letter strings without any x "=25^6"
The number of 6 letter strings with at least one x
There are 64,775,151 strings of 6 lower case English letters that have the letter x in them somewhere.
(d)
Color "=12"
Gender "=2"
Size"=2"
Use the Product Rule
48 different types of this shirt are made.
Comments
Leave a comment