179k views
4 votes
Convert 192.16.3.1 to a Binary number

1 Answer

4 votes
Converting a decimal number into binary would be:

192/2= 96 remainder=0
96/2= 48 remainder=0
48/2=24 remainder=0
24/2=12 remainder=0
12/2=6 remainder=0
6/2=3 remainder=0
3/2=1 remainder=1
1/2= 0 remainder=1
The binary number would be: 11 00 00 00

For 16
16/2=8 remainder=0
8/2=4 remainder=0
4/2=2 remainder=0
2/2=1 remainder=0
1/2= 0 remainder=1
The binary would be: 00 01 00 00

For 3
3/2=1 remainder=1
1/2= 0 remainder=1
The binary would be: 00 00 00 11

For 1
1/2= 0 remainder=1
The binary would be: 00 00 00 01

The binary number would be:
11000000.00010000.00000011.00000001
User Hussam Kurd
by
7.9k points