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