How to Read Binary Code

How to Read Binary Code thumbnail
The basis of all computer communication is binary numbers.

The miracle of transistors enabled machines to start reading data using the binary format of "on" and "off" or "1" and "0." Combining a sequence of zeros and ones enables machines read and write numbers of any value. All computers are designed to read sequences of zeros and ones from right to left, doubling the value of each binary "slot" from right to left and adding only the value of a binary "slot" that contains a "1" into the total value of a number or sequence of zeros and ones. Follow a short exercise to learn how to read binary numbers like a computer.

Instructions

    • 1

      Write down the binary number "11111." Write the number "16" underneath the left-most "1" in the number "11111." Write the number "8" underneath the second "1" from the left in the number "11111." Write the number "4" underneath the third "1" from the left in the number "11111." Write the number "2" under the fourth "1" from the left in the number "11111." Write the number "1" under the fifth "1" from the left in the number "11111."

    • 2

      Note the sequence of numbers underneath the number "11111" doubles in value with each successive number when reading from right to left. The value of each position in a binary number doubles with each move to the left and binary numbers are read from right to left.

    • 3

      Write down the number "000101." Write the number "1" under the first "1" on the right in the number "000101." Write the number "4" under the third "1" from the right in the number "000101." Place a "0" underneath each "0" in the binary number "000101." Add the numbers that you placed underneath the "000101" binary number and note that sum total of "5" is the value of the "000101" binary number. If a binary number slot contains a "0" then the value for that slot is "0."

    • 4

      Write down the binary number "10001." Count from the right-most digit in the number "10001" and double the value of each binary "slot" so that the count is 1, 2, 4, 8, 16 from right to left. Add only the values assigned to the binary slots that have a "1." Note that "17" is the value of the binary number "10001." Read the value of any binary number using the counting exercise in this step.

Related Searches:

References

  • Photo Credit Comstock/Comstock/Getty Images

Comments

View all 7 Comments

You May Also Like

  • How to Read a Binary Clock

    If you can do simple addition, then you can read a binary clock. You don't have to be a computer nerd or...

  • How to Learn Binary Code

    Binary code is computer machine language that uses two different states, on and off, to translate instructions to its processors. The states...

  • How to Convert IP Addresses to Binary Code

    When you see an IP address in decimal format (for example, 123.45.67.89), you are seeing a decimal representation of the binary code...

  • How to Perform I/O With Binary Files in C++

    Computer users are familiar with the ASCII or Unicode symbols on their screens. In reality, behind the scenes, computers process binary numbers...

  • How Do I Read Kellogg's Cereal Expiration Codes?

    Kellogg's includes manufacture codes on products to show customers the date by which they should consume them. You can still eat Kellogg's...

  • How to Decipher a Secret Code

    The centuries-old technique of deciphering a secret code, also called cryptanalysis, allows people to decipher or break all sorts of secret codes...

  • How to Understand the Binary System

    Living in the digital age can be really fun, but a little intimidating, too. You can take some of the mystery out...

  • How to Solve the Bible Code Puzzle

    In 1994, an article written by Witztum, Rips and Rosenberg was published in the journal Statistical Science claiming the Hebrew text of...

  • How to Convert Letters to Binary

    All computers use binary to process and produce information. Binary is a numbering system consisting of only 1 and 0. These two...

  • 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 Read the Date of Manufacture Tire Codes

    To determine when a tire was produced, you can look at the tire identification number, which is a code that also displays...

  • How to Create Binary Files

    A binary file is an encoded text file with the .bin extension. This type of file is used in application programming to...

  • How to Change a Number to Binary

    The number system we're most accustomed to using is known as the decimal system. It has 10 digits, ranging from 0 to...

  • How to Convert Octal to Binary

    "Octal" and "binary" are both expressions of the base for a counting system. Counting base describes the number at which a system...

  • How to Learn Binary Math

    Binary numbers are a system of counting which only use the numbers 1 and 0. This system has become the basis of...

  • How to Interpret a UPC Code

    Numerous misconceptions exist about information in Universal Product Codes--including the belief that they tell an item's country of origin to the idea...

  • About Binary Options

    Binary options are investing options in which the payoffs are formulated to be either designated amounts of compensation (that is, if the...

  • How to Read and Write Files in Python

    When you're programming in the Python language, beyond the most trivial programs, you'll be required to read data from and write data...

Related Ads

Featured