Computer Science, asked by prafat597, 2 months ago

A Convert the following decimal numbers into binary numbers.
2 789
docimal nurobars​

Answers

Answered by pillu3885
2

Answer:

here you answer by step by step

Explanation:

DirectoryDecimal

By using our website, you accept our use of cookies. OK

How to Convert 789 to Binary

Decimal to Binary

Here we will show you step-by-step how to convert the decimal number 789 to binary.

First, note that decimal numbers use 10 digits (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) and binary numbers use only 2 digits (0 and 1).

As we explain the steps to converting 789 to binary, it is important to know the name of the parts of a division problem. In a problem like A divided by B equals C, A is the Dividend, B is the Divisor and C is the Quotient.

The Quotient has two parts. The Whole part and the Fractional part. The Fractional part is also known as the Remainder.

Step 1) Divide 789 by 2 to get the Quotient. Keep the Whole part for the next step and set the Remainder aside.

Step 2) Divide the Whole part of the Quotient from Step 1 by 2. Again, keep the Whole part and set the Remainder aside.

Step 3) Repeat Step 2 above until the Whole part is 0.

Step 4) Write down the Remainders in reverse order to get the answer to 789 as a binary.

Here we will show our work so you can follow along:

789 / 2 = 394 with 1 remainder

394 / 2 = 197 with 0 remainder

197 / 2 = 98 with 1 remainder

98 / 2 = 49 with 0 remainder

49 / 2 = 24 with 1 remainder

24 / 2 = 12 with 0 remainder

12 / 2 = 6 with 0 remainder

6 / 2 = 3 with 0 remainder

3 / 2 = 1 with 1 remainder

1 / 2 = 0 with 1 remainder

Then, when we put the remainders together in reverse order, we get the answer. The decimal number 789 converted to binary is therefore:

1100010101

Similar questions