1 / 8

Decimal to Binary Conversion

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.

zane-neal
Download Presentation

Decimal to Binary Conversion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Decimal to Binary Conversion Press any key to continue…

  2. 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…

  3. 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…

  4. 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…

  5. 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…

  6. 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…

  7. 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…

  8. The End

More Related