The positional value method is the simplest form of converting binary from decimal
value. IP address is 32-bit value which is divided into 4 octets. A binary octet contains 8
bits and the value of each bit can be determined by the position of bit value '1' in the
octet.
Positional value of bits is determined by 2 raised to power (position – 1), that is the
value of a bit 1 at position 6 is 26-1 that is 25 that is 32. The total value of the octet is
determined by adding up the positional value of bits. The value of 11000000 is 128+64
= 192. Some examples are shown in the table below:
value. IP address is 32-bit value which is divided into 4 octets. A binary octet contains 8
bits and the value of each bit can be determined by the position of bit value '1' in the
octet.
Positional value of bits is determined by 2 raised to power (position – 1), that is the
value of a bit 1 at position 6 is 26-1 that is 25 that is 32. The total value of the octet is
determined by adding up the positional value of bits. The value of 11000000 is 128+64
= 192. Some examples are shown in the table below:
Comments
Post a Comment