English, asked by anishadavid6289, 3 days ago

Write the rules to convert a decimal number into binary numbers

Answers

Answered by lavanyapasricha90
0

Answer:

rules to convert a decimal number into binary numbers

Step 1: Divide the given decimal number by 2 and note down the remainder.

Step 2: Now, divide the obtained quotient by 2, and note the remainder again.

Step 3: Repeat the above steps until you get 0 as the quotient.

Step 4: Now, write the remainders in such a way that the last remainder is written first, followed by the rest in the reverse order.

Step 5: This can also be understood in another way which states that the Least Significant Bit (LSB) of the binary number is at the top and the Most Significant Bit (MSB) is at the bottom. This number is the binary value of the given decimal number.

Let us understand this with an example.

Example: Convert the decimal number 1310 to binary.

Solution: We will start dividing the given number (13) repeatedly by 2 until we get the quotient as 0. We will note the remainders in order.

Similar questions