Odpowiedź:
a.) 1101001001 ->
1*2^9 + 1*2^8 +0*2^7 +1*2^6 +0*2^5 +0*2^4 +1*2^3 +0*2^2 +0*2^1 +1*2^0 =
= 512 + 256 +64+8+1 = 841
b.) 1101001 ->
1*2^6 +1*2^5 +0*2^4 +1*2^3 +0*2^2 +0*2^1 +1*2^0 =
= 64+32+0+8+0+0+1 = 105
c.) 11 -> 1*2^1 + 1*2^0 = 2 + 1 = 3
d.) 111 -> 1*2^2 + 1*2^1 + 1*2^0 = 4 + 2 + 1 = 7
e.) 1111 -> 1*2^3 + 1*2^2 + 1*2^1 + 1*2^0 = 8 + 4 + 2 + 1 = 15