Tuesday, December 2, 2014

Binary, the First Coding System Ever

Binary to most people is just a way too complicated code that only uses ones and zeroes, but really it's a number system. The number system that we use regularly is called the decimal system, and is base ten, meaning that there are 10 different numbers to work with (0, 1, 2, 3, 4, 5, 6, 7, 8 and 9). In binary, there are only two numbers to work with (0 and 1). There is also hexadecimal, octal, and the duodecimal systems. To write a regular decimal number in binary, lets take 17 for example. If we want to make 17 out of ones and zeroes, we have to see what divides into 17 that is 2 by a power. 2x2x2x2 (24) is equal to 16, which goes into it once. If we have a simple eight bit system, then our number so far would be 0001- - - -. Eight can't be added to 16 to make 17, neither can four, or two, but one can, and we have 17. So our binary number is 00010001.


126  64  32  16  8  4  2  1
0   0   0   1   0   0   0   1 

(0 126s, 0 64s, 0 32s, 1 16, 0 8s, 0 4s, 0 2s, 1 1).



I found my links here, here and here.

2 comments:

  1. Don't worry Mrs. Bronn, it's computer science.

    ReplyDelete
  2. Yes, Henry you are correct! I'm proud of you for having 3 reliable sources as well! If you want to learn more about coding, go to Portaportal, Gifted U, and Technolgy folder. I have 3 different levels there to help you learn to program. I hope you enjoy it!

    ReplyDelete