Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:blc:informatik:glf22:intro:start [2022/08/18 09:35] Ivo Blöchliger [Unauthorized bread] |
lehrkraefte:blc:informatik:glf22:intro:start [2022/08/19 09:59] (current) Ivo Blöchliger [Umrechnungsalgorithmen] |
||
---|---|---|---|
Line 12: | Line 12: | ||
===== Bits und Bytes ===== | ===== Bits und Bytes ===== | ||
* Bits -> Binärsystem für natürliche Zahlen | * Bits -> Binärsystem für natürliche Zahlen | ||
- | | + | |
- | * ASCII, Unicode | + | ==== Umrechnungsalgorithmen ==== |
- | * Bilder, Audio | + | === Dezimal -> Binär === |
+ | | ||
+ | * Variante elegant: Einerstelle (gerade/ | ||
+ | === Binär -> Dezimal === | ||
+ | * Variante von Hand: Entsprechende 2er-Potenz aufsummieren (geht nicht im Computer, weil der ja nur Binärsystem kann!) | ||
+ | * Variante im Computer: Division durch 10 mit Rest: Der Rest ist die Einerstelle (im Zehnersystem), | ||
+ | |||
+ | |||
+ | ==== Codierung von Information | ||
+ | |||
+ | * ASCII https:// | ||
+ | * Bilder | ||
* Fazit: Jede Datei/ | * Fazit: Jede Datei/ | ||
+ | |||
+ | ==== Text-Dateien ==== | ||
+ | Dateien, die (als ASCII oder UTF-8 interpretiert) lesbaren Text enthalten. Meist ist der Aufbau dieser Dateien relativ einfach nachzuvollziehen. | ||
+ | |||
+ | Beispiele für typische Textdateien (Dateiendung) | ||
+ | * .txt, .html, .css | ||
+ | * .xml, .svg, .py, .js | ||
+ | |||
+ | ==== Binäre Dateien ==== | ||
+ | * jpg, png | ||
+ | * mp3, mp4 | ||
+ | * doc | ||
+ | |||
+ | ==== Text-Datein in zip-Archiv ==== | ||
+ | * alle modernen Office-Formate | ||
+ | * .ggb | ||
+ | |||
+ | |||
+ | |||
+ |