6
|
1 |
\documentclass{article}
|
62
|
2 |
\usepackage{../style}
|
78
|
3 |
\usepackage{../langs}
|
6
|
4 |
|
|
5 |
\begin{document}
|
|
6 |
|
100
|
7 |
\section*{Replacement Coursework 1 (Roman Nmerals)}
|
6
|
8 |
|
100
|
9 |
This coursework is worth 10\%. It is about translating roman numerals
|
|
10 |
into integers and also about validating roman numerals. The cursework
|
|
11 |
is due on 1 February at 5pm. Make sure the files you submit can
|
|
12 |
be processed by just calling \texttt{scala
|
|
13 |
<<filename.scala>>}.\bigskip
|
62
|
14 |
|
|
15 |
\noindent
|
|
16 |
\textbf{Important:} Do not use any mutable data structures in your
|
74
|
17 |
submission! They are not needed. This excludes the use of
|
62
|
18 |
\texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
|
68
|
19 |
code! It has a different meaning in Scala, than in Java. Do not use
|
|
20 |
\texttt{var}! This declares a mutable variable. Make sure the
|
62
|
21 |
functions you submit are defined on the ``top-level'' of Scala, not
|
100
|
22 |
inside a class or object. Also note that the running time
|
|
23 |
will be restricted to a maximum of 360 seconds.
|
86
|
24 |
|
6
|
25 |
|
100
|
26 |
\subsection*{Disclaimer}
|
6
|
27 |
|
|
28 |
It should be understood that the work you submit represents
|
68
|
29 |
your own effort! You have not copied from anyone else. An
|
6
|
30 |
exception is the Scala code I showed during the lectures or
|
|
31 |
uploaded to KEATS, which you can freely use.\bigskip
|
|
32 |
|
|
33 |
|
100
|
34 |
\subsection*{Part 1 (Translation)}
|
6
|
35 |
|
100
|
36 |
\subsection*{Part 2 (Validation)}
|
78
|
37 |
|
6
|
38 |
|
|
39 |
\end{document}
|
|
40 |
|
68
|
41 |
|
6
|
42 |
%%% Local Variables:
|
|
43 |
%%% mode: latex
|
|
44 |
%%% TeX-master: t
|
|
45 |
%%% End:
|