Binary code: Difference between revisions

Content deleted Content added
Rendering: Match section name to updated content (removed in-depth historical info)
it's broader and looser than a just machine code and bytecode
 
Line 3:
[[Image:Wikipedia in binary.gif|thumb |The ASCII-encoded letters of "Wikipedia" represented as binary codes.]]
[[Image:Binary to Hexadecimal or Decimal.jpg|thumb |Values represented in binary, hex and decimal]]
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 a ''[[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'' asthat ais categorizationnot ofhuman readable in nature such as [[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.