diff --git a/slides/223015b/01-grundlagen-text-audio.md b/slides/223015b/01-grundlagen-text-audio.md index 230956e..3dcc826 100644 --- a/slides/223015b/01-grundlagen-text-audio.md +++ b/slides/223015b/01-grundlagen-text-audio.md @@ -1195,6 +1195,33 @@ Sog. RGB Tuple (geordnete endliche Liste) --- + + + +![bg fit](./assets/demos/byte-nibble-hex.png) + + + +--- + + + + +![bg fit](./assets/demos/why-8-bit.png) + + + +--- + # Hexadezimal @@ -1226,6 +1253,102 @@ Sog. RGB Tuple (geordnete endliche Liste) --- + + + +![bg fit](./assets/demos/hex-dec-table.png) + + + +--- + + + + +![bg fit](./assets/demos/byte-flow.png) + + + +--- + + + + +![bg fit](./assets/demos/three-views.png) + + + +--- + +# Wo begegnet Ihnen Hex-Code? + +| Kontext | Beispiel | +|---------|----------| +| CSS-Farben | `#FF5733` | +| MAC-Adressen | `00:1A:2B:3C:4D:5E` | +| Fehlercodes | `0x80070005` | +| Speicheradressen | `0xA04F20` | +| Unicode | `U+00E4` (ä) | +| Datei-Signaturen | `89 50 4E 47` (PNG) | + + + +--- + +# Bit vs. Byte: Die Verwirrung + +**1 Byte = 8 Bit** → Bit ÷ 8 = Byte + +| Einheit (Bit) | Einheit (Byte) | +|---------------|----------------| +| 1 Kbit = 1.000 Bit | 1 KB = 1.000 Byte = 8.000 Bit | +| 1 Mbit = 1.000.000 Bit | 1 MB = 1.000.000 Byte = 8 Mbit | +| 1 Gbit = 1 Mrd. Bit | 1 GB = 1 Mrd. Byte = 8 Gbit | + +100 Mbit/s Bandbreite = **12,5 MB/s** Downloadrate + + + +--- + # ASCII diff --git a/slides/223015c/01-geschichte-grundlagen-html.md b/slides/223015c/01-geschichte-grundlagen-html.md index 74f0ff7..2ee13c4 100644 --- a/slides/223015c/01-geschichte-grundlagen-html.md +++ b/slides/223015c/01-geschichte-grundlagen-html.md @@ -913,19 +913,46 @@ Shannon: Begründer der Informationstheorie # Das Byte -**8 Bit = 1 Byte** +### Die kleinste *adressierbare* Informationseinheit + +### 8 bit = 1 Byte ``` -0 0 1 0 1 0 1 0 +0 0 1 0 1 0 1 0 = 42 ``` -**Wie viele Kombinationen?** -2⁸ = 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = **256 Möglichkeiten** (0-255) - + +--- + +# Das Byte + +### 8 bit = 1 Byte + +``` +0 0 0 0 0 0 0 0 = 0 +0 0 0 0 0 0 0 1 = 1 +0 0 0 0 0 0 1 0 = 2 +0 0 0 0 0 0 1 1 = 3 +0 0 0 0 0 1 0 0 = 4 + +0 1 0 0 0 0 0 0 = 64 +0 1 1 1 1 1 1 1 = 127 +1 1 1 1 1 1 1 1 = ? +``` + +2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 = 2⁸ = **256 mögliche Zustände** + + --- @@ -957,6 +984,22 @@ Farbbild: Rot + Grün + Blau Kernidee: jedes Byte lässt sich sauber in zwei 4-Bit-Hälften (Nibbles) zerlegen. Jede Hälfte hat 2⁴ = 16 Zustände – und genau 16 Symbole hat Hex (0-F). Deshalb passt Hex perfekt: 1 Nibble = 1 Hex-Ziffer, 1 Byte = 2 Hex-Ziffern. Keine krumme Umrechnung. --> +--- + + + + +![bg fit](./assets/demos/why-8-bit.png) + + + + + +![bg fit](./assets/demos/byte-flow.png) + + + +--- + + + + +![bg fit](./assets/demos/three-views.png) + + + +--- + # Wo begegnet Ihnen Hex-Code? | Kontext | Beispiel |