Here are the steps to convert decimal number into binary : –
- Divide the given number by 2.
- Get the integer quotient for the next iteration as seen in below table
- Get the remainder for the binary digit.
- Repeat the steps until the quotient is equal to 0. Now the output is Remainder in reverse order
Convert 410 to binary:
Divide by 2 | Quotient | Remainder | Bit / count |
---|---|---|---|
4/2 | 2 | 0 | 0 |
2/2 | 1 | 0 | 1 |
1/2 | 0 | 1 | 2 |
You can try out self
Here are list of some binary numbers –
Decimal | Binary |
0 | 0 |
1 | 1 |
2 | 10 |
3 | 11 |
4 | 100 |
5 | 101 |
6 | 110 |
7 | 111 |
8 | 1000 |
9 | 1001 |
10 | 1010 |