Skip to main content

Binary 101


Document Version 01



BINARY


Binary is the simplest method of counting for computers. Every single computer program is based on binary, without exception.

The concept is simple. You can have a yes or a no; true or false; left or right; up or down; black or white; right or wrong; but how do you convince a computer of that? Anybody who's tried to program anything in any language knows that 95% of the time, the computer is disagreeing with what you think you coded in the program.

So long ago, someone decided that in order for a computer to accept values of true or false, they would use numbers; 1 for true, 0 for false. The computer understood. That is the beginning of how binary changed your life.

So here's how binary works. We live in a decimal society, not binary, well, if you exclude technology. The word decimal comes from the Latin root Decimalis, meaning 10. The word Binary comes from the Latin meaning two.

In Practice

Let's start off simple.

1 is 1

Now in Binary, there are only ones and zeroes, so the next value is:

2 is 10

If you think about it, that's exactly what we do in decimal. For base-10, decimal, we go up to 9, 10 minus 1, then circle back to one again; same with binary. 2 - 1, then start over.

Here's the breakdown.

Decimal  -->  Binary

   1                       1
   2                      10
   3                      11
   4                     100
   5                     101
   6                     110
   7                     111
   8                    1000

Let's stop for a second. 2 to the third power equals 8. So, in Binary, every power of 2 is another restart, and the number of zeroes is determined by the power of 2.  So therefore..

16 --> 2x2x2x2 --> 10000 in Binary

...because there are 4 zeroes for each of the 2's necessary to multiply until you reach 16.







Comments

Popular posts from this blog

HTML 101 - Part 1

HTML 101 Any time you teach, you have to make some assumptions about your students. These are my assumptions about you; I assume that you: Know how to surf the net, Have no prior experience with HTML, Are not a computer programmer, Know how to create, edit, and save files. That’s it! It doesn’t matter whether you want to learn HTML because you have to or because you think it would be fun. There are two subjects you need to learn, no three, no four—yes, four subjects you need to learn in order to make attractive web pages: HTML - HyperText Markup Language, the language of the web; CSS - Cascading Style Sheets, provides the “look and feel” of web pages; JavaScript - This isn’t absolutely necessary, but knowing a little programming can help you make your web pages more interactive and interesting; It helps if you know a little about creating graphics and editing photos. Again, not absolutely necessary, but knowing how to work with images will make your web pages more attractive.

Propagate

Propagate ProjectPapoose™ If this page is publicly available, and you're obviously viewing it, then if you are an expert professional master of a specialized skill or unique talent that you can share equally with all children and communicate detailed instructions and related support knowledge effectively, then I'd like to hear from you. Please use the contact form to initiate a dialogue with Primary Point Person (me) of ProjectPapoose™, so we can unite our efforts to accelerate faster towards global harmony. Promise Papoose Doorbelle ™ is committed to creating and continually evolving a FreeForever™ online Education eQuality Evolved ™ resource to all the students and teachers of the world. Plan The plan is to provide either a supplement to a student's existing education lifespan or, in some unfortunate cases, the only education option for real world applicable brain, body, and emotional development in order to successfully integrate seamlessly with the e