Ehia mau KB i loko o MB a iʻole ka GB? Eʻike i ka nui o kāu kamepiula o kēlā me kēia.
Inā pilikiaʻoe e pili ana i ka nui o ka hoʻomanaʻo a me ka wahi e mālama ai i kāu kamepiula, a ua paleʻiaʻoe e KB, MBs, a me GB,ʻaʻole ia he mea hoʻonāhua. He nui nā pōpilikia i loko o ka helu helu, a i kekahi manawa kekahi mau pilikia pilikia ma hope o ka piliʻana me lākou.
ʻElua ala likeʻole o ka hōʻikeʻana i kahi kikowaena a me ka hoʻomanaʻo o kāu kamepiula. He ho'ākāka maʻalahi kēia o ka mea e hana nei, akā ināʻaʻoleʻoe makemake i ka pākuhi ma hope o ka pane, hiki iāʻoe ke lele pololei a hiki i ka hopena.
Ka hoʻomaopopoʻana i nā Binary vs. Numimal Numbers
ʻO ka mua, he haʻawina pākīkū. Hana mākou i ka helu maʻamau i kēia lā i ka'ōnaehana decimal. ʻO ka'ōmu decimal heʻumi mau helu (0-9) mākou e hoʻohana ai e hōʻike i ko mākou mau helu. ʻO nā pāʻani, no nā mea a pau iʻikeʻia, ua hoʻoholoʻia ma luna oʻelua wale nō mau huahelu,ʻo ka 0 a me ka 1 i paniʻia ma nā "mea" a me nā "keu" o nā mea hoʻokele.
Hōʻaloʻia kēia i keʻano he kumu binary, a ua hoʻohanaʻia nā aho o nā zeros a me nā mea e hoʻohana i nā helu helu. No ka laʻana, e hiki i ka helu decimal 4 i ka binary e heluʻoe i kēia: 00,01,10,11. Inā makemakeʻoe e piʻi kiʻekiʻe ma mua o kēlā, ponoʻoe i nā hua hou.
He aha nā'āpana a me nā octets?
ʻO kahi liʻiliʻi ka hapa iki o kahi waiho ma kahi kamepiula. E noʻonoʻo i kēlā me kēia me keʻano he kukui kukui. ʻO kēlā me kēia mea ma kaʻaoʻao a iʻole paha, no laila hiki iā ia ke loaʻa kekahi o nā heluʻelua (ʻo 0 a iʻole 1).
ʻO kahi ote he string oʻewalu mau hapa (ʻewalu mau lālā kukui ma kahi lālani). ʻO ka'ote ka mea liʻiliʻi loa i hiki ke hoʻopiliʻia ma kāu kamepiulaʻohana. I kēia manawa, maʻa mau i nā māra ma kahi mau māmā ma mua o nā piko. ʻO ke kumukūʻau nui nui loa i hiki ke paniʻia e kahi byte he 2 8 (2 x 2 x 2 x 2 x 2 x 2 x2 x2) aiʻole 256.
No kaʻike hou aku i nā helu binary, me ka pehea e hoʻololi ai iā lākou i ka decimal, e nānā i ka mahele punahele ma lalo nei.
ʻO kahi kilobyte (KB) i ka pahu waiwai he 1024 bytes (2 10 ). ʻO ke prefix "kilo" keʻano o hoʻokahi tausani; akā naʻe, ma ka pīhoihoi ka kilobate (1024)ʻoi aku ka nui ma mua o ka wehewehe decimal (1,000). ʻO kēia kahi kahi e hoʻomaka ai e hōhonu!
ʻO ka megabyte ma ke kikeke he 1,048,576 (2 20 ) bytes. Ma ka hapalua he 1,000,000 bytes (10 6 ).
ʻO ka gigabyta he 2 30 (1,073,741,824) mau mākoki a 10 10 (1 mau kālā) bytes. I kēia manawa, uaʻano nui loa kaʻokoʻa ma waena o ka version binary a me ka decimal version.
No laila, pehea ka nui o ka waihona / kahi e loaʻa iaʻu?
ʻO ka kumu nui loa i pilikia ai nā kānaka,ʻo ia ka mea e hoʻolako i nāʻike i nā mea e hana ai i kēlā me kēia manawa i ka decimal a i kekahi manawa hāʻawi lākou i ka binary.
Hoʻohālikeʻia nā leka uila, nā leka uila, a me nā lako hana'ē aʻe i ka decimal no ka maʻalahi (i ka wā e kūʻai i ka mea kūʻai). ʻO ka hoʻomanaʻo (e like me ka RAM) a me nā polokalamu e hāʻawi i nā mea waiwai binary.
No ka mea,ʻoi aku ka nui o ka 1GB ma ka mea maʻamau ma mua o ka 1GB i ka decimal,ʻo ke koena o mākou e maopopo pinepine e pili ana i ka nui o ka manawa e loaʻa ai. A iʻoi aʻe ka hewa, hiki i kāu kamepiula ke'ōlelo aku he 80KK ka mākini ikaika, akāʻo kāu pūnaehana (e hōʻike ana i ka binary!) E haʻi iāʻoe he mea emi loa (ma kahi o 7-8 GB).
ʻO ka mea maʻalahi loa i kēia hoʻopukaʻana,ʻo ia wale nō e nānāʻole i ka nui o ka hiki. Ke kūʻaiʻoe i kahi pūnaeweleʻoihana, e hoʻomanaʻo i kahi e emi iki anaʻoe ma mua o kou noʻonoʻo a hoʻolālāʻana. Ma mua, inā loaʻa iāʻoe he 100 GB i nā waihona e mālama aiʻole i nā lako kamepiula e hoʻokomo ai, ponoʻoe i kahi'ōpili pa'ū me kahi o 110 GB āpau.