Translate

Monday 21 May 2012

LEARNING BINARY CODE IN A MINUTE!!

According to some anonymous person here Binary means talking to the Machine:-
1 for on
0 for off
for transistors

MADE BY SUPERTRAV:

I learned binary off a few websites a few days ago, and it was so easy I thought id make a tutorial about it. However, this tutorial will teach you alot through example, as its very easy to pick up on. Its always nice knowing a little somthing most other people dont know?

Binary Code

A normal number, is read from left to right. Binary, is read from right to left. I'm not very good at explaining things, but I think youl get the picture by example.

00101 = 5 Why? Ill show you. Binary is read from right to left according to a simple pattern, 1, 2, 4, 8, 16, 32, and so on. Always doubling. The very right digit represents a 1, the next to the right represents a 2, then a 4, then 8, and so on. If the digit is a 1, that means you use the number it represents, and if its a zero, u dont. You add up all the numbers used.
Code:
0    0  0  0  0 = 0
16   8  4  2  1 

0    0   1    1    1 = 7  
16   8   4    2    1

1 0 1 = 5
4 2 1
Now, I hope you understand how to decypher what number a binary code means. After you find the number that the binary code means, you can find out what letter that number means, by holding down alt and typing in that number with the num pad. Now, ill show you how to decypher a whole binary code.

Code:
0101100101101111011101010010000001101000011000010111011001100101001000000110110001100101011000010111001001101110011001010110010000100000011000100110100101101110011000010111001001111001001000000110001101101111011001000110010100100001
That is a sentence in Binary Code. When you see a long string of code like this, you do not try to find out what number that whole thing means, that would be a huge ass number! Instead, you seperate it into groups of 8 digits, ever 8 digits you put a space, like this.
Code:
01011001 01101111 01110101 00100000 01101000 01100001 01110110 01100101 00100000 01101100 01100101 01100001 01110010 01101110 01100101 01100100 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01100011 01101111 01100100 01100101 00100001
Then, you find each value of each group of numbers. After finding them, you use the alt code I told you about on each number (holding down alt and typing the number with the numbers on the num pad) and find out every letter. Then, you have decyphered the messege! You go ahead and try on the code above, ill get you started.
The first set says 01011001 wich means 89. It makes 89 becasue the first digit is 1, wich means 1, the next 1 is the 4th digit, wich means 8, the next one is in the 5th position wich means 16, and the next one after that is in the 7th position, wich means 64. Add it all together and it equals 89. Holding down alt and typing 89 with the num pad makes "Y". Now, you continue and do the rest! You may use the calculater if you need to, to add it up. And to check to make sure you added correctly (dont cheat) swich to scientific mode, switch to the "Bin" mode, and type in the 1's and 0's, then click the "Dec" mode again and it will show u the real number that it means. 

I hope you have found my tutorial understandable and have enjoyed learning binary!


A SHORTER WAY TO CONVERT NUMBERS INTO BINARY:- 


to convert a number to binary

take your number and divide by 2 and drop the remainder until you are left with zero. A remainder means its a 1 and no remainder means 0. and you place the binary right to left. Here is an example.

11

11/2 = 5.5 = 1
5/2 = 2.5 = 1
2/2 = 1 = 0
1/2 = .5 = 1

11 = 1011 (write from bottom to top)


FEW EXCERPTS:


 It(byte) is an 8 bit code, consisting of 3 bits for the case and 5 bits for the letter




SOURCE: ZOMGSTUFF FORUM
AUTHORS : FORUM MEMBERS IN THE COMPLETE DISCUSSION!!!


 The Alphabet in Binary Code

 See also this for more details

Letter
Binary Code
A
01000001
B
01000010
C
01000011
D
01000100
E
01000101
F
01000110
G
01000111
H
01001000
I
01001001
J
01001010
K
01001011
L
01001100
M
01001101
N
01001110
O
01001111
P
01010000
Q
01010001
R
01010010
S
01010011
T
01010100
U
01010101
V
01010110
W
01010111
X
01011000
Y
01011001
Z
01011010

Letter
Binary Code
a
01100001  
b
01100010
c
01100011
d
01100100
e
01100101
f
01100110
g
01100111
h
01101000
i
01101001
j
01101010
k
01101011
l
01101100
m
01101101
n
01101110
o
01101111
p
01110000
q
01110001
r
01110010
s
01110011
t
01110100
u
01110101
v
01110110
w
01110111
x
01111000
y
01111001
z
01111010


                                      SOURCE: TEACH ICT




No comments:

Post a Comment

Popular Posts