# math

posted by .

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?

• math -

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.

## Similar Questions

1. ### binary compounds

an example of a binary compound is Take a metal and combine it with a non-metal to make a binary compound. Post your answer here if you want us to comment on it.
2. ### math

Find the binary equivalent of x^8+x^3+x+1 x^1000 + x^11 + x + 1 I just converted the decimal-format exponents to binary format (0's and 1's times powers of 2). The reason you did not get a reply so far is that most of the tutors have …
3. ### chemistry

I have 3 questions that I am uncertain about. 1) what determines the order in which the coumponent elements of binary molecular compounds are written?
4. ### computer science /use java language

write the program that inputs a string representing a binary number(0s and 1s). First, your program should veerify that it is indeed a binary number, that is, the number contains only 0s and 1s . if that is not the case, your program …
5. ### math 12

How many different binary numbers can be present by a string of binary code with 5 digits if the first digit is 1 and the last two digits are 0?
6. ### programming 2

Write a program that inputs a word representing a binary number (0s and 1s). First, your program should verify that it is indeed a binary number, that is, the number contains only 0s and 1s. if that is not the case, your program should …
7. ### computer or math

pls help me to solve this question. thank you very much binary-decimal conversion a.101= b.1100= c.100110= d.111111= decimal binary conversion a.1216 10 b.2121 10
8. ### math

The following numbers can be represented as 8-bit numbers in the binary representation.Which of these has a ‘1’ in the second place from the right in the binary representation?
9. ### Computer Science

Convert the following binary numbers to decimal (6 points): 11111 101011 1101011 Convert the following decimal numbers to binary (6 points): 49 367 1023 Convert the following hex numbers to decimal (4 points): ACE 800 Convert the following …
10. ### programming ( qbasic)

i was given this program by my teacher. it converts decimal number to binary number.. Why is that FIX kept in front of (n/2) ...6th line of the program. why is that FIX written and why?

More Similar Questions