337
10101010 in decimal = 9A2112 in Hex.
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".
To find the sum of the binary numbers 10101010 and 01111, first align them for addition: 10101010 + 0010111 ----------- Adding from right to left, we get: 0 + 1 = 1 1 + 1 = 10 (write 0, carry 1) 1 + 1 + 1 (carry) = 11 (write 1, carry 1) 0 + 0 + 1 (carry) = 1 1 + 0 = 1 0 + 0 = 0 1 + 0 = 1 1 + 0 = 1 Combining the results gives us 11010101 in binary. Thus, the sum of 10101010 and 01111 is 11010101.
10101010 in decimal = 9A2112 in Hex.
In any base other than 2 (ie other than binary): 10101010 + 01111 = 10102121 In base 2 (binary): 10101010 + 01111 = 10111001
10101010 + 01111 = 10111001 (170+15 = 185)
10101010 = 10^7 + 10^5 + 10^3 + 10.
100000100000
101010100
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
252<sub>8</sub>
Each place represents a power of 2. 10101010 base 2 = 27 + 25 + 23 + 21 = 128 + 32 + 8 + 2 = 170
Decimal: 170Hex: AA