--- a/cws/cw02.tex Wed Jul 24 15:18:44 2019 +0100
+++ b/cws/cw02.tex Thu Aug 01 09:48:34 2019 +0100
@@ -1,3 +1,4 @@
+% !TEX program = xelatex
\documentclass{article}
\usepackage{../style}
\usepackage{disclaimer}
@@ -13,8 +14,8 @@
\mbox{}\hfill\textit{ --- Frederick P.~Brooks (author of The Mythical Man-Month)}\bigskip
\noindent
-This coursework is worth 10\%. The first and second part are due
-on 22 November at 11pm; the third, more advanced part, is due on 20
+This coursework is worth 10\%. The basic part is due
+on 22 November at 11pm; the main part is due on 20
December at 11pm. You are asked to implement Scala programs for
measuring similarity in texts, and for recommending movies
according to a ratings list. Note the second part might include
@@ -34,8 +35,9 @@
Like the C++ assignments, the Scala assignments will work like this: you
push your files to GitHub and receive (after sometimes a long delay) some
automated feedback. In the end we take a snapshot of the submitted files and
-apply an automated marking script to them.
+apply an automated marking script to them.\medskip
+\noindent
In addition, the Scala assignments come with a reference
implementation in form of a \texttt{jar}-file. This allows you to run
any test cases on your own computer. For example you can call Scala on
@@ -82,7 +84,7 @@
\newpage
-\subsection*{Part 1 (4 Marks, file docdiff.scala)}
+\subsection*{Basic Part (4 Marks, file docdiff.scala)}
It seems source code plagiarism---stealing and submitting someone
else's code---is a serious problem at other
@@ -167,7 +169,7 @@
\end{itemize}\bigskip
-\subsection*{Part 2 (2 Marks, file danube.scala)}
+\subsection*{Main Part (2 Marks, file danube.scala)}
You are creating Danube.co.uk which you hope will be the next big thing
in online movie renting. You know that you can save money by
@@ -229,14 +231,14 @@
ratings below 4 and returns a list of (userID, movieID) pairs. The
\pcode{process_movies} function returns a list of (movieID, title) pairs.\\
\mbox{}\hfill [1 Mark]
-\end{itemize}
-
-
-\subsection*{Part 3 (4 Marks, file danube.scala)}
-
-\subsection*{Tasks}
-
-\begin{itemize}
+%\end{itemize}
+%
+%
+%\subsection*{Part 3 (4 Marks, file danube.scala)}
+%
+%\subsection*{Tasks}
+%
+%\begin{itemize}
\item[(3)] Implement a kind of grouping function that calculates a Map
containing the userIDs and all the corresponding recommendations for
this user (list of movieIDs). This should be implemented in a
@@ -285,7 +287,7 @@
\mbox{}\hfill [1 Mark]
\end{itemize}
-\end{document}
+\end{document}
%%% Local Variables:
%%% mode: latex