Tuesday, July 12, 2016

How to use Binary Code!!!

Hi Everybody!

Last Wednesday I did a post using binary code to make words, but unless you used a translator, you probably did not have any idea what it said...

Let me teach you how to write and understand binary!


Lesson 1: What do the '0' and '1' mean?

One letter (or number) that you make is now made up of '1' and '0'... to a computer, this is a set of 'on'(1) and 'off'(0) signals that tells the computer what it really is. example of a binary: 01100011

Lesson 2: Numbers

How to make a number in binary is easy, let me show you. 0 = 0, is you want 1 = 1... if you want to go higher, add another digit and start at 1...  10 = 2, 11 = 3, add another digit... 100 = 4, 101 = 5, 110 = 6, 111 = 7, 1000 = 8, and so on.

Lesson 3: Letters

Letters are a bit more complicated... to specify that a binary string is a letter and not a number, you have to put a special bit of code at the beginning. 0100 = capital letter and 0110 = a lowercase letter. After that, to make a letter, you use a number to tell which one. a = 1, b = 2, c = 3, and so on.

Capital A = 01000001 / lowercase a = 01100001
Capital B = 01000010 / lowercase b = 01100010
Capital C = 01000011 / lowercase c = 01100011
And so on...
A Space = 0010000
A Period = 00101110

Lesson 4: Making words/Translating

Making a word is a surprisingly long process... just to make the word 'hello' it is 01101000 01100101 01101100 01101100 01101111, but it looks cool so all is well. making a word is just putting letters together(of course).

Class Complete!

01010100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101 00100000 01100001 01101100 01101100 00100000 01100110 01101111 01110010 00100000 01110100 01110101 01101110 01101001 01101110 01100111 00100000 01101001 01101110 00101100 00100000 01110000 01101100 01100101 01100001 01110011 01100101 00100000 01101100 01101001 01101011 01100101 00100000 01101111 01110010 00100000 01100011 01101111 01101101 01101101 01100101 01101110 01110100 00100000 01111001 01101111 01110101 01110010 00100000 01101001 01100100 01100101 01100001 01110011 00100000 01100110 01101111 01110010 00100000 01110100 01101000 01100101 00100000 01100110 01110101 01110100 01110101 01110010 01100101 00100001

-NoahTNR-

No comments:

Post a Comment