math
posted by Anonymous on .
the binary system is used for computer programming. a binary number consists of a string of digits that are either 0s or 1s
a. if a string of binary code is 5 digits long, how many binary numbers are possible if the first digit is a 1?
b. how many different binary numbers can be represented by a string of binary code with 5 digits if the first digit is 1 and the last two digits are 0?

The maximum binary numbers ocur when
all 5 digits are 1s: 1 1 1 1 1 base 2.
a. 5 binary numbers are possible.
b. 1 1 1 0 0 base 2.
1*2^4, 1*2^3, and 1*2^2 =
16, 8, and 4 = 3 binary numbers that can be represented.