add bits vs bytes and TB/GiB explanation slides

This commit is contained in:
2025-12-22 12:05:50 +01:00
parent 1677ca9849
commit 4174bdf314
@@ -869,6 +869,50 @@ ProgrammiererInnen arbeiten damit täglich
--- ---
# Bits vs. Bytes: Die Verwirrung
| Einheit | Bits | Bytes | Faktor |
|---------|------|-------|--------|
| 1 Byte | 8 | 1 | |
| 1 Kilobyte (KB) | 8.000 | 1.000 | 10³ |
| 1 Megabyte (MB) | 8.000.000 | 1.000.000 | 10⁶ |
| 1 Gigabyte (GB) | 8 Mrd. | 1 Mrd. | 10⁹ |
| 1 Terabyte (TB) | 8 Bio. | 1 Bio. | 10¹² |
**Aber:** Computer rechnen binär (Basis 2)!
<!--
SI-Präfixe: Kilo = 1000, Mega = 1.000.000
Internetgeschwindigkeit in Mbit/s (Megabit pro Sekunde)
100 Mbit/s = 12,5 MB/s (durch 8 teilen!)
-->
---
# Warum zeigt meine 1TB-Festplatte nur 931GB?
**Hersteller:** 1 TB = 1.000.000.000.000 Bytes (10¹²)
**Betriebssystem:** 1 TB = 1.099.511.627.776 Bytes (2⁴⁰)
| SI (Dezimal) | Binär (IEC) | Differenz |
|--------------|-------------|-----------|
| 1 KB = 1.000 | 1 KiB = 1.024 | 2,4% |
| 1 MB = 1.000.000 | 1 MiB = 1.048.576 | 4,9% |
| 1 GB = 10⁹ | 1 GiB = 2³⁰ | 7,4% |
| 1 TB = 10¹² | 1 TiB = 2⁴⁰ | **9,1%** |
→ 1 TB ÷ 1.024⁴ = **931 GiB**
<!--
KiB, MiB, GiB = "Kibibyte", "Mebibyte", "Gibibyte"
Je größer die Einheit, desto größer die Differenz
Festplattenhersteller nutzen SI (mehr Marketing)
Windows zeigt binär an, nennt es aber "GB"
-->
---
<!-- _class: lead --> <!-- _class: lead -->
# Teil 3: Eure erste Webseite # Teil 3: Eure erste Webseite