Computer Science, asked by dipikaaggarwal1987, 15 days ago

Convert 213 into binary and check your answer by converting it into decimal again.​

Answers

Answered by ritikasingh9940
2

Answer:

Step 1: Divide (213)10 successively by 2 until the quotient is 0:

213/2 = 106, remainder is 1

106/2 = 53, remainder is 0

53/2 = 26, remainder is 1

26/2 = 13, remainder is 0

13/2 = 6, remainder is 1

6/2 = 3, remainder is 0

3/2 = 1, remainder is 1

1/2 = 0, remainder is 1

Step 2: Read from the bottom (MSB) to top (LSB) as 11010101. This is the binary equivalent of decimal number 213 (Answer).

Answered by Aditya4111Upadhyay
1

Answer:

100001 is the binary of 213.

Explanation:

The process of conversion of Decimal into Binary is given below:

1. Divide the given decimal number with the base 2.

2. Write down the remainder, divide the quotient again by 2.

3. Repeat step 2 till the quotient is zero.

The process of conversion of Binary to Decimal is given below:

  1. Multiply each binary number with its positional value, which is in terms of powers of 2, starting from the extreme right digit.
  2. Increase the power one by one, keeping the base fixed as 2.
  3. Sum up all products to get the decimal number.
Similar questions