is there any way to understand the BIT ? i am just stuck on bits and cant go further as i can get how it works, any logic could help me pass through this wood. thanks. i already made research on bit but something goes wrong in my head with this bit, i know what it is and what is possible to do with that but miss smth. any example that shows dummy how bit presents. where comes that BIT? what is fundament and why only 0 & 1 and how to decode some "ugly" 0101010101110001011000101010 bits
A bit is "On" or "Off", 1 or 0.
You should research binary... It's like this:
1 or 0 for "On" or "Off" 0 1 0 1 0 1 .. 16's 8's 4's 2's 1's 1 + 4 + 16 = 21 10101 = 21
OMG i dont get it at all, thanks for response anyway
So in the normal counting system we use (base 10) we can have any of 10 numbers in each of the spaces (0 through 9). So when I write 12, you know that means 10 + 2 or 1 * 10^1 and 2 * 10^0. So for 5467 it's (5 * 10^3) + (4 * 10^2) + (6 * 10^1) + (7 * 10^0).
For Binary (base 2) we can only have any of 2 numbers in each spot (0 or 1). Computers use this because they can either have a transistor on (1) or off (0). So, in base 2 each place is "2 times as valuable as the previous". So the binary number 00001 has a 1 in the first place (the one's space or 2^0) so it equals 1. The binary number 00010 has a 1 in the next place over, and place's value is twice as valuable as the previous (1 * 2 = 2) and is called the 2's place (or the 2^1 space). So for every step you take to the left, you multiply by 2 (in base 10 you multiplied it by 10). So the way it works here is:
0100010 = (0 * 2^6) + (1 * 2^5) + (0 * 2^4) + (0 * 2^3) + (0 * 2^2) + (1 * 2^1) + (0 * 2^0) =
(1 * 32) + (1 * 2) = 34
A quick and dirty formula you can use (and probably program up) is:
summation of: [number in spot] * 2^[spot's place from the right - 1]
From the example I provided:
0100010 ==> (1 * 2^5) + (1 * 2^1) because there are one's in the 6th and 2nd slots of the number.
It's way easier (once you get used to it) to count the way cadecodes has written it out (as the 16's, 8'2, 4's, etc.) but the idea behind the whole system is how I've written it out above.
that seems pretty good, but for such a dummy like me in math , even more confused. i just cant find some material where to see in practical way rather then theoretical. maybe some pictures with apples and oranges or very easy way to get it . once understood the rest will be easy. anyway thank you very much , i get little bit more educated.
Khan Academy, how I learned:
again OMG , i was so dummy now i have some glue , big big thanks to YOU! , i also found this video enter link description here