1 Binary အေၾကာင္းနဲနဲေလ့လာျခင္း 19th March 2010, 5:59 pm
moeset
MITR Reader
Binary မ်ားအေၾကာင္း ေလ့လာျခင္း
ကြန္ပ်ဳတာနားလည္တာနဲ႕ လူေတြနားလည္တာခ်င္းမတူပါဘူး
လူေတြက ကိန္းကဏန္းေတြ၊ အကၡရာေတြ ကုိ နားလည္က်တယ္
ကြန္ပ်ဳတာကေတာ့ ဘာလာလာ binary မ်ားအေနနဲ႕သာနားလည္တယ္
အခု ရွင္းျပမည့္ အေၾကာင္းအရာကေတာ့ Binary မ်ားနဲ႕ ကိန္းကဏန္းမ်ားအလုပ္လုပ္ပံုးမ်ား
ကိန္းကဏန္း တစ္ခုေသာလည္းေကာင္း၊အကၡ တစ္ခုေသာ္လည္းေကာင္း ကြန္ပ်ဴတာနားလည္ေစရန္ Binary မ်ားအျဖစ္ေျပာင္းလဲသည္
For example: “A” or “a” = 1 byte =8 bits =8 Binary digits
0 1 0 0 0 0 0 1 = A
Alphabet Binary Code ၾကည့္ခ်င္ရင္ ဒီဆုိက္မွာၾကည့္လုိ႕ရတယ္
In binary there has only 2 digits 0 and 1
Now, I am going to talk abut how to calculate binary digits to get the number that we know. You will able to understand after that lesson.
Alright, If u type “1” in GUI or in computer , that change 0 0 0 0 0 0 0 1
Let’s learning deep in Binary code or Binary digits
Number 128 64 32 16 8 4 2 1
Binary 1 1 1 1 1 1 1 1
Base 2x 27 26 25 24 23 22 21 20
Now, u r confusing abut what is 1 and 0 for simple, 1 = ON and 2= OFF.
So If u wanna number “249”
The easiest way and the shortest way to calculate it is
Number 128 64 32 16 8 4 2 1
Binary 1 1 1 1 1 0 0 1
Base 2x 27 26 25 24 23 22 21 20
128 is less than 249 so fist binary digit is ON or 1
64+128=192 still less than 249 so second binary digit is ON or 1
34+192=224 again less than 249 so third binary digit is ON or 1
16+224=240 less than 249 so four binary digit is ON or 1
8+240=248 less than 249 so five binary digit is ON or 1
4+248= 252 greater than 249 so six binary digit is OFF or 0
2+248 =250 greater than 249 so seven binary digit is OFF or 0
1+248=249 equal 249 so eight binary digit is ON or 1
Now I believe u will understand a little bit abut Binary digit
Regard,
Than Htet Lin(Henry)
အမွားမ်ားအားဝင္ေထက္ျပေပးပါရန္ း)
ကြန္ပ်ဳတာနားလည္တာနဲ႕ လူေတြနားလည္တာခ်င္းမတူပါဘူး
လူေတြက ကိန္းကဏန္းေတြ၊ အကၡရာေတြ ကုိ နားလည္က်တယ္
ကြန္ပ်ဳတာကေတာ့ ဘာလာလာ binary မ်ားအေနနဲ႕သာနားလည္တယ္
အခု ရွင္းျပမည့္ အေၾကာင္းအရာကေတာ့ Binary မ်ားနဲ႕ ကိန္းကဏန္းမ်ားအလုပ္လုပ္ပံုးမ်ား
ကိန္းကဏန္း တစ္ခုေသာလည္းေကာင္း၊အကၡ တစ္ခုေသာ္လည္းေကာင္း ကြန္ပ်ဴတာနားလည္ေစရန္ Binary မ်ားအျဖစ္ေျပာင္းလဲသည္
For example: “A” or “a” = 1 byte =8 bits =8 Binary digits
0 1 0 0 0 0 0 1 = A
Alphabet Binary Code ၾကည့္ခ်င္ရင္ ဒီဆုိက္မွာၾကည့္လုိ႕ရတယ္
- Code:
http://www.tekmom.com/buzzwords/binaryalphabet.html
In binary there has only 2 digits 0 and 1
Now, I am going to talk abut how to calculate binary digits to get the number that we know. You will able to understand after that lesson.
Alright, If u type “1” in GUI or in computer , that change 0 0 0 0 0 0 0 1
Let’s learning deep in Binary code or Binary digits
Number 128 64 32 16 8 4 2 1
Binary 1 1 1 1 1 1 1 1
Base 2x 27 26 25 24 23 22 21 20
Now, u r confusing abut what is 1 and 0 for simple, 1 = ON and 2= OFF.
So If u wanna number “249”
The easiest way and the shortest way to calculate it is
Number 128 64 32 16 8 4 2 1
Binary 1 1 1 1 1 0 0 1
Base 2x 27 26 25 24 23 22 21 20
128 is less than 249 so fist binary digit is ON or 1
64+128=192 still less than 249 so second binary digit is ON or 1
34+192=224 again less than 249 so third binary digit is ON or 1
16+224=240 less than 249 so four binary digit is ON or 1
8+240=248 less than 249 so five binary digit is ON or 1
4+248= 252 greater than 249 so six binary digit is OFF or 0
2+248 =250 greater than 249 so seven binary digit is OFF or 0
1+248=249 equal 249 so eight binary digit is ON or 1
Now I believe u will understand a little bit abut Binary digit
Regard,
Than Htet Lin(Henry)
အမွားမ်ားအားဝင္ေထက္ျပေပးပါရန္ း)