cws/cw01.tex
changeset 195 fc3ac7b70a06
parent 192 a112e0e2325c
child 196 c50b074b3047
--- a/cws/cw01.tex	Fri Oct 05 11:27:16 2018 +0100
+++ b/cws/cw01.tex	Sat Nov 03 11:07:44 2018 +0000
@@ -1,5 +1,6 @@
 \documentclass{article}
 \usepackage{../style}
+\usepackage{disclaimer}
 %%\usepackage{../langs}
 
 \begin{document}
@@ -7,22 +8,19 @@
 \section*{Coursework 6 (Scala)}
  
 This coursework is about Scala and is worth 10\%. The first and second
-part are due on 16 November at 11pm, and the third part on 23 November
+part are due on 15 November at 11pm, and the third part on 20 December
 at 11pm. You are asked to implement three programs about list
 processing and recursion. The third part is more advanced and might
-include material you have not yet seen in the first lecture.
+include material you have not yet seen in the lecture.
 Make sure the files you submit can be processed by just calling
 \texttt{scala <<filename.scala>>}.\bigskip
 
+\IMPORTANT{}
+
+
 \noindent
-\textbf{Important:} Do not use any mutable data structures in your
-submissions! They are not needed. This means you cannot use 
-\texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
-code! It has a different meaning in Scala, than in Java.
-Do not use \texttt{var}! This declares a mutable variable. Make sure the
-functions you submit are defined on the ``top-level'' of Scala, not
-inside a class or object. Also note that the running time of
-each part will be restricted to a maximum of 360 seconds on my laptop.
+Also note that the running time of each part will be restricted to a
+maximum of 60 seconds on my laptop.
 
 
 \subsection*{Disclaimer}
@@ -30,7 +28,18 @@
 It should be understood that the work you submit represents
 your own effort. You have not copied from anyone else. An
 exception is the Scala code I showed during the lectures or
-uploaded to KEATS, which you can freely use.\bigskip
+uploaded to KEATS, which you can freely use. If you want to
+look up anything from the Scala library, the link to the api
+is
+
+\begin{center}
+\url{http://www.scala-lang.org/api/current/}
+\end{center}  
+
+\noindent
+I usually google for things like \texttt{scala} \texttt{library} \texttt{groupBy}
+and click on the link about the Scala Standard Library for more information.
+\bigskip
 
 
 \subsection*{Part 1 (3 Marks)}
@@ -64,15 +73,15 @@
 this will \emph{always} happen for every number greater than
 0.\footnote{While it is relatively easy to test this conjecture with
   particular numbers, it is an interesting open problem to
-  \emph{prove} that the conjecture is true for \emph{all} numbers ($>
-  0$). Paul Erd\"o{}s, a famous mathematician you might have hard
-  about, said about this conjecture: ``Mathematics may not be ready
-  for such problems.'' and also offered a \$500 cash prize for its
-  solution. Jeffrey Lagarias, another mathematician, claimed that
-  based only on known information about this problem, ``this is an
-  extraordinarily difficult problem, completely out of reach of
-  present day mathematics.'' There is also a
-  \href{https://xkcd.com/710/}{xkcd} cartoon about this conjecture
+  \emph{prove} that the conjecture is true for \emph{all} numbers
+  ($> 0$). Paul Erd\"o{}s, a famous mathematician you might have hard
+  about, is quoted to have said about this conjecture: ``Mathematics
+  is not yet ripe enough for such questions.''  and also offered a
+  \$500 cash prize for its solution. Jeffrey Lagarias, another
+  mathematician, claimed that based only on known information about
+  this problem, ``this is an extraordinarily difficult problem,
+  completely out of reach of present day mathematics.'' There is also
+  a \href{https://xkcd.com/710/}{xkcd} cartoon about this conjecture
   (click \href{https://xkcd.com/710/}{here}). If you are able to solve
   this conjecture, you will definitely get famous.}\bigskip