Lub hom phiaj ntawm binary code yog dab tsi?
Lub hom phiaj ntawm binary code yog dab tsi?

Video: Lub hom phiaj ntawm binary code yog dab tsi?

Video: Lub hom phiaj ntawm binary code yog dab tsi?
Video: Daniyees Muaj Kev Ntseeg Tas Nws Sim Neej—Ntu 1 2024, Kaum ib hlis
Anonim

A binary code sawv cev rau cov ntawv nyeem, computer processor instructions, los yog lwm yam ntaub ntawv siv ib tug ob lub cim system. Thetwo-symbol system siv feem ntau "0" thiab "1" los ntawm binary tus lej system. Cov binary code muab tus qauv ntawm binary lej, tseem hu ua me ntsis, rau txhua tus cim, kev qhia, thiab lwm yam.

Hauv qhov no, lub hom phiaj ntawm binary code yog dab tsi?

Binary yog lub hauv paus 2 tus lej system tsim los ntawm Gottfried Leibniz uas yog tsim los ntawm ob tus lej xwb: 0 thiab 1. Cov lej no yog lub hauv paus rau txhua tus. binary code , uas yog siv los sau cov ntaub ntawv xws li cov lus qhia uas cov khoos phis tawj siv, lossis cov ntawv digital uas koj nyeem txhua hnub.

Ib yam li ntawd, puas tseem siv binary code? Txog tam sim no, peb yuav teb yog vim li cas computers siv lub binary ("base 2") tus lej system thiab vim li cas cov khoom siv hluav taws xob hauv khw binary tus lej. Thawj cov computers siv binary tus lej, thiab lawv yog tseem siv tau hnub no.

Tsis tas li cov lus nug yog, vim li cas binary code tau tsim?

Cov niaj hnub binary tus lej system, lub hauv paus rau binary code , yog invented los ntawm Gottfried Leibniz nyob rau hauv 1679 thiab tshwm nyob rau hauv nws tsab xov xwm Explication del'Arithmétique Binaire. Nws ntseeg li ntawd binary cov lej tau cim ntawm lub tswv yim Christian ntawm creatio ex nihilo orcreation tawm ntawm tsis muaj dab tsi.

10 txhais li cas hauv binary?

Suav hauv binary

Tus lej lej Tus lej Binary
7 111
8 1000
9 1001
10 1010

Pom zoo: