Computer Science, asked by riya16893, 2 months ago

what are the rules to convert a decimal number into binary number? please give answer I will mark brainliest.​

Answers

Answered by sheejaraninandanam
1

Answer:

an easy method of converting decimal to binary number equivalents is to write down the decimal number and to continuously divide by 2 to give the result and a remainder of either 0 or 1 until the final result equals to 0.

Answered by sarthakrahate24
1

Answer:

Explanation:

To convert decimal to binary numbers, proceed the steps given below:

Divide the given decimal number by “2” where it gives the result along with the remainder.

If the given decimal number is even, then the result will be whole and it gives the remainder “0”

If the given decimal number is odd, then the result is not divided properly and it gives the remainder “1”.

By placing all the remainders in order in such a way, the Least Significant Bit (LSB) at the top and Most Significant Bit (MSB) at the bottom, the required binary number will obtain.

Now, let us convert the given decimal number 294 into a binary number.

Divide by 2 Result Remainder Binary Value

294 ÷ 2 147 0 0 (LSB)

147 ÷ 2 73 1 1

73 ÷ 2 36 1 1

36 ÷ 2 18 0 0

18 ÷ 2 9 0 0

9 ÷ 2 4 1 1

4 ÷ 2 2 0 0

2 ÷ 2 1 0 0

1 ÷ 2 0 1 1 (MSB)

Therefore, the binary equivalent for the given decimal number 29410 is 1001001102

29410 =1001001102

Decimal to Binary Conversion Solved Examples

Example 1: Convert 16010 to binary Number

Solution:

Given: Decimal Number = 16010

Divide by 2 Result Remainder Binary Value

160 ÷ 2 80 0 0 (LSB)

80 ÷ 2 40 0 0

40 ÷ 2 20 0 0

20 ÷ 2 10 0 0

10 ÷ 2 5 0 0

5 ÷ 2 2 1 1

2 ÷ 2 1 0 0

1 ÷ 2 0 1 1 (MSB)

Therefore, 16010 = 101000002

Example 2: Convert 1710 into a binary number

Solution:

Given: Decimal Number = 1710

Divide by 2 Result Remainder Binary Value

17 ÷ 2 8 1 1 (LSB)

8 ÷ 2 4 0 0

4 ÷ 2 2 0 0

2 ÷ 2 1 0 0

1 ÷ 2 0 1 1 (MSB)

Therefore, 1710 = 100012

PLEASE MARK MY ANSWER AS BRAINIEST

Similar questions