1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
---
author: Florian Fischer
lang: de
theme: metropolis
aspectratio: 169
header-includes: |
\let\tightlist\relax
---
## {.standout}
Herzlich Willkommen!
Du kannst dich schon anmelden
\texttt{v[orname].nachname}
und den Bildschirm ausschalten.
## \faIcon{chalkboard-teacher} Wiederholung - Datentyp
\begin{itemize}
\item<1-> Definiere den Begriff \boldred{Datentyp} und nenne Unterschiede zum \textbf{Zellformat}.
\item<3-> Gib mindestens 4 \textbf{Datentypen} an.
\item<5-> Gib zu den jeweiligen Datentypen gültige \boldred{Rechenoperation} (+,-,*,/) an.
\end{itemize}
`\only<2>{`{=latex}
Der Datentyp legt fest, welche **Werte** angenommen werden können und welche **Operationen** möglich sind.
`}`{=latex}
\only<4>{
\begin{center}
\begin{tabular}{l | l}
Datentyp& Beispiel \\
\hline
Text& Hallo \\
Datum& 20.09.2024 \\
Zahl& 1312,00 \\
Uhrzeit& 13:30 \\
\end{tabular}
\end{center}
}
\only<6->{
\begin{center}
\begin{tabular}{l | l | l}
Datentyp & Beispiel & Sinnvolle Operationen\\
\hline
Text& Hallo & \only<7->{\emph{keine}} \\
Datum& 20.09.2024 & \only<8->{+, -} \\
Zahl& 1312,00 & \only<9->{+,-,*,/} \\
Uhrzeit& 13:30 & \only<10->{+, -} \\
\end{tabular}
\end{center}
}
## \faIcon{chalkboard-teacher} 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{Formatierung : "TT.MM.YY"}} }
\only<7-> { \attribute{Formatierung : "TT.MM.YY"} }
\end{object}
\only<-4>{
\node[draw, opacity=0] at (7, -3) {20.10.25};
}
\only<4->{
\node[draw] at (7, -3) {20.10.25};
}
\end{tikzpicture}
## { 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.
{.center height=50%}
## \faIcon{desktop} Arbeitsauftrag - 5 min
{.center height=40%}
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}
## { 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
{ .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
\resizebox{\textwidth}{!}{
\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 ändert sich!}}}};
}
\only<6> {
\node[below of=p, yshift=-2cm] {\Large \textcolor{red}{\textbf{Unerwünschte Anpassung: Der Bezug der Zeile ändert sich!}}};
}
\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, yshift=-2cm] {\phantom{\Large \textcolor{black!30!green}{\textbf{Anpassung verhindert: Der Bezug zu Zeile 4 bleibt fest!}}}};
}
\only<6> {
\node[below of=p, yshift=-2cm] {\Large \textcolor{black!30!green}{\textbf{Anpassung verhindert: Der Bezug zu Zeile 4 bleibt fest!}}};
}
\end{tikzpicture}
## \faIcon{desktop} Arbeitsauftrag: Zellbezüge anwenden - 15 min
**Kopiere** das Dokument `Zellbezuege.ods` (aus ByCS Drive) in dein eigenes Laufwerk.
Bearbeite anschließend die ersten **3** Rechenblätter des Dokuments.
\vspace{2cm}

\begin{tikzpicture}[overlay, remember picture]
\node[draw=red, line width=1pt, minimum width=4.2cm, minimum height=0.5cm, anchor=west, xshift=3.9cm, yshift=2.7cm] at (current page.south west) {};
\end{tikzpicture}
## \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

::::
:::: {.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: Zellbezüge anwenden 2 - 15 min
Bearbeite die letzten **4** Rechenblätter des Dokuments.
\vspace{1cm}

\begin{tikzpicture}[overlay, remember picture]
\node[draw=red, line width=1pt, minimum width=7.2cm, minimum height=0.5cm, anchor=west, xshift=8cm, yshift=4.7cm] at (current page.south west) {};
\end{tikzpicture}
\begin{tcolorbox}[colframe=orange]
\textbf{\faIcon{crown} King of the Zellbezüge} \\[0.1cm]
Wer als erster fertig, erhält eine Belohnung \faIcon{gift}.
\end{tcolorbox}
## \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!**
|