How to Learn Binary Code

Save

Binary code is computer machine language that uses two different states, on and off, to translate instructions to its processors. The states are represented by the numbers 1 and 0. These 0s and 1s make up lines of code which in turn represent different sorts of values. Learning how to convert binary digits to decimal and ASCII representation can help you better understand the fundamentals of binary code.

• Separate the numbers in the binary digit by a plus sign. For example, if the binary number is 1001, then rewrite it 1+0+0+1.

• Multiply each separate number by a power of two, beginning with 2^0 at the right-most position. For the example, 1+0+0+1 becomes (12^3)+(02^2)+(02^1)+(12^0), which then becomes (18)+(04)+(02)+(11) and results in 8+0+0+1 or 9.

• Check the decimal representation of an 8-digit binary number for an ASCII representation (see Resources). ASCII code is the numerical representation of symbols and letters. For example, if by using the previous method you convert 01001000 to the decimal value of 72, then according to the ASCII chart 72 represents the character "H."

References

• Photo Credit Kutay Tanir/Photodisc/Getty Images
Promoted By Zergnet

Resources

You May Also Like

• How to Convert Words to Binary

All computer code is binary: Data consists solely of zeros and ones, including the words that you type on the Internet or...

• How to Add Binary Numbers

If you have ever wanted to better understand how your computer works or just impress that really cute math whiz in your...

• How to Name Binary Acids

Chemistry is a language all its own. The basics are always nice to know. Start by learning how to name ions and...

• How to Convert Text to Morse Code

Morse code was developed to send messages through electric current to telegraph machines. On paper, Morse code looks like a series of...

• How to Decode Binary Strings

ASCII, the American Standard Code for Information Interchange, is a means of encoding text --- including numbers, punctuation symbols and letters ---...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.