Binary Numbers Exercises
Recap:
- Computers use binary numbers.
- Decimal digits have 10 possible values ranging from 0 to 9.
- Bits have only two possible values: 0 and 1.
- A binary number is composed of only 0s and 1s.
Example: 1011
Figuring out the value of binary numbers
In decimal:6357 = (6X103) +(3X102) + (5X101) + (7X100)
In Binary, the number 1011 can be expressed as follows:
(1 * 23) + (0 * 22) + (1 * 21) + (1 * 20) = 8 + 0 + 2 + 1 = 11
Exercises:
1. Express the following Decimal numbers as Binary Numbers
- 45
- 7
- 112
- 22
- Express the following Binary Numbers as Decimal Numbers
- 101
- 100
- 1001
- 10