diff --git a/assertions.md b/assertions.md new file mode 100644 index 0000000..bc310c7 --- /dev/null +++ b/assertions.md @@ -0,0 +1,8 @@ +--- +title: Assertions +description: Folien für Assertions in Java +url: https://git.haw-hamburg.de/pm1-tutorium/slides +--- + +# Assertions + diff --git a/kontrollstrukturen.md b/kontrollstrukturen.md new file mode 100644 index 0000000..5254501 --- /dev/null +++ b/kontrollstrukturen.md @@ -0,0 +1,12 @@ +--- +title: Kontrollstrukturen +description: Folien für Kontrollstrukture in Java +url: https://git.haw-hamburg.de/pm1-tutorium/slides +--- + +# Kontrollstrukturen + + Kontrollstrukturen V1F60 + * Sequenz + * Selektion V2F81 + * Wiederholung (Iteration) diff --git a/operatoren.md b/operatoren.md index 31ff039..bb073af 100644 --- a/operatoren.md +++ b/operatoren.md @@ -3,10 +3,19 @@ title: Operatoren description: Folien für das erste Tutorium in Programmieren 1 url: https://git.haw-hamburg.de/pm1-tutorium/slides --- -# Operatoren -```java -class String { - private int rest = 233234 % 6; //Kommentar -} -``` +# Operatoren +Eva Meinen und Henri Burau + +--- + +Vorzeichen: +, - +, -, *, /, % +präfix: ++, -- +logische Operatoren: ! && || +Vergleiche <, <=, >, >= ==, != -> == prüft und = weist zu Prioritäten + +Ideen für Aufgaben: - 3 * 5 - 14 % 5 - true && false - false || true - +3 -6 - int x = 0; + - x += 3; - x =+ 5; + - int i = 3; +int b = ++i - 1; +int c = i++ * 6; diff --git a/termin-1.md b/termin-1.md index 01da333..64c098d 100644 --- a/termin-1.md +++ b/termin-1.md @@ -14,28 +14,8 @@ Meeting mit Michael vereinbaren ## Themen für Folien: - Kontrollstrukturen V1F60 - * Sequenz - * Selektion V2F81 - * Wiederholung (Iteration) - - Variablen V1F69, V2F14ff - * Welche Identifier sind erlaubt und sinnvoll? (keine Keywords) - * Literale V2F14 - * Datentypen - * Ausdrücke - * Zuweisungen - * Anweisung (Zeile getrennt durch ";") - - Typumwandlungen V2F36 - - Operatoren V2F46 - - Assertions alt:V4F13 - - (Ausgaben auf die Konsole V1_F80) - - +