13
SISTEMES DE NUMERACI SISTEMES DE NUMERACI Ó Ó DEPARTAMENT TECNOLOGIA 3r ESO David de Pablo

Càlcul binari

Embed Size (px)

DESCRIPTION

Càlcul dels nombres binaris

Citation preview

Page 1: Càlcul binari

SISTEMES DE NUMERACISISTEMES DE NUMERACIÓÓ

DEPARTAMENT TECNOLOGIA3r ESO

David de Pablo

Page 2: Càlcul binari

123 2

611 2

301150

7131

11

22

22

Primer número

Darrer número

CONVERSICONVERSIÓÓ DECIMAL A BINARIDECIMAL A BINARI

Page 3: Càlcul binari

123123 2

611 2

301150

7131

11

22

22

CONVERSICONVERSIÓÓ DECIMAL A BINARIDECIMAL A BINARI

11 11 11 11 00 11 11

Page 4: Càlcul binari

BASE 10BASE 10

= 3 · 102 + 1 · 101 + 4 · 100 =

= 300 + 10 + 4 = 314

= 3 · 100 + 1 · 10 + 4 · 1 =

314 =

Page 5: Càlcul binari

CONVERSICONVERSIÓÓ BINARI A DECIMALBINARI A DECIMAL

= 25·1+24·1+23·0+22·0+21·0+20·1 =

= 49

= 32 + 16 + 0 + 0 + 0 + 1 =

110001 =

Page 6: Càlcul binari

NNÚÚMERO DE BITSMERO DE BITS

• Quants números podem codificar amb

1 bit?1 bit? 22

2 bits?2 bits? 44

Page 7: Càlcul binari

NUMEROS AMB 2 BITSNUMEROS AMB 2 BITS

113

102

011

000

BINARIDECIMAL

Page 8: Càlcul binari

NNÚÚMERO DE BITSMERO DE BITS

• Quants números podem codificar amb

1 bit?1 bit? 22

2 bits?2 bits? 44

3 bits?3 bits? 88

Page 9: Càlcul binari

NUMEROS AMB 3 BITSNUMEROS AMB 3 BITS

1117

1106

1015

1004

0113

0102

0011

0000

BINARIDECIMAL

Page 10: Càlcul binari

NNÚÚMERO DE BITSMERO DE BITS

• Quants números podem codificar amb

1 bit?1 bit? 22

2 bits?2 bits? 44

3 bits?3 bits? 88

4 bits?4 bits? 1616

Page 11: Càlcul binari

NUMEROS AMB 4 BITSNUMEROS AMB 4 BITS

111115

111014

110113

110012

101111

101010

10019

10008

01117

01106

01015

01004

00113

00102

00011

00000

BINARIDECIMAL

Page 12: Càlcul binari

NNÚÚMERO DE BITSMERO DE BITS

• Quants números podem codificar amb

1 bit?1 bit? 22

2 bits?2 bits? 44

3 bits?3 bits? 88

4 bits?4 bits? 1616

n bits?n bits? 22nn

Page 13: Càlcul binari

EXEMPLESEXEMPLES

1111000120

1100100100

100111179

100000064

11011155

10110145

1101127

110113

1117BINARIDECIMAL