Binary Codes Group 5
Binary Codes Group 5
Binary Codes Group 5
GROUP 5
BINARY CODES
- is a base 2 number system invented by
Gottfried Leibniz where numeric values
represented by different combinations of
0, 1, also known as ON or OFF.
VALU
128 64 32 16 8 4 2 1
E
ON/O
0 1 1 0 1 0 0 0
FF
CONVERTING A TEXT INTO A
BINARY CODE
In converting a text to binary code we will use the
ASCII or American Standard Code for
Information Interchange. ASCII codes represent
text in computers, telecommunications,
equipment, and other devices. Most modern
character-encoding schemes are based on ASCII,
although they support many additional characters.
ASCII TABLE
EXAMPLE:
First, we need to identify the binary number of each letter in the word CAT.
VALUE 128 64 32 16 8 4 2 1
ON/OFF 0 1 0 0 0 0 0 1
In the letter
C base on the ASCII it is equal to 67
VALUE 128 64 32 16 8 4 2 1
ON/OFF 0 1 0 0 0 0 1 1
VALUE 128 64 32 16 8 4 2 1
ON/OFF 0 1 0 1 0 1 0 0
In the letter T base on the ASCII it is equal to 84
Lastly, we will just combine their binary numbers.
64+16+4 = 84
64+4+1 = 69
64+8+4+1 = 77
01010011010101000100010101001101