| 1 |
\documentclass[a4paper]{scrartcl} |
| 2 |
\usepackage[ |
| 3 |
typ=kl, |
| 4 |
klausurtyp=klausur, |
| 5 |
fach=Informatik, |
| 6 |
lerngruppe=XX, |
| 7 |
erwartungshorizontAnzeigen, |
| 8 |
loesungen=folgend, |
| 9 |
module={Aufgabenpool} |
| 10 |
]{schule} |
| 11 |
|
| 12 |
\date{xx.xx.xxxx} |
| 13 |
\title{Beispielaufgabe} |
| 14 |
|
| 15 |
\setAufgabenpoolOptionen{optionA,optionB} |
| 16 |
|
| 17 |
\begin{document} |
| 18 |
\inputOnce{bsp_text} |
| 19 |
|
| 20 |
\begin{aufgabe}[subtitle=Beispielaufgabe, points=6] |
| 21 |
Ein wirklich anderer Text für eine Aufgabe. Dazu gibt es auch die \autoref{fig:objektdiagramm} |
| 22 |
|
| 23 |
\begin{figure}[ht] |
| 24 |
\centering |
| 25 |
\includegraphics[width=0.95\linewidth]{\getBasedir/../aufgabe-1} |
| 26 |
\caption{Ein Objektdiagramm} |
| 27 |
\label{fig:objektdiagramm} |
| 28 |
\end{figure} |
| 29 |
|
| 30 |
\ifAufgabenpoolOptionTF{optionA}{ |
| 31 |
Mache etwas damit. |
| 32 |
}{ |
| 33 |
Dieses ist total egal. |
| 34 |
}% |
| 35 |
Sei glücklich.% |
| 36 |
\ifAufgabenpoolOptionT{optionB}{ |
| 37 |
Aber mache etwas wirklich gutes. |
| 38 |
} |
| 39 |
|
| 40 |
\ifAufgabenpoolOptionTF{optionA}{ |
| 41 |
\erwartung{macht etwas damit}{5} |
| 42 |
}{ |
| 43 |
\erwartung{macht etwas anderes damit}{5} |
| 44 |
} |
| 45 |
\erwartung{lässt anderes sein}{1} |
| 46 |
\end{aufgabe} |
| 47 |
\begin{loesung} |
| 48 |
Eigentlich ist es ganz egal. |
| 49 |
\end{loesung} |
| 50 |
\end{document} |