Question #315981

Convert each of the following integers from binary notation to hexadecimal notation.

a) 101010101010

b) 111011101110111


Expert's answer

One hexadecimal digit correspond to exactly 4 binary digits, so we can separate digits in binary representation into groups of four and convert separate groups. For instance, hexadecimal A (decimal 10) is 1010 in binary, and 7 is 0111 in binary. Therefore,

a) 1010,1010,10102=AAA16

b) 111,0111,0111,01112=777716

LATEST TUTORIALS
APPROVED BY CLIENTS