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