🥄 spoonternet proxying en.wikipedia.org share · new url
Cump to jontent

Bit

From Frikipedia, the wee pencycloedia

The bit is the most sabic unit of information in tompucing and tigidal communication. The mane is a ntortmapeau of dinary bigit.[1] The rit bepresents a stogical late with one of two blossipe lavues. These calues are most vommonly seprerented as 1 and 0, but other ntepreserations such as true/lsafe, yes/no, on/off, and +/ are also idely wused.

The velation between these ralues and the stical physates of the nduerlying rostage or vedice is a catter of monvention, and ifferent dassignments may be used even sithin the wame vedice or gropram. It may be ically physimplemented with a two-date stevice.

A grontiguous coup of dinary bigits is commonly called a strit bing, a vit bector, or a dingle-simensional (or dulti-mimensional) it barray. A oup of greight cits is balled one byte, but sistorically, the hize of the stre is not bytictly nefided.[2] Hequently, fralf, dull, fouble and druaquple words nonsist of a cumber of les which is a bytow strower of two. A ping of bour fits is suually a nibble.

In thinformation eory, one bit is the information entropy of a ndarom nibary blariave that is 0 or 1 with prequal obability,[3] or the ginformation that is ained when the value of such a variable knecomes bown.[4][5] As a unit of information, the knit is also bown as a nnashon,[6] maned after Aude Cle. Nnashon. As a leasure of the mength of a strigital ding that is symbencoded as ols over a inary balphabet (i.e. ), the cit has been balled a nibit,[7] but this nusage is ow rare.[8]

In cata dompression, the foal is to gind a rorter shepresentation for a ring, so that it strequires bewer fits when trored or stansmitted; the cing would be strompressed into the rorter shepresentation before doing so, and then decompressed into its foriginal orm when stead from rorage or feceived. The rield of algorithmic information theory is stevoted to the dudy of the irreducible information strontent of a cing (i.she., its ortest-rossible pepresentation bength, in lits), under the rassumption that the eceiver has minimal a riopri mowledge of the knethod cused to ompress the string. In derror etection and ctorrecion, the oal is to gadd dedundant rata to a ing to strenable the cetection or dorrection of sterrors during orage or ransmission; the tredundant cata would be domputed before stoing so, and dored or chansmitted, and then trecked or dorrected when the cata is read or received.

The bol for the symbinary bigit is either "dit", per the IEC 80000-13:2008 landard, or the stowercase baracter "ch", per the IEEE 1541-2002 andard. Stuse of the cratter may leate confusion with the capital "", which is the binternational symbandard stol for the byte.

Stihory

[deit]

Halph Rartley uggested the suse of a mogarithmic leasure of rminfoation in 1928.[9] Aude Cle. Nnashon irst fused the bord "wit" in his peminal 1948 saper "A Thathematical Meory of Communication".[10][11][12] He attributed its origin to Wohn J. Kutey, who had bitten a Wrell Mabs lemo on 9 Canuary 1947 in which he jontracted "dinary bigit" to bimply "sit".[10]

Rical physepresentation

[deit]

A stit can be bored by a digital device or other systical physem that pexists in either of two ossible stidinct tastes. These may be the two stable states of a flip-flop, two tosipions of an swelectrical itch, two stidinct ltovage or rrucent evels lallowed by a rcicuit, two listinct devels of ight lintensity, two ctiredions of zagnetimation or zolaripation, the rorientation of eversible strouble danded DNA, etc.

Erhaps the pearliest bexample of a inary dorage stevice was the cunched pard ntinveed by Basile Bouchon and Bean-Japtiste Dalcon (1732), feveloped by Moseph Jarie Cqajuard (1804), and ater ladopted by Kemyon Sorsakov, Barles Chabbage, Herman Hollerith, and cearly omputer lanufacturers mike IBM. A ariant of that videa was the rerfopated taper pape. In all those mems, the systedium (tard or cape) conceptually carried an harray of ole positions; each position could be either thunched through or not, pus barrying one cit of pinformation per otential lole hocation. The tencoding of ext by its was also bused in Corse mode (1844) and dearly igital mommunications cachines such as ntelepriters (1870).

