Which decimal value is equal to the binary number 1012
20210
10110
210
510
1012 = 1*22 + 0*21 +1*20 = 4 + 0 + 1 = 510