Computer Science, asked by teachermaster213, 14 days ago

what is the rule for concert a decimal number into a binary number. please explain with example.
uvrangrao55 tell​

Attachments:

Answers

Answered by AnjanaUmmareddy
1

Answer:

When converting decimal numbers to binary numbers it is important to remember which is the least significant bit (LSB), and which is the most significant bit (MSB).

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

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

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

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

4. 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.

Example:- 294 into a binary number.

294 ÷ 2

147

Remainder 0

Binary Value 0 (LSB)

Similar questions