cws/disclaimer.sty
changeset 174 90e0b1cc460b
parent 169 b37052895281
child 199 54befaf23648
equal deleted inserted replaced
173:2de1f79dedf0 174:90e0b1cc460b
    25 \item Do not use any parallel collections! No \texttt{.par} therefore!
    25 \item Do not use any parallel collections! No \texttt{.par} therefore!
    26   Our testing and marking infrastructure is not set up for it.
    26   Our testing and marking infrastructure is not set up for it.
    27 \end{itemize}
    27 \end{itemize}
    28 }
    28 }
    29 
    29 
       
    30 \newcommand{\IMPORTANTEXAM}{%
       
    31 \noindent
       
    32 \subsubsection*{Important}
       
    33 
       
    34 \begin{itemize}
       
    35 \item Make sure the files you submit can be processed by just calling\\
       
    36   \mbox{\texttt{scala <<filename.scala>>}} on the commandline. Use the
       
    37   template file provided and do not make any changes to arguments of
       
    38   functions or to any types. You are free to implement any auxiliary
       
    39   function you might need.
       
    40 
       
    41 \item Do not use any mutable data structures in your
       
    42 submission! They are not needed. This means you cannot create new 
       
    43 \texttt{Array}s or \texttt{ListBuffer}s, for example. 
       
    44 
       
    45 \item Do not use \texttt{return} in your code! It has a different
       
    46   meaning in Scala than in Java.
       
    47 
       
    48 \item Do not use \texttt{var}! This declares a mutable variable. Only
       
    49   use \texttt{val}!
       
    50 
       
    51 \item Do not use any parallel collections! No \texttt{.par} therefore!
       
    52 \end{itemize}
       
    53 }
       
    54 
    30 
    55 
    31 \newcommand{\DISCLAIMER}{%
    56 \newcommand{\DISCLAIMER}{%
    32 \subsection*{Disclaimer}
    57 \subsubsection*{Disclaimer}
    33 
    58 
    34 It should be understood that the work you submit represents
    59 It should be understood that the work you submit represents
    35 your \textbf{own} effort! You have not copied from anyone else. An
    60 your \textbf{own} effort! You have not copied from anyone else. An
    36 exception is the Scala code I showed during the lectures or
    61 exception is the Scala code I showed during the lectures or
    37 uploaded to KEATS, which you can freely use.\bigskip
    62 uploaded to KEATS, which you can freely use.\bigskip
    38 }
    63 }
       
    64 
       
    65 \newcommand{\DISCLAIMEREXAM}{%
       
    66 \subsubsection*{Disclaimer}
       
    67 
       
    68 It should be understood that the work you submit represents
       
    69 your \textbf{own} effort! You have not copied from anyone else. An
       
    70 exception is the Scala code I showed during the lectures or
       
    71 uploaded to KEATS, which you can freely use.\medskip
       
    72 
       
    73 \noindent
       
    74 During the exam you may \textbf{not} communicate with other people: no email,
       
    75 instant messaging, discussion forums, use of mobile phones, etc.
       
    76 \bigskip
       
    77 }