- Binary code (computing)
[

ASCII binary.]**Binary code**is the system of representingtext or computer processor instructions by the use of a two digitnumber system . This system is composed of only the number zero, representing the off state, and the number one, representingon state, combined in groups of 8. These groups of 8 bits can represent up to 256 different values and can correspond to a variety of different symbols, letters or instructions. An example of this is the uppercase A, which inASCII binary is 01000001.In computing and telecommunication, it is used for any of a variety of methods of coding data, such as sequences of

character s, into sequences of groups ofbit s, including fixed-width words orbyte s, andvariable-length code s such asHuffman code andarithmetic coding .In a fixed-width binary code, each letter, digit, or other character, is represented by a sequence of bits of the same length, usually indicated in code tables by the

octal ,decimal orhexadecimal notation for the value of that sequence of bits interpreted as abinary number .For representing texts in the

Latin alphabet often a fixed width 8-bit code is used. TheISO 8859-1 character code uses 8 bits for each character e.g. "R" is "01010010" and "b" is "01100010"; the block of 8bit s is called abyte ; it extended the earlierASCII code, based on the version of the Latin alphabet used for English, which uses 7 bits to represent 128 characters (0–127).The

Unicode standard defines severalvariable-width encoding s and the fixed-width 32-bit (4-byte)UTF-32 code, potentially having room for billions of characters, but using barely more than 1 million combination as definable code points.A binary sequence can be translated into a decimal number using the following formula, with $y$ being the 1/0:

$(2^0\; imes\; y)\; +\; (2^1\; imes\; y)\; +\; (2^2\; imes\; y)\; dots$

Repeat the bracket and increase the exponent for every 1/0 in the sequence. It is important to remember that the formula is used on the sequence from right to left.

**ee also***

List of binary codes

*Unicode

*hexadecimal

*Octal

*Wikimedia Foundation.
2010.*