Presentation is loading. Please wait.

Presentation is loading. Please wait.

Convert Decimal to Binary

Similar presentations


Presentation on theme: "Convert Decimal to Binary"— Presentation transcript:

1 Convert Decimal to Binary

2 How do you convert the following decimal number to binary?
25

3 Technique 1 Ladder Technique

4 Step 1: Divide the number by 2. Store the remainder.
This remainder is the first digit of your new binary number.

5 Step 2: Divide the quotient from previous division
by 2. Store the remainder. This remainder is the second digit of your new binary number.

6 Step 3: Repeat this process until quotient equals 0.

7 Step 3: Repeat this process until quotient equals 0.

8 Step 3: Repeat this process until quotient equals 0.

9 Step 4: Answer reads down.
Therefore the decimal 25 is equal to in binary.

10 This technique works when you want to convert from decimal to any other base. You simply divide by the base you are converting to. Example: convert decimal 25 to hex. 16 1 1 16 25 9 decimal 25 = 19 in hex (can be written as 2510 = 1916 )

11 Technique 2 Positional Notation

12 How do you convert the following decimal number to binary using positional notation?
25

13 Step 1: Create a positional chart for binary.
64 32 16 8 4 2 1 26 25 24 23 22 21 20

14 16 + 8 + 1 = 25 Step 2: Select place values that when added together
equal 25. 64 32 16 8 4 2 1 26 25 24 23 22 21 20 = 25

15 Step 3: Write a binary digit 1 for all selected place values.
Write a 0 for all place values not selected. 64 32 16 8 4 2 1 26 25 24 23 22 21 20 2510 =

16 32 + 16 + 4 + 1 = 53 5310 = 1101012 Another Example: 5310 = _______ 2
64 32 16 8 4 2 1 26 25 24 23 22 21 20 = 53 5310 =


Download ppt "Convert Decimal to Binary"

Similar presentations


Ads by Google