aboutsummaryrefslogtreecommitdiff
path: root/Info/9/1
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-10-03 18:05:45 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-10-03 18:05:45 +0200
commit460edbf40a55adfe6fd80e93a2722e5361fffa7b (patch)
tree066122d30366a557422bfd3bae5dfed0d3a22c4b /Info/9/1
parente8d645a8624232e3ae4b82c174332b68619762b6 (diff)
downloadunterricht-460edbf40a55adfe6fd80e93a2722e5361fffa7b.tar.gz
unterricht-460edbf40a55adfe6fd80e93a2722e5361fffa7b.zip
add my next info lesson
Diffstat (limited to 'Info/9/1')
-rw-r--r--Info/9/1/Zellbezuege/eiscafe.odsbin0 -> 15079 bytes
-rw-r--r--Info/9/1/Zellbezuege/handout.tex85
-rw-r--r--Info/9/1/Zellbezuege/img/dollar.pngbin0 -> 80495 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/icecream.pngbin0 -> 56285 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/salary_broken_copy.pngbin0 -> 13053 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/salary_copy.pngbin0 -> 13739 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/salary_fixed_copy.pngbin0 -> 12764 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/salary_formular.pngbin0 -> 12801 bytes
-rw-r--r--Info/9/1/Zellbezuege/img/salary_single_truth.pngbin0 -> 11739 bytes
-rw-r--r--Info/9/1/Zellbezuege/slides.md189
10 files changed, 274 insertions, 0 deletions
diff --git a/Info/9/1/Zellbezuege/eiscafe.ods b/Info/9/1/Zellbezuege/eiscafe.ods
new file mode 100644
index 00000000..05daff05
--- /dev/null
+++ b/Info/9/1/Zellbezuege/eiscafe.ods
Binary files differ
diff --git a/Info/9/1/Zellbezuege/handout.tex b/Info/9/1/Zellbezuege/handout.tex
new file mode 100644
index 00000000..3598f8c9
--- /dev/null
+++ b/Info/9/1/Zellbezuege/handout.tex
@@ -0,0 +1,85 @@
+\documentclass[]{handout}
+
+\usepackage[shortlabels]{enumitem}
+
+\begin{document}
+
+\subsection*{Zellen und Datentypen}
+
+{\large Mit der \gap{\huge \textbf{Formatierung}} von Zellen wird u.a. deren \textcolor{red}{\textbf{Datentyp}} festgelegt.}
+
+\subsubsection*{Wichtige Datentypen}
+
+\begin{center}
+\Large
+\begin{tabularx}{0.7\textwidth}{X X X}
+\hline
+Datentyp & Beispiel & Operationen \\
+Zahl & 42,00 & +, -, *, / \\
+\solution{\huge Text} & Hallo & keine \\
+Datum & 04.10.2024 & \solution{\huge -, (+)} \\
+Uhrzeit & \solution{\huge 13:30} & +, -, \\
+\hline
+\end{tabularx}
+\end{center}
+
+\subsubsection*{Die Klasse Zelle}
+
+\begin{center}
+\begin{tikzpicture}
+ \begin{class}[]{ZELLE}{0, 0}
+ \attribute{\Large \psolution{Inhalt}}
+ \attribute{\Large \psolution{Datentyp}}
+ \attribute{\Large \psolution{Format}}
+ \end{class}
+
+ \begin{object}[]{A1}{7, 0}
+ \instanceOf{ZELLE}
+ \attribute{\Large \psolution{Inhalt = 100}}
+ \attribute{\Large \psolution{Datentyp = Zahl}}
+ \attribute{\Large \psolution{Format = Ganzzahl}}
+ \end{object}
+
+ \node[below of=A1, xshift=6cm, yshift=0.5cm] (darstellung) {\large \gap{\huge Darstellung}};
+ \node[draw, minimum width=2cm, below=0.1cm of darstellung] {\solution{\Large 100}};
+ \draw[blue] (A1.east) edge[bend left] (darstellung.north);
+\end{tikzpicture}
+\end{center}
+
+{\large Aus \textbf{Inhalt}, \textbf{Datentyp} und \textbf{Format} wird die \pgap{\textcolor{red}{\textbf{\huge Darstellung}}} ermittelt.}
+
+\subsection*{Formeln kopieren}
+
+Damit wir nicht mühsam ähnliche Eingaben wiederholt eingeben müssen können Zellen, und ihre Inhalte bequem kopiert werden.
+
+In Formeln verändert das \textbf{TKS} automatisch die Zellbezüge.
+Das muss nicht immer erwünscht sein.
+
+\begin{tikzpicture}
+\node (p) {\includegraphics[keepaspectratio, width=0.8\textwidth]{img/salary_broken_copy.png}};
+\draw[line width = 1pt, blue, ->] (1.5, -0.4) -- (5.5, -0.4);
+\draw[line width = 1pt, red, ->] (1.5, -0.85) -- (5.5, -0.85); \node[xshift=1] at (6, -0.85){\textcolor{red}{\faIcon{bolt}}};
+\draw[line width = 1pt, red, ->] (1.5, -1.3) -- (5.5, -1.3); \node[xshift=1] at (6, -1.3){\textcolor{red}{\faIcon{bolt}}};
+\draw[line width = 1pt, red, ->] (1.5, -1.75) -- (5.5, -1.75); \node[xshift=1] at (6, -1.75){\textcolor{red}{\faIcon{bolt}}};
+\node[below of=p, yshift=-2cm] {\Large \textcolor{red}{\textbf{Unerwünschte Anpassung: Der Bezug der Zeile verändert sich mit!​}}};
+\end{tikzpicture}
+
+Um eine automatische Anpassung beim Kopieren zu verhindern, setzt man ein \textcolor{red}{\textbf{Dollarzeichen \$}} vor den Adressteil, der sich nicht verändern soll.
+
+\subsubsection*{Zellbezuege}
+
+\begin{tabularx}{\textwidth}{p{5cm} p{12cm}}
+ \includegraphics[keepaspectratio, height=5cm]{img/dollar.png} &
+ {\vspace{-4cm} \LARGE \begin{tabularx}{12cm}{| p{8cm} | p{3cm} |}
+ \hline
+ Relative Adressierung & A1 \\
+ \hline
+ Absolute Zeilenadressierung & \solution{A\$1} \\
+ \hline
+ Absolute Spaltenadressierung & \solution{\$A1} \\
+ \hline
+ Absolute Adressierung & \$A\$1 \\
+ \hline
+ \end{tabularx}} \\
+\end{tabularx}
+\end{document}
diff --git a/Info/9/1/Zellbezuege/img/dollar.png b/Info/9/1/Zellbezuege/img/dollar.png
new file mode 100644
index 00000000..984c6bc5
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/dollar.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/icecream.png b/Info/9/1/Zellbezuege/img/icecream.png
new file mode 100644
index 00000000..7b4b53d5
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/icecream.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/salary_broken_copy.png b/Info/9/1/Zellbezuege/img/salary_broken_copy.png
new file mode 100644
index 00000000..31aca601
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/salary_broken_copy.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/salary_copy.png b/Info/9/1/Zellbezuege/img/salary_copy.png
new file mode 100644
index 00000000..73e072dc
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/salary_copy.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/salary_fixed_copy.png b/Info/9/1/Zellbezuege/img/salary_fixed_copy.png
new file mode 100644
index 00000000..8fc7d8dd
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/salary_fixed_copy.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/salary_formular.png b/Info/9/1/Zellbezuege/img/salary_formular.png
new file mode 100644
index 00000000..7ba9a149
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/salary_formular.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/img/salary_single_truth.png b/Info/9/1/Zellbezuege/img/salary_single_truth.png
new file mode 100644
index 00000000..910917f9
--- /dev/null
+++ b/Info/9/1/Zellbezuege/img/salary_single_truth.png
Binary files differ
diff --git a/Info/9/1/Zellbezuege/slides.md b/Info/9/1/Zellbezuege/slides.md
new file mode 100644
index 00000000..005a5326
--- /dev/null
+++ b/Info/9/1/Zellbezuege/slides.md
@@ -0,0 +1,189 @@
+---
+author: Florian Fischer
+theme: metropolis
+aspectratio: 169
+header-includes: |
+ \makeatletter
+ \beamer@ignorenonframefalse
+ \makeatother
+ \usepackage{fontawesome5}
+ \usepackage[school]{pgf-umlcd}
+ \usepackage{unicode-math}
+ \usepackage{tikz}
+ \usetikzlibrary{calc}
+ \let\tightlist\relax
+---
+
+## Wiederholung - Datentyp
+
+> - Definiere den Begriff \textcolor{red}{\textbf{Datentyp}} und nenne Unterschiede zum **Zellformat**.
+> - Gib zudem mindestens 4 **Datentypen** an.
+> - Gib zu den jeweiligen Datentypen gültige \textcolor{red}{\textbf{Rechenoperation}} (+,-,*,/) an.
+
+## Wiederholung - Zelle
+
+### Nenne wichtige Attribute der \textcolor{red}{\textbf{Klasse ZELLE}}.
+
+\begin{tikzpicture}
+ \begin{class}[text width=5cm]{ZELLE}{0,0}
+ \only<1> { \attribute{\phantom{Inhalt}} }
+ \only<2-> { \attribute{Inhalt} }
+ \only<1-2> { \attribute{\phantom{Datentyp}} }
+ \only<3-> { \attribute{Datentyp} }
+ \only<1-3> { \attribute{\phantom{Formatierung}} }
+ \only<4-> { \attribute{Formatierung} }
+ \end{class}
+
+ \begin{object}[text width=5cm]{A1: Zelle}{7,0}
+ \only<1-5> { \attribute{\phantom{Inhalt : "04.10.2024"}} }
+ \only<6-> { \attribute{Inhalt : "04.10.2024"} }
+ \only<1-4> { \attribute{\phantom{Datentyp : Datum}} }
+ \only<5-> { \attribute{Datentyp : Datum} }
+ \only<1-6> { \attribute{\phantom{Formattierung : "TT.MM.YY"}} }
+ \only<7-> { \attribute{Formattierung : "TT.MM.YY"} }
+ \end{object}
+\end{tikzpicture}
+
+## ![](img/icecream.png){ height=1cm } Eiscafe
+
+Arthur, Anna, Ahmed und Amelie jobben im selben Eiscafé.
+
+Sie möchten die Eigentümerin Frau Kremig davon überzeugen, den Arbeitslohn in Zukunft mit einem Tabellenkalkulationsprogramm zu berechnen.
+
+![](img/salary_formular.png){.center height=50%}
+
+## \faIcon{desktop} Arbeitsauftrag - 5 min
+
+![](img/salary_formular.png){ .center height=50% }
+
+1. Übertrage die Tabelle und die Formel aus der Abbildung in ein Rechenblatt (die Formatierung musst du nicht übernehmen)​.
+2. Berechne Annas Lohn ebenfalls mithilfe einer geeigneten Formel in Zelle D5. Berechne anschließend ebenso Ahmeds und Amelie Lohn.​
+3. Begründe warum das Vorgehen aus 2) mühsam ist.
+
+## Formeln kopieren und wiederverwenden​
+
+\begin{tikzpicture}
+\node {\includegraphics[keepaspectratio, width=\textwidth]{img/salary_copy.png}};
+\only<1> {
+\node[rectangle, line width=1pt, minimum height=2.25cm, minimum width=2.5cm] (r) at (5.5, -1.25) {};
+}
+\only<1,2> {
+\node[align=left, xshift=-2cm, yshift=-1cm, below of=r] {\phantom{\textcolor{blue}{\Large Die Zellbezüge sind unterschiedlich,}} ​\\ \phantom{\textcolor{blue}{\Large die Formelstruktur aber komplett gleich!​}}};
+}
+
+\only<2-> {
+\node[rectangle, line width=1pt, draw=blue, minimum height=2.25cm, minimum width=2.5cm] (r) at (5.5, -1.25) {};
+}
+\only<3> {
+\node[align=left, xshift=-2cm, yshift=-1cm, below of=r] {\textcolor{blue}{\Large Die Zellbezüge sind unterschiedlich,} ​\\ \textcolor{blue}{\Large die Formelstruktur aber komplett gleich!​}};
+}
+\end{tikzpicture}
+
+## ![](img/icecream.png){ height=1cm } Eiscafe
+
+Frau Kremig ist überzeugt.
+Allerdings weist sie darauf hin, dass der Stundenlohn für alle Angestellten gleich ist.
+Daher möchte sie diesen nur in einer Zelle erfassen:
+
+\begin{tikzpicture}
+\only<1> {
+\node {\includegraphics[width=0.9\textwidth,keepaspectratio]{img/salary_formular.png}};
+}
+\only<2> {
+\node {\includegraphics[width=0.9\textwidth,keepaspectratio]{img/salary_single_truth.png}};
+}
+\end{tikzpicture}
+
+## \faIcon{desktop} Arbeitsauftrag - 5 min
+
+![](img/salary_single_truth.png){ .center width=80% }
+
+1. Verändere deine Tabelle gemäß Frau Kremigs Vorschlag.​
+2. Gib anschließend eine neue Formel zur Berechnung für Arthurs Arbeitslohn in die zugehörige Zellen ein.​
+ Kopiere die Formel anschließend in die anderen Zellen darunter (d.h. zur Berechnung des Arbeitslohns von Anna, Ahmed und Amelie).​
+ Was fällt dir auf?​
+
+## Formeln kopieren und wiederverwenden​
+
+\begin{tikzpicture}
+\node (p) {\includegraphics[keepaspectratio, width=\textwidth]{img/salary_broken_copy.png}};
+\pause
+\draw[line width = 1pt, blue, ->] (1.5, -0.4) -- (5.5, -0.4);
+\pause
+\draw[line width = 1pt, red, ->] (1.5, -0.85) -- (5.5, -0.85); \node[xshift=1] at (6, -0.85){\textcolor{red}{\faIcon{bolt}}};
+\pause
+\draw[line width = 1pt, red, ->] (1.5, -1.3) -- (5.5, -1.3); \node[xshift=1] at (6, -1.3){\textcolor{red}{\faIcon{bolt}}};
+\pause
+\draw[line width = 1pt, red, ->] (1.5, -1.75) -- (5.5, -1.75); \node[xshift=1] at (6, -1.75){\textcolor{red}{\faIcon{bolt}}};
+\only<1-5> {
+\node[below of=p, yshift=-2cm] {\phantom{\Large \textcolor{red}{\textbf{Unerwünschte Anpassung: Der Bezug der Zeile verändert sich mit!​}}}};
+}
+\only<6> {
+\node[below of=p, yshift=-2cm] {\Large \textcolor{red}{\textbf{Unerwünschte Anpassung: Der Bezug der Zeile verändert sich mit!​}}};
+}
+\end{tikzpicture}
+
+## Formeln kopieren und wiederverwenden​
+
+Um eine automatische Anpassung beim Kopieren zu verhindern, setzt man ein \textcolor{red}{\textbf{Dollarzeichen \$}} vor den Adressteil, der sich nicht verändern soll.​
+
+\begin{tikzpicture}
+\node {\includegraphics[keepaspectratio, width=\textwidth]{img/salary_fixed_copy.png}};
+\pause
+\draw[line width = 1pt, black!30!green, ->] (1.5, -0.4) -- (5.5, -0.4);
+\pause
+\draw[line width = 1pt, black!30!green, ->] (1.5, -0.85) -- (5.8, -0.85) -- (5.8, -0.6);
+\pause
+\draw[line width = 1pt, black!30!green, ->] (1.5, -1.3) -- (6.1, -1.3) -- (6.1, -0.6);
+\pause
+\draw[line width = 1pt, black!30!green, ->] (1.5, -1.75) -- (6.4, -1.75) -- (6.4, -0.6);
+\only<1-5> {
+\node[below of=p, xshift=1cm, yshift=-2cm] {\phantom{\Large \textcolor{black!30!green}{\textbf{Anpassung verhindert: Der Bezug zu Zeile 4 bleibt fest!​}}}};
+}
+\only<6> {
+\node[below of=p, xshift=1cm, yshift=-2cm] {\Large \textcolor{black!30!green}{\textbf{Anpassung verhindert: Der Bezug zu Zeile 4 bleibt fest!​}}};
+}
+\end{tikzpicture}
+
+## \faIcon{desktop} Arbeitsauftrag
+
+Kopiere das Dokument `03 Zellbezuege.ods` (im Ordner **Ablage/7B/vorlage/** ) auf deinen Desktop bzw. dein eigenes Laufwerk.​
+
+Bearbeite anschließend alle Rechenblätter des Dokuments.​
+
+## \faIcon{pencil-alt} Relative und absolute Zellbezüge​
+
+Bei \textcolor{red}{\textbf{relativen Zellbezügen}} werden die Zelladressen beim Kopieren einer Formel automatisch angepasst (\textcolor{red}{\textbf{relative Adressierung}}).​
+
+Zur Verhinderung dieser automatischen Anpassung wird ein **$-Zeichen** (Dollarzeichen) vor jeden Adressteil gesetzt, der sich nicht verändern soll (\textcolor{red}{\textbf{absolute Adressierung}}).​
+
+::: {.columns align=center}
+:::: {.column width=30%}
+\pause
+![](img/dollar.png)
+::::
+
+:::: {.column width=70%}
+\pause
+\begin{tabular}{| l | l |}
+\hline
+\Large \textbf{Relative} Adressierung​ & \Large A1​ \\
+\hline
+\Large \textbf{Absolute} \textcolor{red}{Zeilen}adressierung​ & \Large A\textbf{\$}1​ \\
+\hline
+\Large \textbf{Absolute} \textcolor{red}{Spalten}adressierung​ & \Large \textbf{\$}A1​ \\
+\hline
+\Large \textbf{Absolute} Adressierung​ & \Large \textbf{\$}A\textbf{\$}1​ \\
+\hline
+\end{tabular}
+::::
+:::
+
+## \faIcon{desktop} Arbeitsauftrag
+
+### \underline{Kalender​}
+
+Erstelle für das gesamte aktuelle Schuljahr einen ansprechenden Kalender.
+Kennzeichne Wochenenden, Feiertage und Schulferien farbig.​
+
+**Nutze Kopieren und Einfügen geschickt!​**