# Larry’s Computer Classes column 1 Personal Video

# Learn Computers with Video's

## Beginner Video's Classes

Basic computer skills and settings

## Intermediate Video's Classes

Microsoft Word, PowerPoint and Excel

Create and design your own website Binary Codes

### Binary system using 0's and 1's

Binary is a set of instructions used to control the computer, and works with 1’s and 0’s, but the computer understands them as on or off signals. If the decimal system were used, there would need to be 10 different voltages, in which case there would be more room for error, therefore more room for corruption of data. When using the decimal system and ten different voltages we run into problem because of the lack of accuracy in voltage. For example: if we used 10v and gave each number a 1 volt reading, 0=0volt, 1=1volts, 2=2volts and so on you would think it would work. The problem is using analog like this as we have done for years we have to take into consideration variations. Using voltage like this is very inaccurate because any temperature changes, outside noise interference or internal noise such as lights, fans, disc drive player and so on will cause the voltages to change. And therefore make it very hard for the processor to read the code accurately, leaving much room for data errors and corrupt files.

With the binary system we use only 0’s and 1’s or on and off switches so to speak. It is like the old Morse code for example. Morse code used dot and dashes. Your processors work exactly the same way. Binary code works like this: it take a decimal number and converts it.

###### Each box above represents one bit 8 bits represent a byte. (hence kilobytes, mega bytes, gigabytes, terabytes and so on. These are all symbols we are familiar with. Your hard drive in your computer for example is 250 G or 250 gigabytes. Which means it can store 250 billion bytes of these codes.

Ok back on track: the code above will take a decimal number such as 205 and convert it to a binary number by simply taking the 205 number and finding the highest binary number possible, in this case it would be 128 so we place a one under 128

###### Now we subtract the 128 from 205 and we get 77. Now we repeat the previous step. The next highest number is 64 so we place a 1 under 64.
###### Now repeat again 64 from 77 equals 13 again repeat previous step. Highest number is 8. Place a one under the 8.
###### Now we repeat again 8 from 13 equal 5 so again the highest number is 4
###### Again 4 from 5 equal 1 so to finish we place a 1 under 1
###### The binary code for 205, If you add all the digits together that has a one under them you will come up with a total of 205. To complete the code simply add 0’s in the empty blocks.
###### The binary code equals 11001101 is equivalent to 205.

Now we ask is this long number worth it and the answer is yes. By using this system of on and off switches it is very accurate. There are no voltage spikes or fluctuations. When the processor in your computer reads this binary code using 0 for off and 1 for on it is very accurate. Welcome to the digital world. Using this binary code is called digital and using voltage for 0-9 scale is called analog. Remember back when 8 tracks and cassettes were popular. Remember listening to them and have back ground noise and a lot of interference as opposed to a disc with no back ground noise and no interference. This is because discs are digital and 8 tracks and cassettes are analog. The binary system is incredibly more accurate.