二进制、八进制、十六进制分别转换为十进制试题

(1100100111110)2

=1*2^11+1*2^10+0+0+1*2^7+0+0+1*2^4+1*2^3+1*2^2+1*2^1+1*2^0

=2048+1024+0+0+128+0+0+16+8+4+2+1

=(3231)10

(10110101110)2

=1*2^10+0+1*2^8+1*2^7+0+1*2^5+0+1*2^3+1*2^2+1*2^1+0

=1024+0+256+128+0+32+0+8+4+2+0

=(1454)10

(6137)8

=6*8^3+1*8^2+3*8^1+7*8^0

=3072+64++24+7

=(3167)10

(2654)8

=2*8^3+6*8^2+5*8^1+4*8^0

=1024+384+40+4

=(1452)10

(3AB)16

3 10 11

=3*16^2+10*16^1+11*16^0

=768+160+11

=(939)10

(ED5)16

14 13 5

=14*16^2+13*16^1+5*16^0

=3584+208+5

=(3797)10

你可能感兴趣的:(计算机网络)