Thursday, January 29, 2015

Binary

Hi!
Today I am going to talk about binary. Binary is written as a series of ones and zeros. The highest number that can be represented by one byte is 255. A byte is eight bits, and four bits is called a nibble. Whoever came up with those names must have had food on the brain! That number in binary form is 1 1 1 1 1 1 1 1 . If you wanted to write 14 in binary, it would look something like this:

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

So 14 in binary is 0 0 0 0 1 1 1 0.
If you wanted to write 97 in binary, it would look like this:

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

So 97 in binary is 0 1 1 0 0 0 0 1!

If you were wondering what the 128,  64,   32,  16,   8,    4,    2,    1, is, they are the place values of each number. 128   64   32   16   8    4    2    1 are the place values of each number, so if you go through the numbers one by one, you can figure out how many times that number is represented in the number you are turning into binary. But remember, you can only use each number once, and if you do not need a number to translate the total number into binary, you have to write a zero or the computer will think you are writing a smaller or bigger number than what you really are.

This morning, my Dad and I were working on binary! Here is a picture of what we did!




That is all for now!

Over & Out,
Elise


No comments:

Post a Comment