# HG changeset patch # User Christian Urban # Date 1485262660 0 # Node ID 93260be6770f579aa9fb437eff246e8354c2eea6 # Parent e10a9b2fd35a0ab90f53f91edce1d59eca7d9745 updated diff -r e10a9b2fd35a -r 93260be6770f cws/cw03.pdf Binary file cws/cw03.pdf has changed diff -r e10a9b2fd35a -r 93260be6770f cws/cw03.tex --- a/cws/cw03.tex Sat Jan 21 00:43:35 2017 +0000 +++ b/cws/cw03.tex Tue Jan 24 12:57:40 2017 +0000 @@ -4,7 +4,7 @@ \begin{document} -\section*{Coursework 8 (Scala, Regular Expressions} +\section*{Coursework 8 (Scala, Regular Expressions)} This coursework is worth 10\%. It is about regular expressions, pattern matching and polymorphism. The first part is due on 30 diff -r e10a9b2fd35a -r 93260be6770f cws/cw04.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cws/cw04.tex Tue Jan 24 12:57:40 2017 +0000 @@ -0,0 +1,45 @@ +\documentclass{article} +\usepackage{../style} +\usepackage{../langs} + +\begin{document} + +\section*{Replacement Coursework 1 (Roman Nmerals)} + +This coursework is worth 10\%. It is about translating roman numerals +into integers and also about validating roman numerals. The cursework +is due on 1 February at 5pm. Make sure the files you submit can +be processed by just calling \texttt{scala + <>}.\bigskip + +\noindent +\textbf{Important:} Do not use any mutable data structures in your +submission! They are not needed. This excludes the use of +\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 +will be restricted to a maximum of 360 seconds. + + +\subsection*{Disclaimer} + +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 + + +\subsection*{Part 1 (Translation)} + +\subsection*{Part 2 (Validation)} + + +\end{document} + + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: