Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary code
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Encoding for data, using 0s and 1s}} {{For|the binary form of computer software|Machine code}} [[Image:Wikipedia in binary.gif|thumb|The word 'Wikipedia' represented in [[ASCII]] binary code, made up of 9 bytes (72 bits).]] A '''binary code''' represents [[plain text|text]], [[instruction set|computer processor instructions]], or any other [[data]] using a two-symbol system. The two-symbol system used is often "0" and "1" from the [[binary number|binary number system]]. The binary code assigns a pattern of binary digits, also known as [[bit]]s, to each character, instruction, etc. For example, a binary [[string (computer science)|string]] of eight bits (which is also called a byte) can represent any of 256 possible values and can, therefore, represent a wide variety of different items. In computing and telecommunications, binary codes are used for various methods of [[encoding]] data, such as [[character string]]s, into bit strings. Those methods may use fixed-width or [[variable-length code|variable-width]] strings. In a fixed-width binary code, each letter, digit, or other character is represented by a bit string of the same length; that bit string, interpreted as a [[binary number]], is usually displayed in code tables in [[octal]], [[decimal]] or [[hexadecimal]] notation. There are many [[character sets]] and many [[character encoding]]s for them. [[File:Binary to Hexadecimal or Decimal.jpg|thumb|Binary to Hexadecimal or Decimal]] A [[bit string]], interpreted as a binary number, can be [[binary number#Decimal|translated into a decimal number]]. For example, the [[letter case|lower case]] ''a'', if represented by the bit string <code>01100001</code> (as it is in the standard [[ASCII]] code), can also be represented as the decimal number 97.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)