Home       Printables       All Games       Math Games       Word Games       Daily       Reference       Strategy & More       Junior!       Problems


Codes And Secret Messsages

Home Reference Codes and Secret Messages

Learn about a variety of different codes, including computer codes, matrix codes,
and some simple alphabet codes.

Home Page Backwards Alphabet Code Shifted Alphabet Code Binary Computer Code Hexidecimal Computer Code Matrix Code Morse Code 1337 $P34K HTML Code

Select A Code Page


Binary Computer Code Informational Page

Binary Encoder

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. On or Off. One or Zero. But if you took all of those lightbulbs together, and said "Let's make each sequence of On-and-Off represent a different number!" Well then, you could get some pretty large numbers.

What do I mean by sequence? Let's say you had two lightswitches. There are four different ways we could flip those switches:

Both Off
First Off, Second On
First On, Second Off
Both On

Binary Code takes each of those combinations and assigns a number to it, like this:

Both Off = 0
First Off, Second On = 1
First On, Second Off = 2
Both On = 3

Intermediate Explanation

Another way of thinking about it is this: let's give each lightbulb a point value. 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:

Both Off = 0 + 0 = 0
First Off, Second On = 0 + 1 = 1
First On, Second Off = 2 + 0 = 2
Both On = 2 + 1 = 3

If we added in another lightbulb, we would make it worth twice as many points as the 2 pointer. Then, if all the bulbs were on, the point value would be 4 + 2 + 1 = 7. And if we added in another bulb, we would make it worth 8 points (twice as much as four). Now if they are all turned on, that's worth 8 + 4 + 2 + 1 = 15. As you can see, it's going to take a lot of lightbulbs to make a really big number!

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:

Off Off On On Off On Off Off.

The point values of those eight bulbs are:

0 + 0 + 32 + 16 + 0 + 4 + 0 + 0 (remember - we only give points if they're turned on!)

And that adds up to 52. So we would say the sequence of bulbs is worth 52. But how do we write it? We write it like this: 00110100

So now we can say 00110100binary = 52.

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! Did you know that to write any letter on the computer, it takes 8 "lightbulbs"? 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 alot!

DID YOU KNOW...
Even though this binary code page is hidden three layers deep in the site, it is the third most common entry point into the site - only the Home Page and the Games Page are more popular entry points.

Sadly, the majority of people who come here first never discover all the amazing resources of this site, so be sure to visit our Home Page to find all sorts of word games, math games, brainteasers, math problems, and other reference pages!


Bookmark and Share    Link To This Page


 
Search For More Resources

Search For More Educational Resources

 



Member Features
Login
 

Printable
Hangman
Picture Word
Four-Scramble
Word Search
Blackberry Game
Telephone Game
Strange Hangman
Word Grid
Secret Word
Scrambled Word
One of These
 

Entrapment
Adders!
Zap!
Side By Side
One To Ten
Sub Triangles
Magical Squares
Math Scramble
Secret Number
Secret Number 2
Fractional Hi Lo
Concentration
Monty Hall Game
 

Trio Match
Treasure Hunt
Pirate's Map
Fizziks Tilt
Zero Gravity
Easter Egg Hunt
Quad Puzzle
Tic Tac Toe
Rotating Block
 

Math Tutoring
The Solar System
Codes
Slick Math!
The Golden Ratio
Programming
Search It Out!
 
Brainfood
Math HS
Maine Page
Calculus Page
 
Contact
About
Related Sites
Privacy
Link to TPS
 

Bookmarking and Linking
Bookmark/Link


Home       Printables       All Games       Math Games       Word Games       Daily       Reference       Strategy & More       Junior!       Problems