What is the decimal equivalent for the binary octets 0110111
What is the decimal equivalent for the binary octets 01101111.11100011.11110000.11111110?
A. 112.227.240.254
B. 111.226.240.254
C. 111.227.242.254
D. 111.227.240.254
Solution
D is correct. 01101111.11100011.11110000.11111110 equates to 111.227.240.254: 0 + 64 + 32 + 0 + 8 + 4 + 2 + 1 = 111, 128 + 64 + 32 + 0 + 0 + 0 + 2 + 1 = 227, 128 + 64 + 32 + 16 + 0 + 0 + 0 + 0 = 240, 128 + 64 + 32 + 16 + 8 + 4 + 2 + 0 = 254.
A, B, and C are incorrect. These answers do not match
