Content deleted Content added
m Reverted 1 edit by 2601:C2:1900:4190:6C33:B695:7A7A:A3FF (talk) to last revision by Citation bot |
Stevebroshar (talk | contribs) Binary is _not_ an encoding (it's a representation) |
||
Line 1:
{{Short description
{{For|the binary form of computer software|Machine code}}
[[Image:Wikipedia in binary.gif|thumb |The
[[
A '''binary code''' is the value of a [[data encoding |data-encoding]] convention represented in a [[Binary number |binary]] notation that usually is a sequence of 0s and 1s; sometimes called ''bit string''. For example, [[ASCII]] is an 8-[[bit]] text encoding that in addition to the [[human readable]] form (letters) can be represented as binary. ''Binary code'' can also refer to the [[mass noun]] ''code'' as a categorization of [[machine code]] and [[bytecode]].
Even though all modern computer data is binary in nature, and therefore, can be represented as binary, other [[numerical base]]s are usually used. [[Power of 2]] bases (including [[hexadecimal |hex]] and [[octal]]) are sometimes considered binary code since their power-of-2 nature makes them inherently linked to binary. [[Decimal]] is, of course, a commonly used representation. For example, ASCII characters are often represented as either decimal or hex. Some types of data such as [[image]] data is sometimes represented as hex, but rarely as decimal.
▲[[File:Binary to Hexadecimal or Decimal.jpg|thumb|Binary to Hexadecimal or Decimal]]
==History of binary codes==
|