cws/disclaimer.sty
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 23 Sep 2023 23:49:44 +0100
changeset 467 1b879b3e704e
parent 425 6e990ae2c6a3
child 468 c71ae4477e55
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
335
9476aee44eed updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 278
diff changeset
     1
\newcommand{\IMPORTANT}[1]{%
9476aee44eed updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 278
diff changeset
     2
\subsubsection*{Important\alert}
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\begin{itemize}
335
9476aee44eed updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 278
diff changeset
     5
\item #1  
166
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\\
421
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     7
  \mbox{\texttt{scala <<filename.scala>>}} on the command line.\footnote{All
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     8
    major OSes, including Windows, have a command line. So there is no
166
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
278
57b5bba67467 updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    24
  meaning in Scala than in Java. It changes the meaning of your program,
57b5bba67467 updated
Christian Urban <urbanc@in.tum.de>
parents: 257
diff changeset
    25
  and you should never use it.
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
425
6e990ae2c6a3 updated solutions and templates
Christian Urban <christian.urban@kcl.ac.uk>
parents: 424
diff changeset
    27
\item Do not use \textbf{\texttt{var}}! This declares a mutable variable. Only
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  use \texttt{val}!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
\item Do not use any parallel collections! No \texttt{.par} therefore!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  Our testing and marking infrastructure is not set up for it.
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\end{itemize}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
347
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    35
\newcommand{\IMPORTANTNONE}[1]{%
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    36
\subsubsection*{Important\alert}
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    37
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    38
\begin{itemize}
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    39
\item Make sure the files you submit can be processed by just calling\\
421
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
    40
  \mbox{\texttt{scala <<filename.scala>>}} on the command line.\footnote{All
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
    41
    major OSes, including Windows, have a command line. So there is no
347
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    42
    good reason to not download Scala, install it and run it on your
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    43
    own computer. Just do it!} Use the
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    44
  template files provided and do not make any changes to arguments of
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    45
  functions or to any types. You are free to implement any auxiliary
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    46
  function you might need.
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    47
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    48
\item \textbf{Do not leave any test cases running in your code because this might slow
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    49
  down your program!} Comment out test cases before submission, otherwise you
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    50
  might hit a time-out.
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    51
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    52
\item Do not use any mutable data structures in your
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    53
submissions! They are not needed. This means you cannot create new 
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    54
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    55
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    56
\item Do not use \texttt{return} in your code! It has a different
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    57
  meaning in Scala than in Java. It changes the meaning of your program,
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    58
  and you should never use it.
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    59
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    60
\item Do not use \texttt{var}! This declares a mutable variable. Only
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    61
  use \texttt{val}!
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    62
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    63
\item Do not use any parallel collections! No \texttt{.par} therefore!
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    64
  Our testing and marking infrastructure is not set up for it.
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    65
\end{itemize}
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    66
}
0b727d1a8184 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 335
diff changeset
    67
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    68
\newcommand{\IMPORTANTEXAM}{%
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    69
\noindent
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    70
\subsubsection*{Important}
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
\begin{itemize}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    73
\item Make sure the files you submit can be processed by just calling\\
421
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
    74
  \mbox{\texttt{scala <<filename.scala>>}} on the command line. Use the
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    75
  template file provided and do not make any changes to arguments of
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    76
  functions or to any types. You are free to implement any auxiliary
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    77
  function you might need.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    78
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    79
\item Do not use any mutable data structures in your
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    80
submission! They are not needed. This means you cannot create new 
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    81
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    82
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    83
\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
    84
  meaning in Scala than in Java.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    85
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    86
\item Do not use \texttt{var}! This declares a mutable variable. Only
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    87
  use \texttt{val}!
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    88
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    89
\item Do not use any parallel collections! No \texttt{.par} therefore!
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    90
\end{itemize}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    91
}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    92
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
\newcommand{\DISCLAIMER}{%
335
9476aee44eed updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 278
diff changeset
    95
\subsubsection*{Disclaimer\alert}
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
It should be understood that the work you submit represents
423
554278cd4b70 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 421
diff changeset
    98
your \textbf{own} effort! You have implemented the code entirely
425
6e990ae2c6a3 updated solutions and templates
Christian Urban <christian.urban@kcl.ac.uk>
parents: 424
diff changeset
    99
on your own. You have not copied from anyone else.
467
1b879b3e704e updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 425
diff changeset
   100
Do not be tempted to ask Copilot for help or
425
6e990ae2c6a3 updated solutions and templates
Christian Urban <christian.urban@kcl.ac.uk>
parents: 424
diff changeset
   101
do any other shenanigans like this! An exception is the Scala
6e990ae2c6a3 updated solutions and templates
Christian Urban <christian.urban@kcl.ac.uk>
parents: 424
diff changeset
   102
code I showed during the lectures or uploaded to KEATS,
6e990ae2c6a3 updated solutions and templates
Christian Urban <christian.urban@kcl.ac.uk>
parents: 424
diff changeset
   103
which you can freely use.\bigskip
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   104
}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   105
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   106
\newcommand{\DISCLAIMEREXAM}{%
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   107
\subsubsection*{Disclaimer}
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   108
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   109
It should be understood that the work you submit represents
423
554278cd4b70 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 421
diff changeset
   110
your \textbf{own} effort! You have implemented the code entirely
554278cd4b70 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 421
diff changeset
   111
on your own. You have not copied from anyone else or any other
554278cd4b70 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 421
diff changeset
   112
source. An
174
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   113
exception is the Scala code I showed during the lectures or
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   114
uploaded to KEATS, which you can freely use.\medskip
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   115
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   116
\noindent
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   117
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
   118
instant messaging, discussion forums, use of mobile phones, etc.
dd7acea3f9ec updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
   119
\bigskip
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
}