Download - Pas de binari a decimal

Transcript
Page 1: Pas de binari a decimal

Passa de binari a decimal els següents nombres:

101= 1x + 0x + 1x =4+ 0 + 1 = 5

1010= 1x + 0x + 1x + 0x = 8+0+2+0=10

11110= 1x + 1x + 1x + 1x + 1x = 16 + 8 + 2 + 1 = 27

10100110 = 1x + 0x + 1x + 0x + 0x + 1x + 1x + 0x = 128 + 0 + 32 +0 +

0 + 4 + 2 + 0 = 166

10011= 1x + 0x + 0x + 1x + 1x = 16 + 0 + 0 + 2 + 1 = 19

Passem els nombres de decimal a binari:

1024: 2

02 512 :2 04 11 256:2 /0 12 05 128:2 / 0 16 6 /0 4 /0