# Bionary code. GENIUS TRICK - Convert Decimal Numbers To Binary (Base 2) - Duration: MindYourDecisions ,

## Bionary code. Computers 'think' in base two - binary code. Ones and zeros, on and off. Lightswitch analogy used to explain.

Finally, even though we're giving point values to each of those lightbulbs, when we write them down we still only write them as ones and zeros. One means On, and Zero means Off. So let's say we had 8 lightbulbs, and they were set up like this: The point values of those eight bulbs are: And that adds up to So we would say the sequence of bulbs is worth But how do we write it? We write it like this: And that's Binary Code. Go ahead and enter some text into the encoder.

The computer will convert those letters into numbers, and then it will convert those numbers into binary! So a word with 5 letters would take 40 lightbulbs! How many lightbulbs do you think it took to make this page? I bet it was a lot! Enter some text here to be converted to binary. Basic Explanation Did you know that everything a computer does is based on ones and zeroes? It's hard to imagine, because you hear people talking about the absolutely gargantuan huge numbers that computers "crunch".

But all those huge numbers - they're just made up of ones and zeros. It's kind of like the computer is made up of a bunch of lightswitches, and each lightswitch controls just one lightbulb. What do I mean by sequence? Let's say you had two lightswitches. There are four different ways we could flip those switches: We'll say the first lightbulb is worth two points, and the second one is worth one point.

Now take a look at the combinations: As you can see, it's going to take a lot of lightbulbs to make a really big number! If those two numbers are represented by lightbulbs, what is the value assigned to a bulb that is not turned on? What would be another way to write this: On Off On On Off? If you convert your name to binary using the encoder, what is the result? If you convert a 5-letter word to binary, how many digits does the result have?

Assign this reference page. Educators can get a free membership simply by sharing an original lesson plan on our Articles for Educators page! Share your lesson plan. Like us on Facebook to get updates about new resources.

More...

56 57 58 59 60