1010 B=1*2^3+0*2^2+1*2^1+0*2^0=8+0+2+0=10 D
1110 B = 1*2^3+1*2^2+1*2^1+0*2^0=8+4+2=14 D
110 Q = 1*8^2+1*8^1+0*8^0=64+8+0=72 D
24 Q=2*8^1+4*8^0=16+4=20 D
1010 B=1*2^3+0*2^2+1*2^1+0*2^0=8+0+2+0=10 D
1110 B = 1*2^3+1*2^2+1*2^1+0*2^0=8+4+2=14 D
110 Q = 1*8^2+1*8^1+0*8^0=64+8+0=72 D
24 Q=2*8^1+4*8^0=16+4=20 D