cws/disclaimer.sty
author Christian Urban <urbanc@in.tum.de>
Fri, 05 Oct 2018 11:23:15 +0100
changeset 192 cd2a9c969ef2
parent 174 dd7acea3f9ec
child 199 2e13dedd922e
permissions -rw-r--r--
updated
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
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\item Do not use any mutable data structures in your
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
submissions! They are not needed. This means you cannot create new 
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\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
    20
  meaning in Scala than in Java.
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\item Do not use \texttt{var}! This declares a mutable variable. Only
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  use \texttt{val}!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\item Do not use any parallel collections! No \texttt{.par} therefore!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  Our testing and marking infrastructure is not set up for it.
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\end{itemize}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    30
\newcommand{\IMPORTANTEXAM}{%
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    31
\noindent
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    32
\subsubsection*{Important}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    33
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    34
\begin{itemize}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    35
\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
    36
  \mbox{\texttt{scala <<filename.scala>>}} on the commandline. Use the
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    37
  template file provided and do not make any changes to arguments of
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    38
  functions or to any types. You are free to implement any auxiliary
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    39
  function you might need.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    40
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    41
\item Do not use any mutable data structures in your
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    42
submission! They are not needed. This means you cannot create new 
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    43
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
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 \texttt{return} in your code! It has a different
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    46
  meaning in Scala than in Java.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    47
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    48
\item Do not use \texttt{var}! This declares a mutable variable. Only
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    49
  use \texttt{val}!
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    50
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    51
\item Do not use any parallel collections! No \texttt{.par} therefore!
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    52
\end{itemize}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    53
}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    54
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
\newcommand{\DISCLAIMER}{%
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    57
\subsubsection*{Disclaimer}
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
It should be understood that the work you submit represents
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
your \textbf{own} effort! You have not copied from anyone else. An
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
exception is the Scala code I showed during the lectures or
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
uploaded to KEATS, which you can freely use.\bigskip
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    63
}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    64
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    65
\newcommand{\DISCLAIMEREXAM}{%
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    66
\subsubsection*{Disclaimer}
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
It should be understood that the work you submit represents
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    69
your \textbf{own} effort! You have not copied from anyone else. An
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    70
exception is the Scala code I showed during the lectures or
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    71
uploaded to KEATS, which you can freely use.\medskip
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    72
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    73
\noindent
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    74
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
    75
instant messaging, discussion forums, use of mobile phones, etc.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    76
\bigskip
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
}