::braces for inevitable crosspost::
Steph, in base ten, you have ten digits to use to count, and their value depends on their position in the number.
So if the number is 1, the 1 in the rightmost position means ... one. If the number is 11, the 1 in the rightmost position still means one, but the 1 next over means ten. And eleven is one plus ten.
Similarly, 23 means two tens plus three ones--twenty three.
With binary, you only have the two digits (0 and 1).
So a 1 in the rightmost position still means one. But in 11, the first 1 means
two
(because you're in base two, just like it meant ten in base ten). So 11 in binary is two plus one--three.
Why is this important to computers? Because for storage of information, we have only the two choices. I can represent something as either on or off. So I can't store things in base ten--I only have two digits (which, for sake of a lark, we shall call 0 (off) and 1 (on)).
So it's all stored as zeroes and ones in the deep dark intestines of the computer, and translated to whatever us klunky humans need to see. And by all I mean data and programming -- it's all translated to binary with various representations -- ASCII is one code, for instance, that says when storing the alphabet, 114 (or 1110010, if I get my binary right) really means "r." There are other codes, but ASCII is the text representation one that will come up most often.
*This* is an understandable question
Really only to a couple people, to be fair.
So far the egg explanation is the only one I vaguely understand.
::braces for inevitable crosspost::
Captain! The shields are buckling! She can't take any more crossposting!
No let's a box to the egg scenario. Pe R. Son uses a box that holds 10 crates. Comp U. Ter uses a box that only holds two egg crates. So when presented with six eggs Pe R. Son still can't fill a crate so he says he has 6 eggs. Now Comp U. Ter fills up three 2-egg egg crates. Two of those egg-crates go into his 2-crate box, leaving one 1 unboxed crate. Therefore, the Comp U. Ter says he has 1 box, 1 crate, and 0 single eggs.
So for Pe R. Son - 6 single eggs or "6" for short.
For Comp U. Ter - 1 Box, 1 Crate, and no single eggs or "110" for short.
I"m not going to try and explain it because I think the mathy people here have it down. I'll just say that for me, it was understanding base 12 that got me to understand binary and all bases below 10. My math prof used t and e for the new numbers that came after 9 and then it clicked.
(Not sure if that post made sense)
For me, the only part of binary and base eight that every stuck was the basic definition. I always hated those parts of math classes where they'd make us do calculations in base eight.
What is the purpose of base eight?
instead of having a units place, tens place, hundreds, etc. you have a units place, twos place, fours, etc.
Okay, so, in binary, the number 111 means that there is one 4, one 2, and one 1, so it would equal 7?
Somehow it does seem easier to grasp bases larger than ten than those smaller than ten, I think because we keep wanting to say, okay, so what does 18 stand for? Base 16 helped me, what with the 1-9,A-F.
So far the egg explanation is the only one I vaguely understand.
Brains are weird. Because I swear I
don't
understand that one, and I have programmed in binary myself.
Here's a simple page on binary, but it may be in me-speak and not Steph-speak, and therefore not so helpful.