--- a/cws/disclaimer.sty Mon Mar 12 12:11:50 2018 +0000
+++ b/cws/disclaimer.sty Tue May 15 01:14:07 2018 +0100
@@ -27,12 +27,51 @@
\end{itemize}
}
+\newcommand{\IMPORTANTEXAM}{%
+\noindent
+\subsubsection*{Important}
+
+\begin{itemize}
+\item Make sure the files you submit can be processed by just calling\\
+ \mbox{\texttt{scala <<filename.scala>>}} on the commandline. Use the
+ template file provided and do not make any changes to arguments of
+ functions or to any types. You are free to implement any auxiliary
+ function you might need.
+
+\item Do not use any mutable data structures in your
+submission! They are not needed. This means you cannot create new
+\texttt{Array}s or \texttt{ListBuffer}s, for example.
+
+\item Do not use \texttt{return} in your code! It has a different
+ meaning in Scala than in Java.
+
+\item Do not use \texttt{var}! This declares a mutable variable. Only
+ use \texttt{val}!
+
+\item Do not use any parallel collections! No \texttt{.par} therefore!
+\end{itemize}
+}
+
\newcommand{\DISCLAIMER}{%
-\subsection*{Disclaimer}
+\subsubsection*{Disclaimer}
It should be understood that the work you submit represents
your \textbf{own} effort! You have not copied from anyone else. An
exception is the Scala code I showed during the lectures or
uploaded to KEATS, which you can freely use.\bigskip
+}
+
+\newcommand{\DISCLAIMEREXAM}{%
+\subsubsection*{Disclaimer}
+
+It should be understood that the work you submit represents
+your \textbf{own} effort! You have not copied from anyone else. An
+exception is the Scala code I showed during the lectures or
+uploaded to KEATS, which you can freely use.\medskip
+
+\noindent
+During the exam you may \textbf{not} communicate with other people: no email,
+instant messaging, discussion forums, use of mobile phones, etc.
+\bigskip
}
\ No newline at end of file