izcool

In my Computer Repair class today, I learned how to do Binary, by converting from the Decimal form of letters and characters into the 0's and 1's in Binary. I thought it would be really hard, but it turned out to be quite easy.

I'll tell what I've learned today here and give an example sheet in a thumbnail that I written by hand at the bottom of this post.

You start off with these numbers on the top of your paper - 128, 64, 32, 16, 8, 4, 2, and 1. Leave some space in between these numbers as you'll be needing it. These are multiples of two. For insance, you multiply 2 * 1 and you get 2. You multiply 2 * 2 and you get 4. You multiply 4 * 2 and you get eight. And so on.

You have to find out the ASCII Decimal number for the character that you want to write in Binary. (Get the number from the "DEC" column from this website - http://www.lookuptables.com/).

Write that number and the character/letter that you want to make next to the 128 digit, and maybe even a little bit below that number.

For this example, I'm going to use the letter "I", which has the number 73 for the Decimal number.

What you need to do is you need to try to fit each of those numbers from the top of the paper into the number 73. You cannot fit 128 into 73, so you write a 0 under the 128 number. (Put simply, 0 is "off" or "no" and 1 is "on" or "yes").

You can, however, fit 64 into 73. Below the number 73, you subtract 64 from it and get 9. Put a 1 under the number 64.

You cannot fit 32 or 16 into 9. So write 2 0's under 32 and 16.

You can fit 8 into 9, so subtract 8 from 9, and you get 1. Write a 1 under 8.

You cannot fit 4 or 2 into 1, so write 0's under 4 and 2.

You can fit 1 into 1, so write a 1 under 1.

You should get 01001001 for the letter "I".

Interesting isn't it ? It's not very hard, but it is a long process to do (since there's 8 digits for only one character) and a lot of math to work through.

I recommend you to use this Binary Converter to check your work : http://nickciske.com/tools/binary.php

Here's my hand-written example for writing "FriHost" out in Binary.

http://s03.imagehost.org/0840/binary.jpg

Sorry, the image is kinda big in viewable size, but it's only 177KB.

- Mike.

I'll tell what I've learned today here and give an example sheet in a thumbnail that I written by hand at the bottom of this post.

You start off with these numbers on the top of your paper - 128, 64, 32, 16, 8, 4, 2, and 1. Leave some space in between these numbers as you'll be needing it. These are multiples of two. For insance, you multiply 2 * 1 and you get 2. You multiply 2 * 2 and you get 4. You multiply 4 * 2 and you get eight. And so on.

You have to find out the ASCII Decimal number for the character that you want to write in Binary. (Get the number from the "DEC" column from this website - http://www.lookuptables.com/).

Write that number and the character/letter that you want to make next to the 128 digit, and maybe even a little bit below that number.

For this example, I'm going to use the letter "I", which has the number 73 for the Decimal number.

What you need to do is you need to try to fit each of those numbers from the top of the paper into the number 73. You cannot fit 128 into 73, so you write a 0 under the 128 number. (Put simply, 0 is "off" or "no" and 1 is "on" or "yes").

You can, however, fit 64 into 73. Below the number 73, you subtract 64 from it and get 9. Put a 1 under the number 64.

You cannot fit 32 or 16 into 9. So write 2 0's under 32 and 16.

You can fit 8 into 9, so subtract 8 from 9, and you get 1. Write a 1 under 8.

You cannot fit 4 or 2 into 1, so write 0's under 4 and 2.

You can fit 1 into 1, so write a 1 under 1.

You should get 01001001 for the letter "I".

Interesting isn't it ? It's not very hard, but it is a long process to do (since there's 8 digits for only one character) and a lot of math to work through.

I recommend you to use this Binary Converter to check your work : http://nickciske.com/tools/binary.php

Here's my hand-written example for writing "FriHost" out in Binary.

http://s03.imagehost.org/0840/binary.jpg

Sorry, the image is kinda big in viewable size, but it's only 177KB.

- Mike.