200 likes | 397 Views
Decimal to Binary Conversion. Press any key to continue…. Method 1 - subtraction. Use the chart to record the subtraction. 1. 0. 1. 1. 1. 1. 0. 1. = 189.
E N D
Decimal to Binary Conversion Press any key to continue…
Method 1 - subtraction Use the chart to record the subtraction 1 0 1 1 1 1 0 1 = 189 To convert the decimal number 189 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract. 189 -128 61 Cannot subtract a 64 61 - 32 29 29 - 16 13 13 - 8 5 5 - 4 1 Cannot subtract a 2 1 - 1 0 Press any key to continue…
Try another number using Method 1 - subtraction Use the chart to record the subtraction 0 1 0 0 1 0 1 1 = 75 To convert the decimal number 75 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract. Cannot subtract a 128 75 - 64 11 Cannot subtract a 32 Cannot subtract a 16 11 - 8 3 Cannot subtract a 4 3 - 2 1 1 - 1 0 Press any key to continue…
On a piece of paper convert the number 242 using Method 1 – subtraction. Press any key when you have an answer. 1 1 1 1 0 0 1 0 = 242 To convert the decimal number 242 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract. Cannot subtract an 8 Cannot subtract a 4 242 - 128 114 114 - 64 50 50 - 32 18 18 - 16 2 2 - 2 0 Press any key to continue…
Method 2 - division Use the chart to record the division 1 0 1 1 1 1 0 1 = 189 189 / 2 = 94 r 1 To convert the decimal number 189 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 94 / 2 = 47 r 0 47 / 2 = 23 r 1 23 / 2 = 11 r 1 11 / 2 = 5 r 1 5 / 2 = 2 r 1 2 / 2 = 1 r 0 1 / 2 = cannot divide further - carry the 1 Press any key to continue…
Method 2 - division Use the chart to record the division 0 1 0 0 1 0 1 1 = 75 75 / 2 = 37 r 1 To convert the decimal number 75 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 37 / 2 = 18 r 1 18 / 2 = 9 r 0 9 / 2 = 4 r 1 4 / 2 = 2 r 0 2 / 2 = 1 r 0 1 / 2 = cannot divide further - carry the 1 Fill in to make 8 bits with 0 Press any key to continue…
Method 2 - division Use the chart to record the division 1 1 1 1 0 0 1 0 = 242 242 / 2 = 121 r 0 To convert the decimal number 242 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 121 / 2 = 60 r 1 60 / 2 = 30 r 0 30 / 2 = 15 r 0 15 / 2 = 7 r 1 7 / 2 = 3 r 1 3 / 2 = 1 r 1 1 / 2 = cannot divide further - carry the 1 Press any key to continue…
For Fun… Binary Clocks and Watches
Messages… • Each letter (number or symbol) has a binary code assigned to it… • My coded message for you: 01010010011011110110001101101011001000000110000101110100001000000111100101101111011101010111001000100000011000110110111101101101011100000110010101110100011010010111010001101001011011110110111000100001