they are binary code.
01001001 = 64 + 8 + 1 = 73 in decimal format.
in ASCII 73 = "I"
01010100 = 64 + 16 + 4 = 84 in decimal format.
in ASCII 84 = "T"
decimal decoding is pretty simple the last digit is 1, the next to the left is 2, and it doubles each one to the left.
128, 64, 32, 16, 8, 4, 2, 1
if it is a 1, you add the number for the place, if it is a 0 you do not.
just like the decimal system, only we use 10.
..., 10000, 1000, 100, 10, 1
8 bits (1's and 0's) are a byte, and bytes are used for characters, which is why everyone is guessing letters, but it could just as easily be the numbers that are stored there.
On this table you can find all the ascii letter listed with their decimal equivalent.
http://www.asciitable.com/
01001001 = 64 + 8 + 1 = 73 in decimal format.
in ASCII 73 = "I"
01010100 = 64 + 16 + 4 = 84 in decimal format.
in ASCII 84 = "T"
decimal decoding is pretty simple the last digit is 1, the next to the left is 2, and it doubles each one to the left.
128, 64, 32, 16, 8, 4, 2, 1
if it is a 1, you add the number for the place, if it is a 0 you do not.
just like the decimal system, only we use 10.
..., 10000, 1000, 100, 10, 1
8 bits (1's and 0's) are a byte, and bytes are used for characters, which is why everyone is guessing letters, but it could just as easily be the numbers that are stored there.
On this table you can find all the ascii letter listed with their decimal equivalent.
http://www.asciitable.com/
Geen opmerkingen:
Een reactie posten