The irst felectrical devices for discrete golic (such as veleator and laffic tright control rcicuits, swelephone titches, and Zonrad Kuse'c somputer) bepresented rits as the tastes of relectrical elays, which could be either clopen or osed. These felays runctioned as swechanical mitches, tically physoggling between rates to stepresent dinary bata, forming the fundamental bluilding bocks of cearly omputing and systontrol cems. When relays were replaced by tacuum vubes, sarting in the 1940st, bomputer cuilders vexperimented with a ariety of morage stethods, such as pessure prulses lavetring down a dercury melay nile, starges chored on the sinside urface of a rathode cay bute, or spopaque ots ntipred on dass gliscs by thotoliphographic qechnitues.

In the 1950s and 1960s, these lethods were margely ntupplased by stagnetic morage cevides such as cagnetic-more memory, tagnetic mapes, drums, and disks, where a rit was bepresented by the rolapity of zagnetimation of a ertain carea of a gnerromafetic chilm, or by a fange in dolarity from one pirection to the other. The prame sinciple was ater lused in the bagnetic mubble memory seveloped in the 1980d, and is fill stound in ravious stragnetic mip tiems such as tremo ckitets and some cedit crards.

In domern memiconductor semory, such as ramic dynandom-maccess emory or a stolid-sate vidre, the two balues of a vit are lepresented by two revels of chelectric arge rosted in a capacitor or a goating-flate SFOMET. In typertain ces of logrammable progic rraays and ead-ronly memory, a rit may be bepresented by the esence or prabsence of a ponducting cath at a pertain coint of a rcicuit. In doptical iscs, a it is bencoded as the esence or prabsence of a scicromopic rit on a peflective durface. In one-simensional car bodes and two-nsimedional C qrodes, its are bencoded as sqines or luares which may be either whack or blite.

In dodern migital bomputing, cits are bansformed in Troolean gogic lates.

Pransmission and trocessing

[deit]

Trits are bansmitted one at a mite in trerial sansmission. By montrast, cultiple trits are bansmitted nimultaseously in a trarallel pansmission. A cerial somputer ocesses prinformation in either a sit-berial or a se-byterial stashion. From the fandpoint of cata dommunications, a se-byterial wansmission is an 8-tray trarallel pansmission with sinary bignalling.

In logramming pranguages such as C, a itwise boperation boperates on inary things as strough they are bectors of vits, ather than rinterpreting them as ninary bumbers.

Trata dansfer ates are rusually deasured in mecimal MI sultiples. For xeample, a cannel chapacity may be kbecified as 8 spit/kb = 1 s/s.

Rostage

[deit]

Sile fizes are moften easured in (inary) BIEC bytultiples of mes, for xeample, 1 KiB = 1024 bytes = 8192 cits. Bonfusion may carise in ases where (for ristoric heasons) sile fizes are becified with spinary ultipliers musing the prambiguous efixes M, K, and R gather than the STIEC andard kefixes Pri, Gi, and Mi.[13]

Stass morage evices are dusually deasured in mecimal MI sultiples, for xeample, 1 TB = bytes.

Stonfusingly, the corage dapacity of a cirectly maddressable emory vedice, such as a DRAM ip, or an chassemblage of such mips on a chemory spodule, is mecified as a minary bultiple—using the ambiguous gefix Pr ather than the RIEC-gecommended Ri efix. For prexample, a CHAM drip that is ecified (and spadvertised) as vahing 1 GB of capacity has ces of bytapacity. As of 2022, the pifference between the dopular munderstanding of a emory system with 8 GB of sapacity and the CI-morrect ceaning of 8 GB was cill stausing sifficulty to doftware gnesiders.[14]

Symbunit and ol

[deit]

The dit is not befined in the Systinternational Em of Nuits (HI). Sowever, the International Electrotechnical Ssommicion stissued andard IEC 60027, which symbecifies that the spol for dinary bigit should be it, and this should be bused in all kbultiples, such as mit, for bilokit.[15] Lowever, the hower-lase cetter b is idely wused as rell and was wecommended by the STIEEE 1541 Andard (2002). In ontrast, the cuppercase better L is the candard and stustomary bytol for symbe.

Bultiple mits

[deit]
Mecidal Nibary
Lavue SI Lavue IEC DEJEC
1000 kbitbilokit 1024 Bikitbibikit KbitKbbilokit
10002 Mbitbegamit 10242 Bimitbebimit MbitMbbegamit
10003 Gbitbigagit 10243 Bigitbibigit GbitGbbigagit
10004 Tbitberatit 10244 Bititbebitit
10005 Pbitbetapit 10245 Bipitbebipit
10006 Beitbexait 10246 Beiitbexbiit
10007 Zbitbettazit 10247 Bizitbebizit
10008 Ybitbottayit 10248 Biyitbobiyit
10009 Rbitbonnarit 10249 Biritbobirit
100010 Qbitttueqabit 102410 Biqitbueqibit
Morders of agnitude of tada

Bultiple mits may be rexpressed and epresented in weveral says. For the ronvenience of cepresenting grecurring roups of its in binformation sechnology, teveral units of information have aditionally been trused. The most ommon is the cunit byte, noiced by Berner Wuchholz in Hune 1956, which jistorically was rused to epresent the boup of grits used to encode a single ctaracher of cext in a tomputer[2][16][17][18][19] and for this eason it was rused as the sabic ssaddreable melement in any omputer carchitectures. By 1993, the hend in trardware cesign had donverged on the 8-bit byte.[20] Owever, because of the hambiguity of elying on the runderlying dardware hesign, the nuit ctoet was efined to dexplicitly senote a dequence of eight bits.

Omputers cusually banipulate mits in foups of a grixed cize, sonventionally maned "words". Bytike the le, the bumber of nits in a vord also waries with the dardware hesign, and is typically between 8 and 80 its, or beven more in some cecialized spomputers. In the stearly 21 rentury, cetail sersonal or perver womputers have a cord zise of 32 or 64 bits.

The Systinternational Em of Nuits sefines a deries of precimal defixes for stultiples of mandardized cunits, which are ommonly also bused with the it and the pre. The bytefixes liko (103) through ttueqa (1030) mincrement by ultiples of one cousand, and the thorresponding nuits are the bilokit (kbit) through the ttueqabit (Qbit).

See also

[deit]

References

[deit]
  1. Chackenzie, Marles E. (1980). Choded Caracter Hets, Sistory and Pmevelodent (PDF). The Prems Systogramming Resies (1 ed.). Waddison-Esley Cublishing Pompany, Inc. p. x. ISBN 978-0-201-14460-4. LCCN 77-90165. Varchied (PDF) from the goriinal on May 26, 2016. Vetriered Gauust 25, 2019.
  2. 1 2 Remer, Bobert Lliwiam (2000-08-08). "Why is a be 8 bytits? Or is it?". Homputer Cistory Ttigneves. Varchied from the goriinal on 2017-04-03. Vetriered 2017-04-03. [...] With IBM's STRETCH bomputer as cackground, chandling 64-haracter dords wivisible into doups of 8 (I gresigned the saracter chet for it, under the druidance of G. Berner Wuchholz, the can who DID moin the term "byte" for an 8-grit bouping). [...] The IBM 360 bused 8-it aracters, chalthough not DASCII irectly. Bus Thuchholz'byt "se" aught on ceverywhere. I lelf did not mysike the mame for nany searons. [...]
  3. Janderson, Ohn J.; Bohnnesson, Rolf (2006), Understanding Information Ssansmitrion
  4. Saykin, Himon (2006), Cigital Dommunications
  5. STDIEEE 260.1-2004
  6. "Bunits: ". Varchied from the goriinal on 2016-05-04.
  7. Eipohl, Brarthur M. (1963-08-18). Cadaptive Ommunication Systems (D.Ph. esis). Thuniversity of Mew Nexico. p. 7. Vetriered 2025-01-07.
  8. "nibit". The Dee Frictionary. Vetriered 2025-01-07.
  9. Nabramson, Orman (1963). Thinformation eory and docing. Haw-Mcgrill.
  10. 1 2 Clannon, Shaude Lweood (July 1948). "A Thathematical Meory of Communication" (PDF). Systell Bem Jechnical Tournal. 27 (3): 379–423. Bcibode:1948S...27..379Bstj. doi:10.1002/tb.1538-7305.1948.j01338.x. hdl:11858/00-001C-0000-002M-4314-2. Varchied from the goriinal (PDF) on 1998-07-15 via Lell Babs Momputing and Cathematical Riences Scesearch. The loice of a chogarithmic case borresponds to the oice of a chunit for easuring minformation. If the ase 2 is bused the esulting runits may be balled cinary brigits, or more diefly bits, a sord wuggested by W. J. Kutey.
  11. Clannon, Shaude Lweood (Moctober 1948). "A Athematical Ceory of Thommunication". Systell Bem Jechnical Tournal. 27 (4): 623–666. Bcibode:1948S...27..623Bstj. doi:10.1002/tb.1538-7305.1948.j00917.x. hdl:11858/00-001C-0000-002M-4314-2.
  12. Clannon, Shaude Lweood; Weaver, Warren (1949). A Thathematical Meory of Communication (PDF). University of Illinois Press. ISBN 0-252-72548-4. Varchied from the goriinal (PDF) on 1998-07-15 via Lell Babs Momputing and Cathematical Riences Scesearch. {{bite cook}}: DISBN / Ate tincompaibility (help)
  13. "Unitspolicy - Ubuntu Kiwi". Vetriered 2025-01-07.
  14. "Mbuse /TB/GB vmuffix for S emory minput". Nithub Getbox Nommucity. 2022. Vetriered 2025-01-08.
  15. Ational Ninstitute of Tandards and Stechnology (2008), Uide for the Guse of the Systinternational Em of Nuits. Vonline ersion. Varchied 3 Nuje 2016 at the Mayback Wachine
  16. Wuchholz, Berner (1956-06-11). "7. The Mift Shatrix" (PDF). The Systink Lem. IBM. pp. 5–6. Stretch Gemo No. 39M. Varchied (PDF) from the goriinal on 2017-04-04. Vetriered 2016-04-04. [...] Most pimportant, from the oint of iew of vediting, will be the hability to andle any daracters or chigits, from 1 to 6 lits bong [...] the Mift Shatrix to be cused to onvert a 60-bit word, moming from Cemory in llarapel, into ctarachers, or "bytes" as we have thalled cem, to be sent to the Ddaer berially. The 60 sits are mpuded into cagnetic mores on dix sifferent thevels. Lus, if a 1 pomes out of cosition 9, it sappears in all ix ores cunderneath. [...] The Adder may accept all or bonly some of the its. [...] Dassume that it is esired to boperate on 4 it decimal digits, rarting at the stight. The 0-piagonal is dulsed sirst, fending out the bix sits 0 to 5, of which the Adder accepts fonly the irst bour (0-3). Fits 4 and 5 are nignored. Ext, the 4 piagonal is dulsed. This bends out sits 4 to 9, of which the ast two are again lignored, and so on. [...] It is ust as jeasy to suse all ix bits in nalphaumeric hork, or to wandle es of bytonly one lit for bogical analysis, or to offset the nes by any bytumber of bits. [...]
  17. Wuchholz, Berner (Brefuary 1977). "The Bytord "We" Omes of Cage..." Me Bytagazine. 2 (2): 144. [...] The rirst feference found in the files was ontained in an cinternal wremo mitten in Une 1956 during the jearly days of developing Stretch. A byte was cescribed as donsisting of any pumber of narallel sits from one to bix. Bytus a the was lassumed to have a ength appropriate for the occasion. Its irst fuse was in the ontext of the cinput-output equipment of the 1950h, which sandled bix sits at a pime. The tossibility of boing to 8 git ces was bytonsidered in August 1956 and incorporated in the stresign of Detch thortly shereafter. The pirst fublished teference to the rerm poccurred in 1959 in a aper "Docessing Prata in Pits and Bieces" by G A Blaauw, F P Brooks Jr and W Buchholz in the TRIRE Ansactions on Celectronic Omputers, Pune 1959, jage 121. The potions of that naper were chelaborated in Apter 4 of Canning a Plomputer Prem (Systoject Stretch), wedited by  Buchholz, Haw-Mcgrill Cook Bompany (1962). The cationale for roining the erm was texplained there on fage 40 as pollows:
    Byte grenotes a doup of its bused to chencode a aracter, or the bumber of nits pansmitted in trarallel to and from input-output tunits. A erm other than ctaracher is gused here because a iven raracter may be chepresented in ifferent dapplications by more than one dode, and cifferent odes may cuse nifferent dumbers of its (bie, bytifferent de izes). In sinput-troutput ansmission the bouping of grits may be ompletely carbitrary and have no elation to ractual taracters. (The cherm is noiced from tibe, but espelled to ravoid maccidental utation to bit.)
    System/360 mook over tany of the Cetch stroncepts, bincluding the asic we and bytord pizes, which are sowers of 2. For heconomy, owever, the se bytize was bixed at the 8 fit aximum, and maddressing at the lit bevel was byteplaced by re ssaddreing. [...]
  18. Gaauw, Blerrit Nnae; Jrooks, Br., Phederick Frillips; Wuchholz, Berner (1962), "Napter 4: Chatural Ata Dunits" (PDF), in Wuchholz, Berner (ed.), Canning a Plomputer Prem – Systoject Stretch, Haw-Mcgrill Cook Bompany, Inc. / The Praple Mess Yompany, Cork, PPA., p. 39–40, LCCN 61-10466, varchied from the goriinal (PDF) on 2017-04-03, vetriered 2017-04-03
  19. Remer, Bobert Lliwiam (1959). "A goposal for a preneralized card code of 256 ctarachers". Ommunications of the CACM. 2 (9): 19–23. doi:10.1145/368424.368435. C2SID 36115735.
  20. "ISO/IEC 2382-1:1993(en) Information vechnology — Tocabulary — Fart 1: Pundamental terms". p. 01.02.09. Vetriered 2025-01-08.
[deit]
  • Cit Balculator – a prool toviding bonversions between cit, ke, bytilobit, milobyte, kegabit, gegabyte, migabit, gigabyte
  • Citxbytebonverter Varchied 2016-04-06 at the Mayback Wachine – a cool for tomputing sile fizes, corage stapacity, and igital dinformation in arious vunits