Binary Numbers are Base 2 systems to represent a value using 0’s and 1’s. This uses two digits. Also Base 10 numbers are the numbers that we use every day. This uses 10 digits from 0 to 9. Using base two means it uses the exponent increases from 0 and on. Using base ten is just converting the base two numbers into the designated numbers. Binary works from right to left rather than what we know as from left to right. Each base is 1 bit, and 8 bits like the top row on the chart bellow equals to 1 byte.
| 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Where the top numbers are the base 2’s and the bottom number corresponds to the top and uses to measure 0’s and 1’s.
The following byte shows a base ten number of 10:
|
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
This byte show the binary number of ten because the 0’s represent 0’s and where the 1’s are located shows that corresponding numbers which is 8 and 2 that makes the base ten number of 10. (8+2=10)
To use Binary Numbers affectively, you need to convert this into base ten numbers.
|
2^7 |
2^6 |
2^5 |
2^4 |
2^3 |
2^2 |
2^1 |
2^0 |
|
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
|
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
|
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
3 |
|
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
7 |
|
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
15 |
|
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
31 |
|
0 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
63 |
|
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
127 |
|
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
255 |
Filed under: Uncategorized