We have discussed how to convert a binary number to a decimal number. This is useful for understanding a number given to you in binary. However, converting from a decimal number to binary is just as important. In this activity you will practice converting numbers from decimal to binary.
What is the binary number 0.1011 × 1010 in decimal?
Which of the following can be represented exactly using a Python float value?
1 / 3
1 / 4
π
1234567890.0
12345678901234567890.0
What is the decimal equivalent of the hexadecimal number 11A
?
What is the decimal equivalent of the hexadecimal number BEEF
?
What is the binary equivalent of the decimal number 24
?
Use as few bits as possible in your answer.
What is the binary equivalent of the decimal number 512
?
Use as few bits as possible in your answer.
What is the binary equivalent of the decimal number 7
?
Use as few bits as possible in your answer.
What is the binary equivalent of the decimal number -7
?
Use as few bits as possible in your answer.