10101010 in decimal = 9A2112 in Hex.
The binary number 10101010 converts to hexadecimal (base 16) by grouping the binary digits into sets of four, starting from the right. The binary number 1010 corresponds to A in hexadecimal, and the same for the other 1010. Thus, 10101010 in base 16 is represented as AA.
337
10101010
100000100000
The binary number 10101010 is equivalent, in decimal representation, to 128 + 32 + 8 + 2 = 170. But this answer assumes that the given number is binary - an assumption for which there is no real justification. Besides, the relationship is an equivalence, which is not quite "the same thing".
Decimal: 170Hex: AA
Convert each group of 4 bits into one hexadecimal digit. 1010 is "A" in hexadecimal, so this particular number is "AA".
5A 11 55 18 AA 0F
337
In any base other than 2 (ie other than binary): 10101010 + 01111 = 10102121 In base 2 (binary): 10101010 + 01111 = 10111001
10101010 = 10^7 + 10^5 + 10^3 + 10.
10101010 + 01111 = 10111001 (170+15 = 185)
101010100
100000100000
10101010
The binary number 10101010 is equivalent, in decimal representation, to 128 + 32 + 8 + 2 = 170. But this answer assumes that the given number is binary - an assumption for which there is no real justification. Besides, the relationship is an equivalence, which is not quite "the same thing".
170