Preview

Decimal to Binary

Satisfactory Essays
Open Document
Open Document
452 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Decimal to Binary
Binary Number System:
Conversion of Decimal number to Binary number:
Set up the problem. For this example, let's convert the decimal number 15610 to binary.
Write the decimal number as the dividend inside an upside-down "long division" symbol.
Write the base of the destination system (in our case, "2" for binary) as the divisor outside the curve of the division symbol.

Write the integer answer (quotient) under the long division symbol, and write the remainder (0 or 1) to the right of the dividend. Basically, if the dividend is even, the binary remainder will be 0; if the dividend is odd, the binary remainder will be 1.
Continue downwards, dividing each new quotient by two and writing the remainders to the right of each dividend. Stop when the quotient is 0.
Starting with the bottom remainder, read the sequence of remainders upwards to the top. For this example, you should have 10011100. This is the binary equivalent of the decimal number 156. Or, written with base subscripts: 15610 = 100111002
This method can be modified to convert from decimal to any base. The divisor is 2 because the desired destination is base 2. If the desired destination is a different base, replace the 2 in the method with the desired base. For example, if the desired destination is base 8 or 16 (ie.octal or hexa decimal), replace the 2 with 8 or 16. The final result will then be in the desired base.

Conversion of Binary number to Decimal number:
For this example, let's convert the binary number 100110112 to decimal. List the powers of two from right to left. Start at 20, evaluating it as "1". Increment the exponent by one for each power. Stop when the amount of elements in the list is equal to the amount of digits in the binary number. The example number, 10011011, has eight digits, so the list, to eight elements, would look like this: 128, 64, 32, 16, 8, 4, 2, 1
Write first the binary number below the list.
Draw lines, starting from the right, connecting

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    4. The leading Zeros would make it difficult to build a decimal to binary conversion table in excel. Excel doesn’t see numbers with leading 0s as real numbers.…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Lab 1

    • 473 Words
    • 3 Pages

    Using the example in Figure 1-5 and the steps that followed, create a binary conversion for the…

    • 473 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Week 1 Labs 1

    • 3680 Words
    • 20 Pages

    Using the example in Figure 1- 5 and the steps that followed, create a binary conversion for the decimal value 156.…

    • 3680 Words
    • 20 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the binary number to hexadecimal by grouping bits in threes, starting from right.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    2640 U3 A1

    • 292 Words
    • 2 Pages

    Be sure to show your work, meaning your steps to convert binary to decimal, etc.…

    • 292 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 1 1

    • 814 Words
    • 9 Pages

    Using the example in Figure 1-5 and the steps that followed, create a binary conversion for the decimal value 156.…

    • 814 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1) Numbers can be represented in binary (using 2 symbols 0 and 1) and hexadecimal ( 16 symbols…

    • 480 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    19.Write a program that prompts the user to enter a character and on subsequence line print its ASCII code in binary and the number of 1 bit in its ASCII code. Page: 136…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 1

    • 1660 Words
    • 7 Pages

    Using the example in Figure 1-5 and the steps that followed, create a binary conversion for the decimal value 156.…

    • 1660 Words
    • 7 Pages
    Satisfactory Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    5. Convert 32 decimal to binary floating point. Use a 6 bit mantissa and a 4 bit exponent.…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    Number Conversions

    • 180 Words
    • 2 Pages

    2. Convert the hexadecimal number E7 into binary, and then convert the binary result into…

    • 180 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The bit pattern 1011 in 1’s complement notation is 7. The result of 7 – 2 using 2’s complement notation is 8. The bit pattern 1110 in 2’s complement notation is 9. The range of numbers that can be represented using the Excess-2N-1 notation is _________.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    After we normalize a number, its first significant digit is immediately to the left of the binary point.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Good Essays

    1. Convert the decimal number 125 into binary. Use the division-by-two method shown in the following example below.…

    • 705 Words
    • 5 Pages
    Good Essays
  • Good Essays

    it320 assignment 1-3

    • 1779 Words
    • 8 Pages

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determines, in part, what bits the computer (D. the binary equivalent of decimal 123456789)…

    • 1779 Words
    • 8 Pages
    Good Essays