J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

14
J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstell ung mit Bits

Transcript of J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

Page 1: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay1

Binary Watch

Was ist denn das?

Eine Darstellung

mit Bits

Page 2: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay2

Bits und Bytes

Ein Bit (Binary Digit) ist die kleinste Informationseinheit in

einem Computersystem. Ein Bit kann zwei mögliche Zustände annehmen: „Null“ oder „Eins“.

Ein Byte (ursprünglich Bite, Happen) besteht aus 8 Bit.

Page 3: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay3

digital und analog

Da war es doch früher

einfacher!

Lieber analog als

digital?

Page 4: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay4

digital und analog

Digitale Werte sind konkrete

Zwischenwerte.

Als analog wird ein Signal bezeichnet, wenn es innerhalb

vorgegebener Grenzwerte unendlich viele Werte annehmen

kann.

Page 5: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay5

Binary Watch

zehn Uhr fünfzehn

…und wie spät

ist es jetzt?

Page 6: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay6

Binary Watch

8 + 2 =

8 + 4 + 2 + 1 =

Stellenwert

32 16 8 4 2 1

… und so funktioniert

das!

Page 7: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay7

Schulstunden

Notiere die Zeiten für

einen Schultag.

Page 8: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay8

Die Dezimalzahl

Ziffernfolge

Stellenwert

Summanden

mal

ergibt

Summe

5

100

5

255

5

101

50

2

102

200

Page 9: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay9

Von der Dualzahl zur Dezimalzahl

Dualzahl

Stellenwert

Summanden

multipliziert mit

ergibt

Summe

0

20

0

0

21

0

1

22

4

0

23

0

0

24

0

1

25

32

1

26

64

0

27

0

100

Page 10: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay10

Binär zählen

Mit 8 Bit, einem Byte, kann man von 0 bis 255 zählen.

Page 11: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay11

Umwandlung von Dualzahlen in Dezimalzahlen

Programmiere dazu eine

Rechenmaschine

ZelleF6

ZelleF14

ZelleF12

Produkt

1 2048

2048

Page 12: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay12

Umwandlung von Dualzahlen in Dezimalzahlen

ZelleF14

ZelleF14

ZelleG14

Summe

1 2048

2048

Zelle…14 ZelleQ14

Page 13: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay13

100Dezimalzahl

Stellenwert

Dualzahl

geteilt durch

ergibt

=REST(ZAHL;DIVISOR)

=ABRUNDEN(ZAHL;STELLE)

Rest

128

0

100

64

1

36

32

1

4

16

0

4

8

0

4

4

1

0

2

0

0

1

0

Von der Dezimalzahl zur Dualzahl

Page 14: J. M. L. Pasquay 1 Binary Watch Was ist denn das? Eine Darstellung mit Bits.

J. M. L. Pasquay14

Umwandlung von Dezimalzahlen in Dualzahlen

Programmiere auch dazu eine

Rechenmaschine