Byte

From Citizendium
Revision as of 13:45, 6 April 2007 by imported>Joshua David Williams (creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Byte is the unit of data. In electronics, information is determined by the toggle of two states, usually referred to as 'on' or 'off'. To represent this state, computer scientist use the values of 0 (off) and 1 (on); we refer to this as a bit. Each byte is made of eight bits, and can represent any number from 0 to 255. We obtain this number of possible values, which is 256 when including the 0, by raising the possible values of a bit (two) to the power of the length of a byte (eight); thus, 28 = 256 possible values in a byte.

Bytes can be used to represent a countless array of data types, from characters in a string of text, to the mystical contents of a binary executable file. Every file is composed of them.

While basic, byte is not the most commonly used unit of data. Because files are normally many thousands or even billions of times larger than a byte, other terms are used to increase readability. Prefixes are added to the word byte, such as kilo for one thousand bytes, mega for one million, giga for one billion, and even tera, which is one trillion.