cws/disclaimer.sty
author Christian Urban <urbanc@in.tum.de>
Thu, 06 Dec 2018 22:51:46 +0000
changeset 237 db4d2fcd8063
parent 212 4bda49ec24da
child 257 ba4d976ca88d
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\newcommand{\IMPORTANT}{%
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\noindent
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\textbf{Important:}
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{itemize}
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\item Make sure the files you submit can be processed by just calling\\
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  \mbox{\texttt{scala <<filename.scala>>}} on the commandline.\footnote{All
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
    major OSes, including Windows, have a commandline. So there is no
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
    good reason to not download Scala, install it and run it on your
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
    own computer. Just do it!} Use the
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  template files provided and do not make any changes to arguments of
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
  functions or to any types. You are free to implement any auxiliary
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
  function you might need.
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
212
4bda49ec24da updated
Christian Urban <urbanc@in.tum.de>
parents: 199
diff changeset
    15
\item \textbf{Do not leave any test cases running in your code because this might slow
237
db4d2fcd8063 updated
Christian Urban <urbanc@in.tum.de>
parents: 212
diff changeset
    16
  down your program!} Comment out test cases before submission, otherwise you
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 174
diff changeset
    17
  might hit a time-out.
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 174
diff changeset
    18
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\item Do not use any mutable data structures in your
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
submissions! They are not needed. This means you cannot create new 
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\item Do not use \texttt{return} in your code! It has a different
169
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents: 166
diff changeset
    24
  meaning in Scala than in Java.
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\item Do not use \texttt{var}! This declares a mutable variable. Only
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  use \texttt{val}!
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
\item Do not use any parallel collections! No \texttt{.par} therefore!
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
  Our testing and marking infrastructure is not set up for it.
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\end{itemize}
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
}
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
174
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    34
\newcommand{\IMPORTANTEXAM}{%
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    35
\noindent
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    36
\subsubsection*{Important}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    37
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    38
\begin{itemize}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    39
\item Make sure the files you submit can be processed by just calling\\
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    40
  \mbox{\texttt{scala <<filename.scala>>}} on the commandline. Use the
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    41
  template file provided and do not make any changes to arguments of
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    42
  functions or to any types. You are free to implement any auxiliary
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    43
  function you might need.
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    44
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    45
\item Do not use any mutable data structures in your
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    46
submission! They are not needed. This means you cannot create new 
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    47
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    48
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    49
\item Do not use \texttt{return} in your code! It has a different
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    50
  meaning in Scala than in Java.
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    51
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    52
\item Do not use \texttt{var}! This declares a mutable variable. Only
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    53
  use \texttt{val}!
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    54
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    55
\item Do not use any parallel collections! No \texttt{.par} therefore!
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    56
\end{itemize}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    57
}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    58
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
\newcommand{\DISCLAIMER}{%
174
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    61
\subsubsection*{Disclaimer}
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
It should be understood that the work you submit represents
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
your \textbf{own} effort! You have not copied from anyone else. An
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
exception is the Scala code I showed during the lectures or
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
uploaded to KEATS, which you can freely use.\bigskip
174
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    67
}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    68
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    69
\newcommand{\DISCLAIMEREXAM}{%
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    70
\subsubsection*{Disclaimer}
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    71
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    72
It should be understood that the work you submit represents
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    73
your \textbf{own} effort! You have not copied from anyone else. An
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    74
exception is the Scala code I showed during the lectures or
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    75
uploaded to KEATS, which you can freely use.\medskip
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    76
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    77
\noindent
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    78
During the exam you may \textbf{not} communicate with other people: no email,
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    79
instant messaging, discussion forums, use of mobile phones, etc.
90e0b1cc460b updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    80
\bigskip
166
780c40aaad27 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
}