diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-05-05 14:35:26 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-05-05 14:35:26 +0200 |
| commit | a91e3342f58a6476e17d9bd172f02b1c7cacf603 (patch) | |
| tree | 45ac57e3f1bef1b9a852cef8fadd4524db06fc23 /Info/23_24 | |
| parent | 0dc660d03239e542baa3f55d66d07bb3d53cc2f6 (diff) | |
| download | unterricht-a91e3342f58a6476e17d9bd172f02b1c7cacf603.tar.gz unterricht-a91e3342f58a6476e17d9bd172f02b1c7cacf603.zip | |
improve and generalise Polymorphism slides and add next lesson in 10B
Diffstat (limited to 'Info/23_24')
| -rw-r--r-- | Info/23_24/05/06/10B/abfrage.md | 28 | ||||
| l--------- | Info/23_24/05/06/10B/img/caterpillar_movement.png | 1 | ||||
| -rw-r--r-- | Info/23_24/05/06/10B/schedule.md | 32 | ||||
| -rw-r--r-- | Info/23_24/05/06/10B/slides.md | 23 | ||||
| l--------- | Info/23_24/05/06/10B/topic | 1 |
5 files changed, 85 insertions, 0 deletions
diff --git a/Info/23_24/05/06/10B/abfrage.md b/Info/23_24/05/06/10B/abfrage.md new file mode 100644 index 00000000..f83fc8b2 --- /dev/null +++ b/Info/23_24/05/06/10B/abfrage.md @@ -0,0 +1,28 @@ +## Widerholung + +::: {.columns align=center} +:::: {.column width=60%} +* Beschreibe knapp wie die Kollision zweier Objekte erkannt werden kann. +* Entwerfe einen Algorithmus in Pseudocode, der die Körperteile der Schlange nach dem Vorbild einer Raupe bewegt. +* Schreibe eine `for`{.java}-Schleife, die die Elemente eines Feld `feld` in umgekehrter Reihenfolge [ausgibt]{.underline}. +:::: + +:::: {.column width=40%} +{.center with=110%} +:::: +::: + + +## Lösung + +* Prüfen ob sich deren Formen überschneiden +* ``` +Für jedes Körperteile von hinten nach vorne bis zum Kopf + Setze Position des Koerperteils auf die des Vorgängers +Bewege den Kopf +``` +* ```java + for(int i = feld.length-1; i >= 0; i--) { + System.out.println(feld[i]); + } +``` diff --git a/Info/23_24/05/06/10B/img/caterpillar_movement.png b/Info/23_24/05/06/10B/img/caterpillar_movement.png new file mode 120000 index 00000000..5c075cc4 --- /dev/null +++ b/Info/23_24/05/06/10B/img/caterpillar_movement.png @@ -0,0 +1 @@ +../../../../../10/2/Snake/img/Copyrighted/caterpillar_movement.png
\ No newline at end of file diff --git a/Info/23_24/05/06/10B/schedule.md b/Info/23_24/05/06/10B/schedule.md new file mode 100644 index 00000000..f3c8ce32 --- /dev/null +++ b/Info/23_24/05/06/10B/schedule.md @@ -0,0 +1,32 @@ +--- +lang: de +geometry: margin=2cm +--- +# Polymorphismus + +* **Klasse**: 10B +* **Datum**: 06.05 + +## Lernziele + +## Verlaufplan + +--------------------------------------------------------------------------------------------------- +Zeit Phase Unterrichtsgeschehen Ziel Methode Medien +----- --------------- -------------------------------------------- ----------- ---------- --------- +7 Wdh Wiederholung Snake EA + +5 Orga Fehlersammlung LV + +5 Motivation Modellierung Auto UG + +15 Vererbung BallProjekt PA + +10 Sicherung Vererbung UG + +15 Erarbeitung Tierheim PA + +10 Sicherung Polymorphismus UG + +15 Uebung Tierheim PA +--------------------------------------------------------------------------------------------------- diff --git a/Info/23_24/05/06/10B/slides.md b/Info/23_24/05/06/10B/slides.md new file mode 100644 index 00000000..c0cea5d2 --- /dev/null +++ b/Info/23_24/05/06/10B/slides.md @@ -0,0 +1,23 @@ +--- +author: Florian Fischer +aspectratio: 169 +header-includes: | + \makeatletter + \beamer@ignorenonframefalse + \makeatother +--- + +```{.include} +abfrage.md +``` + +## {.standout} + +\centering +Erneuter Hinweis auf die Fehlersammlung unter [https://0173.drive.bycs.de/s/XGeqenxibFNuJes](https://0173.drive.bycs.de/s/XGeqenxibFNuJes). + +**Link** gibts jetzt auch im Ablage Laufwerk. + +```{.include} +topic/slides.md +``` diff --git a/Info/23_24/05/06/10B/topic b/Info/23_24/05/06/10B/topic new file mode 120000 index 00000000..96d5be61 --- /dev/null +++ b/Info/23_24/05/06/10B/topic @@ -0,0 +1 @@ +../../../../10/2/Polymorphismus
\ No newline at end of file |
