Yuav Teem Caij Li Cas Binary Moos

Cov txheej txheem:

Yuav Teem Caij Li Cas Binary Moos
Yuav Teem Caij Li Cas Binary Moos

Video: Yuav Teem Caij Li Cas Binary Moos

Video: Yuav Teem Caij Li Cas Binary Moos
Video: yuav qaib li cas thiaj tsis raug dag 2024, Hlis ntuj nqeg
Anonim

Binary moos, tseem hu ua moos binary, yog nrov los ntawm cov kws tshaj lij thev naus laus zis. Nrog kev pab ntawm cov khoom siv ntxiv no, lawv hais txog lawv lub koom nrog kev tshaj lij ntawm tus programmer, tus tsim qauv system, web designer. Zoo ib yam li lwm cov moos uas tsis muaj synchronization sab nraud, binary moos yuav tsum tau muab kho txhua zaus.

Yuav teem caij li cas binary moos
Yuav teem caij li cas binary moos

Cov Lus Qhia

Kauj ruam 1

Kawm nyeem binary moos qhia (yog tias koj twb paub tias yuav ua li cas, hla qib no). Txhua ntu ntawm tus lej binary muaj qhov "hnyav" ob zaug rau hauv ib qho dhau los, piv txwv li, 1, 2, 4, 8, 16, 32. Yog tias cov bits nyob rau hauv kab rov tav, qhov tsawg kawg ntawm lawv yuav nyob sab xis, thiab yog tias ntsug - hauv qab. Txhawm rau hloov cov binary naj npawb rau zauv, nws txaus los ntxiv qhov tseem ceeb ntawm tus lej ua ke. Piv txwv, tus lej 101011 sawv rau 32 + 0 + 8 + 0 + 2 + 1 = 43. Qee cov moos binary zaub tso tawm tsis yog binary, tab sis binary-decimal. Qhov no txhais tau hais tias tus lej hauv lawv tau muab thawj zaug rau hauv cov lej ntawm tus lej, thiab tom qab ntawd txhua tus ntawm lawv tau muab txhais ua binary code nyias. Tib tus lej 43 hauv kev siv binary-decimal yuav sau raws li hauv qab no: 0100 (0 + 4 + 0 + 0 = 4) 0011 (0 + 0 + 2 + 1 = 3).

Kauj ruam 2

Qhov kev txiav txim pes tsawg nyob rau hauv ib lub moos binary tau teem rau lub sijhawm tam sim no nyob ntawm nws tus qauv. Nws tsis yooj yim sua kom npog tag nrho lawv cov ntau yam hauv ib tsab xov xwm. Feem ntau, qhov ntsuas tau muaj ob lub khawm uas Qhia tias Xaiv thiab Teeb. Thawj zaug ntawm lawv tau siv los xaiv qhov muaj nuj nqis (teev, feeb los yog vib nas this), thiab qhov thib ob yog los tsim lawv qhov tseem ceeb. Nias lub khawm Xaiv thiab lub sijhawm yuav pib nyem. Siv tus yuam sij Teeb los teeb tsa kev nyeem ntawv, uas yuav voj voog txij li 0 txog 12 lossis 24 txhua zaus koj nias nws, thiab tom qab ntawd rov pib xoom. Khaws cia khawm yuav ua rau tus nqi nce npe nrawm. Qhov ceev ntawm cov txheej txheem no nyob ntawm saib qauv qauv. Thaum kev nyeem ntawv ze rau qhov xav tau, tso lub pob, thiab tom qab ntawd teeb tsa lawv raws nraim nrog cov nias luv luv ua tiav.

Kauj ruam 3

Tam sim no nias lub Pob Xaiv dua. Cov feeb yuav tam sim no pib flashing. Qhov sib txawv ntawm no yog qhov lawv hloov ntawm 0 rau 59. Tom qab teeb tsa cov feeb, nias Xaiv dua. Lub moos uas tsis tuaj yeem qhia txog vib nas this yuav tawm ntawm qhov chaw teeb tsa, thiab cov uas muaj txoj haujlwm no yuav mus rau hauv vib nas this teeb hom. Thaum koj hnov lub sijhawm qhia ntawm lub xov tooj cua, nias Teeb, thiab ob peb feeb yuav rov pib dua rau xoom. Yog tias lawv tau dhau mus dua 31 lub vib nas this suav nrog, tib lub sijhawm cov naj npawb hauv cov txee ntawm feeb yuav nce ntxiv los ntawm ib qho. Tam sim no rov qab lub moos mus rau hom kev ua haujlwm los ntawm nias lub khawm Xaiv dua. Tej zaum koj tseem yuav tsum tau teem lub hnub thiab lub hli nyob rau hauv tib txoj kev ua ntej no, tab sis qhov no tsis zoo li, vim cov caij nyoog hauv cov sij hawm binary yog qhov tsawg dua li hauv kaum xyoo.

Kauj ruam 4

Nws yooj yim dua yog tias hloov ntawm Xaiv ib lub khawm muaj ob, tom ntej no yog cov xub taw nyob rau hauv cov lus qhia sib txawv. Tus nce los yog tus xub xub sib txuas ua ke tib yam li tau teem yuam sij. Siv tib qho nrog cov xub taw rau hauv qab lossis sab laug kom txo qis kev nyeem ntawv yog tias koj poob qee qhov tsis tsim nyog, lossis yog koj tuaj yeem mus rau tus naj npawb xav tau sai dua txoj kev no.

Kauj ruam 5

Desktop binary clocks qee zaum muaj tib lub logic li ntawm cov lej thawb duab. Nias thiab tuav lub pob kom teev lawv. Tom qab ntawd siv Teev Teev khawm los tsim lub txoos teev, thiab feeb khawm kom tsim feeb feeb. Tsuas yog tom qab ntawd tso tawm Lub Ntsiab yuam sij. Siv Alarm tus lej hloov, koj tuaj yeem tsim lub sijhawm tswb. Siv lub Alarm on / off hloov los qhib nws thiab tua.

Pom zoo: