-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPracticeAssignment01.tex
112 lines (100 loc) · 2.71 KB
/
PracticeAssignment01.tex
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
\documentclass[pdftex,quiz,formula]{newcsen}
\Topic{Topic of this assessment}
\Date{December 21, 2012}
\Logo{FExtinguish}
%\Assessmenttype{Practical Assignment}
\Version{3}
\Scratchpaper{2}
\Management{%
\textbf{Please check!}\\
\begin{minipage}[t]{.48\linewidth}
\emph{Major:}
\begin{mcq}
\item CS (computer science)
\item DMET (digital media engineering and technology)
\item Something with engineering (my parents should know)
\end{mcq}
\end{minipage}
\hspace*{\stretch{1}}
\begin{minipage}[t]{.48\linewidth}
\emph{Type:}
\begin{mcq}
\item Regular quiz
\item Compensation quiz
\item I don't know what I'm doing here
\end{mcq}
\end{minipage}}
\begin{document}
\begin{exercise}{5}{Theme}{Name}
Test 1: With theme and name, 5 Marks
\begin{solution}
Pseudo solution. Should appear when option ``solution'' is set.
\end{solution}
\end{exercise}
\begin{figure}[ht]
\centering
\vspace*{3cm}
\caption{Ganz in weiß}
\label{fig:test}
\end{figure}
\begin{exercise}{3}{}{}
Test 2: No theme, no name, 3 Marks submarks are added for checking
\AddFormula[Formulaname]{Formula with name}
\AddFormula[1]{Test formula 1}
\AddFormula{$\sum_{k\leq n}$}
\begin{enumerate}
\item Part 1 \Mark{1}
% \item Part 2 \Mark{1}
\item Part 3 \Mark{1}
\item Part 4 (Bonus) \Bonus{1}
\end{enumerate}
\end{exercise}
\begin{exercise}{6}{}{}
Test 3: No theme, no name, 6 Marks
\end{exercise}
\begin{exercise}{}{}{}
Test 4: No theme, no name, no Marks. Should produce clear output
when marking is active
\end{exercise}
\begin{bonusexercise}{13}{Bonus}{Bonusexercise}
Test 5: Bonusexercise with theme and name and 13 marks. Should be
indistinguishable from normal exercise if marking is off
\end{bonusexercise}
\begin{bonusexercise}{}{No}{Marks}
Test 6: Bonusexercise with theme and name and no marks. Should be
indistinguishable from normal exercise if marking is off, should
produce clear warning if marking is active.
An MCQ part:
\begin{mcq}
\item False
\item False
\checkedItem True
\item False
\end{mcq}
\begin{itemize}
\item Testing the MCQ part on higher levels of nesting. Level \emph{ii}
\begin{mcq}
\item False
\checkedItem True
\end{mcq}
\begin{itemize}
\item An even higher level of nesting. Level \emph{iii}
\begin{mcq}
\item False
\checkedItem True
\end{mcq}
\begin{itemize}
\item An even higher level of nesting. Level \emph{iv}
\begin{mcq}
\item False
\checkedItem True
\end{mcq}
\end{itemize}
\end{itemize}
\end{itemize}
\end{bonusexercise}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: