Presentation is loading. Please wait.

Presentation is loading. Please wait.

Binary Numbers Press any key to begin..

Similar presentations


Presentation on theme: "Binary Numbers Press any key to begin.."— Presentation transcript:

1 Binary Numbers Press any key to begin.

2 In order to understand the binary numbering system lets first look at our decimal system.
The decimal numbering system consists of the numbers 0 through 9. After nine we place a 1 in the tens column and start again with 0. Which gives us 10. The decimal system is also known as base 10 because it is based on the 10 numbers 0 – 9. 1 Press any key to continue…

3 Binary Numbers have only two digits 0 or 1
Binary is known as Base 2 Decimal Binary Press any key to continue…

4 An easier way is to use the powers of 2
As you can see it would take a lot of time to create charts to represent Binary numbers. An easier way is to use the powers of 2 20 = 1 24 = 16 21 = 2 25 = 32 22 = 4 26 = 64 23 = 8 27 =128 Lets place the above calculations into a chart that will make it easy to convert a binary number to a decimal number. Press any key to continue…

5 Use the chart to convert the binary number to decimal.
1 x = 1 2 x = 0 4 x = 0 Note: The bit to the far right is the Least Significant Bit (LSB) and will determine if the number is even or odd. 8 x = 8 x = 0 x = 32 x = 0 x = 0 Total = 41 Press any key to continue…

6 Use the chart to convert the binary number to decimal.
1 x = 1 2 x = 2 Note: if consecutive bits from the right are all 1’s Then the answer is the next power of 2 minus 1 In this case 128 – 1 = 127 4 x = 4 8 x = 8 x = 16 x = 32 x = 64 x = 0 Total = 127 Press any key to continue…

7 Take a piece of paper and convert the binary number to decimal
Take a piece of paper and convert the binary number to decimal. Press any key when you have the answer. 1 x = 0 2 x = 2 4 x = 0 8 x = 8 x = 16 x = 32 x = 0 x = 128 Total = 186 Press any key to continue…

8 The largest number that can be represented using an 8 bit binary number is 255.
Remember the rule – if all the digits are 1 then the number is the next power of 2 minus 1 256 – 1 = 255

9 Converting a binary number to a decimal number is a simple task if you understand the chart below and how to use it. The End


Download ppt "Binary Numbers Press any key to begin.."

Similar presentations


Ads by Google