Computer Science, asked by sukanya2007, 10 months ago

How do we convert decimal numbers to equivalent binary numbers

Answers

Answered by LavishaHanda25
8

Answer:

Conversion steps:

  • Divide the number by 2.
  • Get the integer quotient for the next iteration.
  • Get the remainder for the binary digit.
  • Repeat the steps until the quotient is equal to 0.

PLEASE MARK MY ANSWER AS BRAINLIST ❣️❣️

FOLLOW ME


sukanya2007: Thanks but I didn’t understand it
LavishaHanda25: Step – 1 Divide the decimal number which is to be converted by two which is the base of the binary number.
Step – 2 The remainder which is obtained from step 1 is the least significant bit of the new binary number.
Step – 3 Divide the quotient which is obtained from the step 2 and the remainder obtained from this is the second least significant bit of the binary number.
Step – 4 Repeat the process until the quotient remains zero.
sukanya2007: Thanks very much
LavishaHanda25: Step – 5 The last remainder obtained from the division is the most significant bit of the binary number. Hence arrange the number from most significant bit to the least significant bit (i.e., from bottom to top).
LavishaHanda25: welcome
LavishaHanda25: dear
LavishaHanda25: follow Me ❤️
Answered by Anonymous
4

Answer:

for converting decimal number into binary you should divide the number repeatedly by 2...

Explanation:

# hope it helps you

Attachments:
Similar questions