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