How to Learn Binary Code

Written by chance e. gartneer
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Learn Binary Code
Lines of binary code can be confusing to the untrained eye. (Kutay Tanir/Photodisc/Getty Images)

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.

Skill level:
Moderately Easy


  1. 1

    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.

  2. 2

    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.

  3. 3

    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."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.